Whether a series reverts to a level or wanders from it decides which models apply. A stationary series holds a fixed mean and a finite variance, so a regression on it behaves and its past informs its future. An integrated series carries a unit root, its variance growing without bound and its level drifting, so a regression on it is spurious and its sample moments never settle. This is the boundary the autoregression left off, where the dominant root reaches the unit circle. Separating the two regimes is the first task, and it is done by a pair of complementary tests built on the limit theory of integrated processes, one taking the unit root as its null and one taking stationarity [1], [2].
#The scaling limit of a random walk
Both tests rest on what a normalised random walk converges to. Write for weak convergence of the sample path on , for convergence in probability, and for standard Brownian motion.
::: lemma [lem
] Let be iid with mean zero and variance , and let be the partial-sum process. Then on . :::The normalised partial sum of the shocks converges to a Brownian path, so a random walk scaled by is asymptotically . Two functionals of that path generate every unit-root law below.
::: lemma [lem
] Let with iid mean zero variance . Then:::
::: proof For the first, , so by ??. The sum is a Riemann average of its square, , which converges under the continuous map to .
For the second, telescoping gives . Dividing by , the first term is and the second is by the law of large numbers, so the difference tends to , which is the Ito integral . :::
#The Dickey-Fuller test
The first test reads the unit root off the estimated autoregressive coefficient.
::: definition [def
] For with ordinary least squares estimator , the Dickey-Fuller coefficient and -statistics are and . :::::: theorem [thm
] Under with iid mean zero variance ,:::
::: proof Least squares gives , so
and Equation (1) supplies numerator and denominator with the cancelling, giving the first limit. For , the standard error obeys with , so
one factor of cancelling against and one against the square root of the denominator. :::
::: remark Augmenting the regression with whitens serial correlation, so the limits hold with the innovation variance, which is the augmented Dickey-Fuller test [3]. A fitted constant or trend replaces by the demeaned or a detrended analogue, shifting the quantiles without changing the form. The Phillips-Perron variant corrects the statistic nonparametrically for serial correlation rather than by augmentation [4]. :::
In practice the test fits the augmented regression, selects the lag length by an information criterion, and compares the ratio to the tabulated Dickey-Fuller critical values rather than the normal ones.
Augmented Dickey-Fuller test
input series y, maximum augmenting lags, deterministic case
1 choose lags p by minimising an information criterion
2 regress dy_t on y_{t-1}, the lags dy_{t-1}..dy_{t-p},
and the deterministic terms
3 tau <- t-statistic of the coefficient on y_{t-1}
4 reject the unit root when tau is below the Dickey-Fuller
critical value for the chosen deterministic case
The tabulated values sit well to the left of the normal ones, the practical mark of the skewed limit in Equation (2). The five percent quantile near sits left of the normal , so reading a unit-root statistic off normal tables would reject far too often [5].
#The confirmatory test
Failing to reject a unit root is not evidence for one, so the coefficient test is not conclusive alone. The confirmatory test runs the hypotheses the other way, taking stationarity as its null.
::: definition [def
] With residuals from regressing on a constant, or on a constant and trend, partial sums , and a heteroskedasticity- and autocorrelation-consistent estimator of the long-run variance, the statistic is . :::::: theorem [thm
] Under stationarity , where is a standard Brownian bridge in the level case and a second-level bridge in the trend case. :::::: proof Demeaning maps the functional limit to the bridge , since the residuals sum to zero, so with the long-run variance. The continuous map together with gives [6]. :::
Run on a genuinely integrated series the two verdicts agree, the level failing to reject a unit root under Dickey-Fuller yet rejecting stationarity under KPSS, so the series is integrated of order one and is differenced before any stationary model is fitted. That order of integration is exactly the input the next step needs. When several series each carry a unit root, a linear combination of them can still be stationary, which is the cointegration that underlies statistical arbitrage and the error-correction structure of the cointegration post.