URADF vs. ADFAUTOSELECT

Questions and discussions on Time Series Analysis

URADF vs. ADFAUTOSELECT

Postby raphael » Sun Sep 06, 2009 8:44 am

Hi, I was wondering when and why one should use one of these procedures instead of the other.
Thanks a lot,
Raphael
raphael
 
Posts: 15
Joined: Sat Mar 14, 2009 11:27 am

Re: URADF vs. ADFAUTOSELECT

Postby raphael » Sun Sep 06, 2009 9:58 am

OK so it seems ADFAUTOSELECT is the more recent one. My next question then is on the choice of information criterion. I guess it depends on the type the variable we are looking at. With the variables I am using, the different criteria yield very different lag lengths, eg. 2 (BIC) vs 12 (AIC). Any book / reference paper on this ?
raphael
 
Posts: 15
Joined: Sat Mar 14, 2009 11:27 am

Re: URADF vs. ADFAUTOSELECT

Postby TomDoan » Tue Sep 08, 2009 10:11 am

@ADFAUTOSELECT is the procedure that we wrote and maintain. @URADF is older and isn't being maintained. BTW, our @DFUNIT is more similar in design to @URADF than is @ADFAUTOSELECT.

If you're interested in a relatively small number of tests (that is, you're just doing a series or two), the main question is whether it matters. Do you reach the same conclusion regardless of method used for selecting lags? When you can do it, a lag sensitivity table may be even a better choice than any automatic procedure. If the conclusion depends upon the number of lags (once you've added enough to roughly whiten the residuals), then the evidence isn't particularly clear.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: URADF vs. ADFAUTOSELECT

Postby raphael » Mon Sep 14, 2009 10:05 am

Unfortunately I have a long list of variables. Can the lag lengths selected by ADFAUTOSELECT be used in other tests, notably KPSS or PP ?
raphael
 
Posts: 15
Joined: Sat Mar 14, 2009 11:27 am

Re: URADF vs. ADFAUTOSELECT

Postby TomDoan » Mon Sep 14, 2009 10:41 am

No. In the KPSS and PP tests, the lags are widths of Bartlett windows. In effect, they are lags in a moving average, not in an autoregression like ADF.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: URADF vs. ADFAUTOSELECT

Postby raphael » Mon Sep 14, 2009 11:11 am

Thanks. By the way, I was reading ADFAUTOSELECT, and I am probably wrong but there seems to be a mistake in the IC formulas. For example, the code is:

compute aic = log(sigsq)+2.0*%nreg/%nobs

but shouldn't it be

compute aic = %nobs*log(sigsq) etc.

cheers
raphael
 
Posts: 15
Joined: Sat Mar 14, 2009 11:27 am

Re: URADF vs. ADFAUTOSELECT

Postby TomDoan » Mon Sep 14, 2009 11:41 am

The first formula is the second divided through by %NOBS. Since %NOBS should be the same when comparing two models, the two formulas will give the same rankings. The formula with /T has the (minor) advantage that the values it produces tend to be easier to read, being within a order of magnitude or so of 1.0.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: URADF vs. ADFAUTOSELECT

Postby raphael » Tue Sep 15, 2009 1:53 pm

Cheers. About that sensitivity table, do you mean testing the residuals for serial correlation ? I have 11 variable so this sounds fastidious (I can't even imagine how I could present this in my paper). Isn't there a procedure for KPSS/PP lag length selection ?
raphael
 
Posts: 15
Joined: Sat Mar 14, 2009 11:27 am

Re: URADF vs. ADFAUTOSELECT

Postby TomDoan » Tue Sep 15, 2009 7:36 pm

Again, it only matters if you get qualitatively different results from two lag lengths that pass some form of "whiteness" test (for the ADF). There are some formulas for picking "optimal" bandwidths for Bartlett windows. See Andrews(1991), "Heteroskedasticity and Autocorrelation Consistent Covariance Matrix Estimation," Econometrica, vol. 59(3), 817-58. They're not quite as obvious as the AIC and BIC, since they aren't based upon a regression likelihood function.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: URADF vs. ADFAUTOSELECT

Postby raphael » Wed Sep 16, 2009 1:35 pm

OK, thanks, it looks much too complicated for me. I have one last question on the subject, which concerns DFUNIT.SRC: what is the difference between the options [INTERCEPT]/NOINTERCEPT and TREND/[NOTREND] on one side, vs. DET=NONE/[CONSTANT]/TREND on the other side ?
raphael
 
Posts: 15
Joined: Sat Mar 14, 2009 11:27 am

Re: URADF vs. ADFAUTOSELECT

Postby TomDoan » Wed Sep 16, 2009 6:01 pm

None. The INTERCEPT and TREND options date back to the original DFUNIT procedure. The DET option was added more recently to make it more similar to other similar procedures.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: URADF vs. ADFAUTOSELECT

Postby T_FIELD » Sat Jul 21, 2012 11:11 am

Dear Dr. Tom Doan,

Could you help me?
I obtained different t-stats between ADFautoselect.src and uradf.src with same option.

Case 1
@ADFAutoSelect(PRINT,DET=TREND,CRIT=AIC) XXX
@uradf(DET=TREND,CRIT=AIC) XXX

Case 2
@ADFAutoSelect(PRINT,CRIT=AIC) XXX
@uradf(CRIT=AIC) XXX

Why?

Yours Sincerely,

T_FIELD
T_FIELD
 
Posts: 21
Joined: Sat May 15, 2010 8:03 pm

Re: URADF vs. ADFAUTOSELECT

Postby TomDoan » Sat Jul 21, 2012 12:54 pm

The two procedures use different defaults for the maximum number of lags. Aren't they showing different numbers of lags?

@ADFAUTOSELECT is the procedure that we wrote and maintain. @URADF is older and isn't being maintained.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: URADF vs. ADFAUTOSELECT

Postby T_FIELD » Sat Jul 21, 2012 5:46 pm

Thank you for your prompt reply.

Under ADFautoselect.src, I think we can have the results using various lags.
But none of the value of "adf" in the table (the last column), is equal to the
t-value obtained by uradf.src,as follows.

Do I guess wrong about how to see the table?

*****************************************************************************************
*********************************ADFautoselect.src**********************************
*****************************************************************************************
Information Criteria for ADF Lag Lengths, Series EPR
Lags AIC BIC HQ MAIC ADF
0 -10.137* -10.037* -10.120* -9.980 -1.766
1 -10.037 -9.888 -10.012 -9.929 -1.482
2 -10.001 -9.802 -9.968 -10.102* -0.717
3 -9.917 -9.668 -9.875 -9.898 -0.875
4 -9.817 -9.519 -9.767 -9.889 -0.543
5 -9.723 -9.375 -9.664 -9.870 -0.316
6 -10.055 -9.657 -9.987 -9.845 -0.769
7 -9.953 -9.506 -9.878 -9.721 -0.750
8 -9.893 -9.396 -9.809 -10.014 -0.270

*****************************************************************************************
**************************************uradf.src****************************************
*****************************************************************************************
****************************************************************
* TESTING THE NULL HYPOTHESIS OF A UNIT ROOT IN EPR *
* Using data from 1981:01 to 2008:01 *
* Choosing the optimal lag length for the ADF regression *
* between 0 and 7 lags. *
* using the AIC model selection criterion. *
****************************************************************

Model Selection Criteria
Minimum AIC at lag: 1
Minimum BIC at lag: 0

****************************************************************
* Augmented Dickey-Fuller t-test with 1 lags: -2.3222 *
* 1% 5% 10% *
* -3.58 -2.93 -2.60 *
* *
* Augmented Dickey-Fuller Z-test with 1 lags: -7.5468 *
* 1% 5% 10% *
* -18.9 -13.3 -10.7 *
* *
* Coefficient and T-Statistic on the Constant: *
* 0.00662 2.0072 *
* *
* Joint test of a unit root and no constant: 2.8410 *
* 1% 5% 10% *
* 7.06 4.86 3.94 *
****************************************************************

Thanking in advance.

T_FIELD
T_FIELD
 
Posts: 21
Joined: Sat May 15, 2010 8:03 pm

Re: URADF vs. ADFAUTOSELECT

Postby moderator » Sun Jul 22, 2012 9:44 am

See the updated description of @ADFAUTOSELECT at http://www.estima.com/forum/viewtopic.php?f=7&t=177. It should answer your question. BTW, if that's annual data, your maximum lags are way too high. 3 or 4 is the most you should even consider.
moderator
Site Admin
 
Posts: 306
Joined: Thu Oct 19, 2006 4:33 pm

Next

Return to Other Time Series Analysis

Who is online

Users browsing this forum: Bing [Bot] and 0 guests