DF-GLS Test: GLS-Detrended Dickey-Fuller Unit-Root Test

Econometrics
Introduced by
Elliott, Rothenberg & Stock
Year
1996
Type
One-sided t-test on GLS-detrended series
Family
Unit-root tests

What does it do?

The DF-GLS test, introduced by Elliott, Rothenberg, and Stock (1996), is an augmented Dickey-Fuller unit-root test applied to a series that has first been detrended by generalized least squares (GLS).

The detrending uses a local-to-unity quasi-differencing, so the deterministic components are removed under an alternative close to the unit root rather than under the null. The authors show that a family of tests they propose achieves the Gaussian power envelope for unit-root tests, and that the GLS-detrended t-statistic is approximately uniformly most powerful for a constant term and approximately uniformly most powerful invariant for a linear trend. This is one reason it is often used in place of the standard ADF test when a constant or linear trend is included.

The intuition behind the method

The ADF test estimates the deterministic terms (intercept or trend) by OLS on the levels of the series. Elliott, Rothenberg, and Stock derive a GLS-based detrending from the power envelope and show that it yields a more powerful version of the same t-type test. DF-GLS first quasi-differences the series and its deterministic regressors using ᾱ = 1 + c̄/T, with fixed constants c̄ = −7 (intercept) or −13.5 (trend) chosen so that the test approaches the power envelope. It then estimates the deterministic component by GLS, removes it, and runs an ADF t-test on the detrended series. The GLS step is a pre-filter: it changes the data the ADF regression sees, while the form of the final test remains the same.

History

Elliott, Rothenberg, and Stock (1996) derived the asymptotic Gaussian power envelope for unit-root tests under several trend specifications and proposed a family of tests that achieves it. A modification of the Dickey-Fuller t-statistic based on GLS detrending is, according to the authors' numerical results, approximately uniformly most powerful in the constant case and approximately uniformly most powerful invariant in the trend case. The paper, published in Econometrica, also compared the power of the proposed tests with the Dickey-Fuller t-test and examined their finite-sample behaviour with dependent errors.

When to use it

Use DF-GLS when the series is expected to contain a constant or a linear trend and you want a more powerful unit-root test than the ADF test, particularly in samples where the ADF test has little power against persistent stationary alternatives. It tests the unit-root null against stationary alternatives, so it is suited to deciding whether a series is I(1) before differencing or modelling in levels. Avoid relying on it alone when a structural break in the deterministic component is plausible, since the test assumes that component is stable over the sample; a complementary test such as KPSS, which reverses the null, can cross-check the conclusion. Choose the deterministic specification (constant or constant plus trend) from the nature of the series, not from the test outcome. The power results were derived for stationary Gaussian autoregressive disturbances, and the authors also report good finite-sample behaviour with dependent errors in their Monte Carlo experiments.

Limitations and considerations

  • Critical values depend on whether a constant or a constant-plus-trend is included; misspecifying the deterministic terms changes both the local alternative and the inference.
  • Power against near-unit-root alternatives remains limited in finite samples, so non-rejection of the unit-root null does not establish that the series is I(1).
  • The test assumes the deterministic component is stable over the sample; a structural break can reduce its power.
  • As a one-sided test of a unit root against stationary alternatives, it does not directly test for explosive roots (α > 0).

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Higher power than the standard Dickey-Fuller t-test: in the demeaned case, the authors report a Pitman efficiency of 1.9 relative to that test at 50% power.
  • In a textbook illustration (stationary AR(1) with coefficient 0.95, T = 200, no time trend, 5% significance level), the ADF test correctly rejects the unit-root null about 31% of the time, compared with about 75% for DF-GLS.
  • According to the authors' numerical results, the GLS-detrended statistic is approximately uniformly most powerful for a constant term and approximately uniformly most powerful invariant for a linear trend, although no UMP or UMPI test strictly exists.
  • The abstract states that the proposed family is asymptotically similar under a general I(1) null that allows nonnormal and generally dependent disturbances.
  • The lag length of the ADF step can be chosen automatically by an information criterion, which reduces discretionary lag choice.
  • Implemented in several major econometric packages, including those listed under In practice.

Applications

  • Testing for purchasing power parity (PPP) by checking whether real exchange rates are mean-reverting.
  • Pre-testing interest rate or inflation series before fitting VAR or VECM models, to avoid spurious regression.
  • Determining the order of integration of GDP, consumption, or investment series in business-cycle research.
  • Assessing the stationarity of commodity price spreads in agricultural and energy economics.

How it works

How it works

1

The series and its deterministic regressors are quasi-differenced using the scalar parameter ᾱ = 1 + c̄/T, where c̄ equals −7 for the intercept model and −13.5 for the linear-trend model, and T is the sample size. This local-to-unity transformation makes the detrending depend on a fixed local alternative near the unit root rather than on the null.

Formula
\text{Quasi-difference the series: } y_t^d = y_t - \bar{\alpha} y_{t-1},\; x_t^d = x_t - \bar{\alpha} x_{t-1},\; \bar{\alpha} = 1 + \bar{c}/T,\; \bar{c} = -7 \text{ (constant)} \text{ or } -13.5 \text{ (trend)}
2

The quasi-differenced regressors are fitted to the quasi-differenced series by OLS. The resulting GLS coefficient estimates are used to remove the deterministic component from the original series, producing a detrended (or demeaned) series that keeps the stochastic variation.

Formula
\text{Regress } y_t^d \text{ on } x_t^d \text{ by OLS to obtain GLS estimates } \hat{\delta},\; \text{then form detrended series } \tilde{y}_t = y_t - x_t'\hat{\delta}
3

An augmented Dickey-Fuller regression is run on the GLS-detrended series. The lag length k is commonly chosen by an information criterion such as the AIC or BIC, or by expert knowledge. The original paper does not prescribe a specific lag-selection rule, so the rule used should be stated and reported (see the FAQ).

Formula
\text{Run ADF regression on } \tilde{y}_t:\; \Delta \tilde{y}_t = \alpha \tilde{y}_{t-1} + \sum_{j=1}^{k} \beta_j \Delta \tilde{y}_{t-j} + \varepsilon_t
4

The t-statistic on the lagged level coefficient in the ADF regression is the DF-GLS statistic. The null of a unit root is rejected when this statistic is below the critical value for the chosen significance level. These critical values are simulation-based and are tabulated separately from ADF values, because the coefficients on the deterministic terms are estimated differently in the two tests, so standard ADF tables should not be used. The tabulated values depend on the deterministic specification: the intercept-only case (c̄ = −7) and the constant-plus-trend case (c̄ = −13.5) have different critical values. The DF-GLS critical values are given in Table 16.1 of Introduction to Econometrics (Global Edition).

Formula
t_{GLS} = \hat{\alpha} / \mathrm{SE}(\hat{\alpha});\; H_0: \alpha = 0 \text{ rejected if } t_{GLS} < \text{critical value (ERS table)}

Common pitfalls

  • Choosing the wrong deterministic specification (constant vs. constant plus trend) changes the value of c̄ and the relevant critical values, which leads to incorrect rejection rates.
  • Lag selection is part of the procedure. Switching the lag criterion (for example, to a plain AIC or BIC rule) without checking the test's behaviour under that rule can alter its size, so the rule should be stated and kept the same across series.
  • Interpreting non-rejection as proof of a unit root: the test has low power against highly persistent stationary alternatives, so a stationarity test such as KPSS is a useful cross-check.
  • The GLS step removes only a constant or a constant and linear trend and does not model seasonal dummies. Seasonal patterns left in the series can affect the ADF regression, so seasonal adjustment or explicit seasonal terms should be considered before testing.

Frequently asked questions

How does DF-GLS differ from the standard ADF test?

Both tests run an augmented Dickey-Fuller regression and use its t-statistic. DF-GLS first removes the deterministic component by GLS, using quasi-differences with a local-to-unity parameter (ᾱ = 1 + c̄/T) rather than OLS on the levels. Elliott et al. (1996) show that this detrending, derived from the power envelope, gives a test with higher power against stationary alternatives close to the unit root. The critical values also differ from standard ADF values, so the two sets of tables should not be mixed.

Which lag-length selector should I use with DF-GLS?

The lag length in the ADF step is commonly chosen by an information criterion such as the AIC or BIC, or by expert knowledge. The lag rule is an implementation choice rather than part of the test's definition, so check which selector your software applies, report it, and keep it the same across series, since the rule affects finite-sample behaviour.

Should I include a constant, a trend, or both in the DF-GLS test?

The choice should reflect the nature of the series. For variables expected to fluctuate around a fixed mean (e.g., interest rate spreads), include only a constant (c̄ = −7). For variables with a deterministic trend (e.g., log real GDP), include a constant and trend (c̄ = −13.5). Misspecifying this component changes both the local alternative and the critical values, which can invalidate inference.

Related methods

Sources

  1. Elliott, G., Rothenberg, T. J., & Stock, J. H. (1996). Efficient tests for an autoregressive unit root. Econometrica, 64(4), 813–836.

    Open DOI reference