- Introduced by
- Said & Dickey (1984); building on Dickey & Fuller (1979)
- Year
- 1979–1984
- Type
- Hypothesis test (unit root)
- Family
- Econometrics / time series
What does it do?
The Augmented Dickey-Fuller test is a widely used procedure for checking whether a univariate time series contains a unit root, that is, whether the series is non-stationary.
It extends the Dickey-Fuller regression by adding lagged difference terms, which absorb serial correlation in the residuals. This allows the test to be applied to series whose dynamics are more complex than a simple first-order autoregression.
The intuition behind the method
A series with a unit root behaves like a random walk: shocks do not decay, the series has no fixed mean, and its variance grows over time. Regressions involving such series can produce spurious relationships. The ADF test regresses the first difference of the series on its lagged level and lagged differences, and asks whether the coefficient on the lagged level is significantly negative. A significantly negative estimate points to mean reversion and leads to rejection of the unit-root null. This is evidence for stationarity under the test's assumptions, not proof of it.
History
Dickey and Fuller (1979) studied the distribution of the estimators for an autoregressive series with a unit root and showed that the t-statistic for the unit root does not follow the standard t-distribution. Said and Dickey (1984) developed a test for unit roots in autoregressive-moving average models of unknown order by approximating such models with an autoregression, and tabulated the limit distribution of the resulting statistic. The augmented regression form is now the standard implementation in applied time-series work.
When to use it
Use the ADF test as a common pre-step before fitting ARIMA, VECM or cointegration models, and whenever a regression involves time-series variables that might share stochastic trends. It is designed for a single continuous time series of moderate to long length, and it is preferable to the original Dickey-Fuller test whenever serial correlation in the differenced series is plausible. Do not rely on it alone: the Phillips-Perron test (which uses a non-parametric correction instead of lag augmentation) and the KPSS test (which reverses the null to stationarity) are useful complements. Avoid relying on ADF alone when the series may contain a structural break, since power can fall sharply near the break; the Zivot-Andrews test is designed for that case.
Limitations and considerations
- Low power in small samples and in near-unit-root situations, which leads to frequent failure to reject a false null.
- Size distortions arise if too few lags are selected, which can inflate the probability of falsely concluding stationarity.
- Cannot detect stationarity around a structural break; a genuine break depresses power severely.
- Results are sensitive to the deterministic components: including a trend when there is none, or omitting one that is present, leads to incorrect inference.
- Assumes a single autoregressive unit root; it is not designed for seasonal unit roots or fractional integration.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Lag augmentation corrects for serial correlation in the regression residuals, so the test can be applied to autoregressive-moving average type processes whose order is not known in advance.
- Three deterministic specifications (none, constant, constant plus trend) allow the test to match the observed behaviour of the series.
- Critical values for the Dickey-Fuller distribution are tabulated, so the test can be carried out without simulating a null distribution.
- Rejection of the unit-root null supports treating the series as stationary in subsequent modelling, provided the test's assumptions hold.
- Once the lag length is chosen, the test statistic comes from a single OLS regression, which keeps the computation straightforward even for long series; selecting the lag length requires fitting several candidate regressions.
Applications
- Pre-testing macroeconomic series such as GDP, exchange rates, interest rates and price indices for their order of integration before fitting VAR or VECM models.
- Determining whether first differencing is needed before macroeconomic forecasting or regression models are estimated.
- Establishing the integration order required before Engle-Granger or Johansen cointegration analysis.
- Checking whether asset price series are I(1) in financial econometrics, for example before constructing pairs-trading strategies.
- Testing long-run relationships such as purchasing power parity by checking whether real exchange rates are stationary.
How it works
How it works
The null hypothesis is that the coefficient on the lagged level equals zero, implying a unit root (non-stationarity). The one-sided alternative is that the coefficient is strictly negative, implying the series is stationary (mean-reverting).
Formula
H_0: \delta = 0 \text{ (unit root)}\quad H_1: \delta < 0 \text{ (stationary)}An OLS regression is run in which the first difference of the series is explained by a constant, an optional deterministic trend, the lagged level of the series, and p lagged differences. The lag augmentation terms absorb residual autocorrelation so that the asymptotic Dickey-Fuller distribution applies.
Formula
\Delta y_t = \alpha + \beta t + \delta y_{t-1} + \sum_{j=1}^{p} \phi_j \Delta y_{t-j} + \varepsilon_tThe number of augmenting lags p is chosen before the statistic is computed. Common rules compare an information criterion, such as the Akaike Information Criterion (AIC) or the Schwarz Bayesian Criterion (SBC/BIC), across candidate lag lengths. The search range is bounded by a sample-size rule: the bootUR implementation of the test, for example, uses a default maximum lag of 12(T/100)^(1/4), where T is the number of observations, and selects the lag by a modified AIC over the range from 0 to this maximum. Too few lags leave autocorrelation in the residuals and distort size; too many lags reduce power. Whichever rule is used, check the residuals of the ADF regression for remaining autocorrelation, for example with a Ljung-Box test, before interpreting the statistic.
Formula
\hat{p} = \arg\min_{0 \le p \le p_{\max}} \mathrm{IC}(p), \qquad p_{\max} = 12\left(\frac{T}{100}\right)^{1/4}The ADF statistic is the t-ratio on the coefficient of the lagged level. Because the series may be non-stationary under the null, this statistic does not follow a standard t-distribution; it follows the non-standard Dickey-Fuller distribution, which places more mass in the negative tail than the Student t distribution at conventional significance levels.
Formula
\tau = \hat{\delta} / \mathrm{SE}(\hat{\delta})Rejection of the null requires the ADF statistic to be more negative than the Dickey-Fuller critical value for the chosen specification. There are three specifications: none (no deterministic terms), intercept (a constant only, also called drift) and trend (a constant plus a linear trend). In the regression above, these correspond to setting α and β to zero, keeping α only, or keeping both. Each specification has its own limit distribution, tabulated as percentiles, so the critical value must be read from the table that matches the specification actually fitted. The specification should be chosen from the visual properties of the series and the question being asked, not from which choice gives a rejection.
Formula
H_0 \text{ is rejected if } \hat{\tau} < \tau_{\alpha}(\text{spec}), \qquad \text{spec} \in \{\text{none},\ \text{intercept},\ \text{trend}\}Common pitfalls
- Selecting lag length by minimising AIC without checking residual autocorrelation; always test the ADF residuals for remaining serial correlation before interpreting the statistic.
- Running the ADF test with the wrong deterministic specification; plot the series first and match the model (none, constant or trend) to what is observed.
- Treating a borderline non-rejection as definitive proof of a unit root without consulting a complementary test such as Phillips-Perron or KPSS.
- Applying ADF to series with known policy changes or crises without first testing for structural breaks; the Zivot-Andrews test is the appropriate alternative in those contexts.
- Differencing the series on the basis of ADF alone and then applying ARIMA without re-checking the stationarity of the differenced series.
Frequently asked questions
What does it mean if the ADF test fails to reject the null?
Failure to reject means the evidence is insufficient to conclude that the series is stationary. A unit root is therefore plausible, and differencing the series (or taking logarithmic differences) may be appropriate before modelling. Because power can be low, corroborate the result with the Phillips-Perron test and inspect the series visually.
How many lags should I include in the ADF regression?
There is no single correct number. A common practice is to compare information criteria such as AIC or BIC over a reasonable range of lags, bounded by a maximum that depends on the sample size. Whatever is chosen, check that no significant autocorrelation remains in the ADF residuals.
What is the difference between ADF and Phillips-Perron?
Both test the same null of a unit root. ADF adds lagged differences to the regression to handle serial correlation parametrically. Phillips-Perron keeps the regression simpler and instead applies a non-parametric correction to the test statistic. The two can give different answers in the same sample, so reporting both and comparing them is a useful check.
Can I use ADF for panel data?
The standard ADF test is designed for a single time series. For panel data, use panel unit root tests, which pool information across cross-sectional units; the single-series test does not exploit that information.
What integration order should I assume if ADF rejects on the first difference but not on the level?
If the ADF test rejects the unit root for the first difference (so the differenced series is stationary) but fails to reject it for the level, the series is integrated of order one, I(1). An I(1) series requires first differencing before standard regression analysis, or it can enter a cointegration framework with other I(1) variables.
Related methods
Sources
Said, S. E., & Dickey, D. A. (1984). Testing for unit roots in autoregressive-moving average models of unknown order. Biometrika, 71(3), 599–607.
Open DOI referenceDickey, D. A., & Fuller, W. A. (1979). Distribution of the estimators for autoregressive time series with a unit root. Journal of the American Statistical Association, 74(366), 427–431.
Open DOI referencebootUR, p. 3
Matlab Econometrics Toolbox documentation, p. 21-2