Loop for samples
Posted: Wed Mar 19, 2014 9:59 pm
Hello everyone,
I am trying to make a loop for different samples using the code I wrote below:
for %samle = s1 s2 s3 s4 all
smpl %sample
freeze(tab1_{%sample}) gr_d1_core.stats
tab1_{%sample}(4,1) = "Statistics/Variable"
next
However, Eviews told me that there were an error. Does anyone know how to fix this? Thank you very much.
I am trying to make a loop for different samples using the code I wrote below:
for %samle = s1 s2 s3 s4 all
smpl %sample
freeze(tab1_{%sample}) gr_d1_core.stats
tab1_{%sample}(4,1) = "Statistics/Variable"
next
However, Eviews told me that there were an error. Does anyone know how to fix this? Thank you very much.