loop with dates / panel
Posted: Thu Sep 03, 2020 11:48 am
Hello
I have a panel dataset and I want to run a loop to sequentially increase the time dimension of the sample like:
for !i = 1 to 12
smpl @first 2012M12+!i
...estimate equation
next
I am bit confused but it looks like this does not increase the time dimension of the sample. Is that right? And is there an efficient way to address this?
Thanks
George
I have a panel dataset and I want to run a loop to sequentially increase the time dimension of the sample like:
for !i = 1 to 12
smpl @first 2012M12+!i
...estimate equation
next
I am bit confused but it looks like this does not increase the time dimension of the sample. Is that right? And is there an efficient way to address this?
Thanks
George