Automatic selection for DF GLS test

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

kiber_master
Posts: 94
Joined: Fri Sep 23, 2011 3:56 am

Automatic selection for DF GLS test

Postby kiber_master » Tue Oct 09, 2012 3:42 am

Hello

There is an option of automatic selection of lag length in Dickey-Fuller GLS test (depending on info criterion chosen). It seems that there is an inconsistency in results obtained.
Please find attached a workfile with a series of 26 elements (some of them are missing values). If I perform DFGLS test with automatic selection of lag length (with Akaike Info Criterion and max lags = 4) on this series I get the optimal lag equal to 3 with AIC =0.636060.
However, the value of AIC equals to 0.619124 for lag length=1, which is less than AIC for lag length=3 and is in fact the smallest value of AIC for lags = 0,1,2,3,4. This means that the automatic selection should have given us the optimal lag = 1, not 3.

Is this really a mistake in EViews calculations or maybe you use a different version of AIC for choosing an optimal lag length?
Attachments
tests.wf1
(16.53 KiB) Downloaded 334 times

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Automatic selection for DF GLS test

Postby EViews Glenn » Tue Oct 09, 2012 10:49 am

Before I look at the attachment, a question: were you comparing the information criteria using the same samples?

kiber_master
Posts: 94
Joined: Fri Sep 23, 2011 3:56 am

Re: Automatic selection for DF GLS test

Postby kiber_master » Tue Oct 09, 2012 11:45 pm

I didn't change the sample at all. 1-26.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Automatic selection for DF GLS test

Postby EViews Gareth » Wed Oct 10, 2012 7:43 am

Which means you were using different samples, since each time you change the lag length, a different number of observations is chopped off from the start of the sample.

kiber_master
Posts: 94
Joined: Fri Sep 23, 2011 3:56 am

Re: Automatic selection for DF GLS test

Postby kiber_master » Wed Oct 10, 2012 9:36 pm

So, for correct comparison I should estimate test on sample 6-26 for all lags, am I right?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Automatic selection for DF GLS test

Postby EViews Gareth » Thu Oct 11, 2012 8:02 am

Yes.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests