Supriya Ghosh (Editor)

Augmented Dickey–Fuller test

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In statistics and econometrics, an augmented Dickey–Fuller test (ADF) tests the null hypothesis of a unit root is present in a time series sample. The alternative hypothesis is different depending on which version of the test is used, but is usually stationarity or trend-stationarity. It is an augmented version of the Dickey–Fuller test for a larger and more complicated set of time series models.

Contents

The augmented Dickey–Fuller (ADF) statistic, used in the test, is a negative number. The more negative it is, the stronger the rejection of the hypothesis that there is a unit root at some level of confidence.

Testing procedure

The testing procedure for the ADF test is the same as for the Dickey–Fuller test but it is applied to the model

Δ y t = α + β t + γ y t 1 + δ 1 Δ y t 1 + + δ p 1 Δ y t p + 1 + ε t ,

where α is a constant, β the coefficient on a time trend and p the lag order of the autoregressive process. Imposing the constraints α = 0 and β = 0 corresponds to modelling a random walk and using the constraint β = 0 corresponds to modeling a random walk with a drift. Consequently, there are three main versions of the test, analogous to the ones discussed on Dickey–Fuller test (see that page for a discussion on dealing with uncertainty about including the intercept and deterministic time trend terms in the test equation.)

By including lags of the order p the ADF formulation allows for higher-order autoregressive processes. This means that the lag length p has to be determined when applying the test. One possible approach is to test down from high orders and examine the t-values on coefficients. An alternative approach is to examine information criteria such as the Akaike information criterion, Bayesian information criterion or the Hannan–Quinn information criterion.

The unit root test is then carried out under the null hypothesis γ = 0 against the alternative hypothesis of γ < 0. Once a value for the test statistic

D F τ = γ ^ S E ( γ ^ )

is computed it can be compared to the relevant critical value for the Dickey–Fuller Test. If the test statistic is less (this test is non symmetrical so we do not consider an absolute value) than the (larger negative) critical value, then the null hypothesis of γ = 0 is rejected and no unit root is present.

Intuition

The intuition behind the test is that if the series is integrated then the lagged level of the series ( y t 1 ) will provide no relevant information in predicting the change in y t besides the one obtained in the lagged changes ( Δ y t k ). In this case the γ = 0 and null hypothesis is not rejected.

Examples

A model that includes a constant and a time trend is estimated using sample of 50 observations and yields the D F τ statistic of −4.57. This is more negative than the tabulated critical value of −3.50, so at the 95 per cent level the null hypothesis of a unit root will be rejected.

Alternatives

There are alternative unit root tests such as the Phillips–Perron test (PP) or the ADF-GLS test procedure (ERS) developed by Elliott, Rothenberg and Stock (1996).

Implementations in statistics packages

  • In R, the forecast package includes a nsdiffs function (which handles multiple popular unit root tests), the tseries package includes an adf.test function and the fUnitRoots package includes an adfTest function.
  • Gretl includes the Augmented Dickey–Fuller test.
  • In Matlab, the adftest function is part of the Econometrics Toolbox, and a free version is available as part of the 'Spatial Econometrics' toolbox
  • In SAS, PROC ARIMA can perform ADF tests.
  • In Stata, the dfuller command is used for ADF tests.
  • In Eviews, the Augmented Dickey-Fuller is available under "Unit Root Test."
  • In Python, the adfuller function is available in the Statsmodels package.
  • In Java, the AugmentedDickeyFuller class is included in SuanShu available under the com.numericalmethod.suanshu.stats.test.timeseries.adf package.
  • References

    Augmented Dickey–Fuller test Wikipedia