Generate an index variable
Posted: Mon Oct 24, 2011 3:06 am
Hi all,
I have a column of 53 observations (time series, yearly data). I want to generate a time index: 1 for the first observation, 2 for the second,.... and 53 for the last one. Any suggestion how I generate that kind of variable?
P.
I have a column of 53 observations (time series, yearly data). I want to generate a time index: 1 for the first observation, 2 for the second,.... and 53 for the last one. Any suggestion how I generate that kind of variable?
P.