I have estimated numbers of equaiton and try to find which one has lowest aic by following code
note: my equations are named as eq_0, eq_1.....eq_12
Code: Select all
for !k=0 to 11
for !lag=0 to 11
!mininfocrit=999999
if eq_!k.@aic<!mininfocrit then
!bestlag=!k
!mininfocrit=eq_!k.@aic
endif
next
next
show eq_{!bestlag} but this procedure does not show me the right equaiton. I can find minimum aic correctly, as I write down show !mininfocrit it gives the right value.
For any help, thanks in advance.
