Re: ERRORHELP
Posted: Thu Dec 20, 2018 7:06 pm
THANKYOU..I have no words to keep saying thankyou
Code: Select all
group g *
g.drop resid
g.drop DaTE 'put every series in the workfile into a group
table (504,504) ADF
for !i=1 to g.@count 'loop through every series in the first group
%name = g.@seriesname(!i) 'grab the current series name
uroot(adf, none, dif=0,save=level1) {%name}
ADF(1,1+!i)=%name
ADF(2, 1+!i)= level1(3,1)'
uroot(adf, const, dif=0,save=level2) {%name}
ADF(5, 1+!i)= level2(3,1)'
uroot(adf, trend, dif=0,save=level3) {%name}
ADF(7, 1+!i)= level3(3,1)
next