ADF test
Posted: Mon May 09, 2011 11:17 am
Dear Gareth,
Would you look through my code, please? There is some thing wrong. The error message is
Thank you in advance.
Would you look through my code, please? There is some thing wrong. The error message is
.For statement unterminated in "FOR !I=0 TO 5"
Code: Select all
group g1 fdi gov_sa nfa_sa open_sa rird_sa tot
table ADF
g1.uroot(adf, none, dif=0, save=level11)
g1.uroot(adf, const, dif=0, save=level12)
g1.uroot(adf, trend, dif=0, save=level13)
g1.uroot(adf, none, dif=1, save=level14)
g1.uroot(adf, const, dif=1, save=level15)
g1.uroot(adf, trend, dif=1, save=level16)
for !i=0 to 5
for !j=3 to 8
if !j-!i=3 then
ADF(1 + !i, 1) = level12(1 + !j, 1)
endif
next
next