I can type "ls y AR(1) AR(2)... AR(x)"
but in programming can I do something like "ls y AR(1:x)"?
This specific notation does not work.
I hope it is clear what I want to do. I now have:
Code: Select all
vector(20) hs
equation eq
for !i=1 to 20
eq.ls y AR(!i)
hs(!i) = eq.@aic
next
How to edit this so that I obtain the @aic values for regressions on
AR(1),
AR(1) AR(2)
,...,
AR(1),...,AR(20)?