Loop with creating series
Posted: Wed Mar 09, 2011 11:40 pm
Hello,
is it possible to create many different series using a loop?
I tried using a loop to create seasonal dummies, but i am having trouble. It only creates one, and it turns out wrong.
If, for example, you have daily data, and you want weekday, why doesnt this work?
for !i = 1 to 7
genr series(!i) = @weekday=!i
next
is it possible to create many different series using a loop?
I tried using a loop to create seasonal dummies, but i am having trouble. It only creates one, and it turns out wrong.
If, for example, you have daily data, and you want weekday, why doesnt this work?
for !i = 1 to 7
genr series(!i) = @weekday=!i
next