I have a time series dataset and want to access a variable as a subscripted array. Then I could do something like;
loop for i=1 .. 5
print v1[i]
endloop
but that doesn't work. I tried:
genr matrix X = v1
which gives me a Tx1 matrix equal to v1. I then tried:
print X[1,1]
but X is not the name of a variable or something. It didn't work. Can a series be treated like a subscripted array?
Thanks,
bob