Basic Prerequisites: 02 · Stationarity & ARMA.
1. Intuition & Practical Objective
Forecasting a stationary process is one thing; forecasting a unit-root process is fundamentally another. This page makes the distinction operational and gives you the test that settles it - the Augmented Dickey–Fuller (ADF) test - plus the disaster that follows if you ignore it, the spurious regression.
The intuition in three lines:
- The MSE-optimal forecast is the conditional expectation. There is no better predictor (in squared error) than . All of ARMA forecasting is just computing this object cheaply.
- Stationary processes mean-revert; unit-root processes don’t. An AR(1) with has a half-life of about 3 periods; a random walk’s best forecast of is today’s value forever - and its forecast-error variance grows linearly with , not to a finite limit.
- Regressing one unit-root series on another is a statistical mirage. Two independent random walks, regressed on each other, produce large -stats and inflated - “significance” that means nothing. You must test for unit roots and, when present, difference or find a cointegrating combination (05 · Cointegration).
2. Mathematical Ground Truth & Derivations
Forecasting (Tsay §2.6). The MSE-optimal -step forecast is . Via the MA() representation, the forecast-error variance is
- AR(p) forecast → mean. As the forecast converges to the unconditional mean . For AR(1) the half-life to revert half-way to the mean is .
- MA(q) forecast → mean after steps. Once all the past shocks have cleared, the forecast is exactly the mean.
- Random walk forecast. (no mean reversion), forecast-error variance - linear growth. This is why the square-root-of-time rule works for driftless IGARCH and fails under nonzero mean (Tsay §7.2.1, §7.3.1: the 15-day Gauss AR(2)-GARCH VaR was $1,039,191 vs the $1,114,257 the rule predicts).
Unit-root taxonomy. Write as an AR(1): stationary if ; a random walk if (shock never decays); random walk with drift (variance still grows linearly, plus a linear trend in the mean); trend-stationary where is stationary (remove the deterministic trend stationary, variance finite). The last two look alike in a plot but behave completely differently - that distinction is the heart of unit-root testing.
Differencing. The first difference removes one unit root; is integrated of order 1, , if is stationary. An ARIMA(p,1,q) model is one where is stationary ARMA(p,q).
Augmented Dickey–Fuller test (Tsay eq. 2.38–2.40). Fit
and test (unit root, since ) against . The statistic does not follow a Student-; it follows the Dickey–Fuller distribution (critical values at 1%,5%,10% with a constant). The lagged terms absorb serial correlation so the test is valid for ARMA errors.
Spurious regression (Granger & Newbold 1974). Two independent series regressed as produce -stats exceeding 10 and asymptotically despite being unrelated. The residual is itself - it does not mean-revert.
3. Computational Implementation - ADF and spurious regression
Run the ADF regression on a stationary AR(1) and on a random walk, and demonstrate the spurious-regression phenomenon averaged over many replications. Stdlib only.
Two independent random walks regressed on each other give mean and - critically - the residual fails the ADF test in 177/200 replications: you cannot tell them apart from a “real” relationship by or -stats alone. The stationary AR(1) yields a strongly negative ADF stat (, rejects), the random walk a near-zero one (, cannot reject). The ADF on the residual is the discriminator, not .
4. Failure Modes & First-Principles Breakdowns
- The spurious-regression trap. High + huge between unrelated unit-root series is a mirage; the residual ADF (or cointegration test) is the only honest verdict. This is the single costliest error in applied finance econometrics.
- ADF has low power near the boundary. is (barely) stationary but ADF needs huge samples to reject - and a genuinely stationary, highly-persistent series is easily misclassified as a unit root. Complement with economic logic, never rely on the test alone.
- The square-root-of-time rule silently fails. VaR scaling is only exact for a driftless IGARCH(1,1) (RiskMetrics) model. With a nonzero mean or a different volatility model it misstates risk - Tsay’s own 15-day Gauss AR(2)-GARCH example overstates by ~7% under the rule.
- Over-differencing. Differencing an already-stationary series (or a trend-stationary one after detrending) injects a non-invertible MA root and destroys estimation. Distinguish random-walk-with-drift (variance grows) from trend-stationary (variance finite) before deciding what to remove.
5. References
- Tsay, Analysis of Financial Time Series
- Granger, C.W.J. & Newbold, P. (1974), “Spurious Regressions in Econometrics,” Journal of Econometrics
- Hastie, Tibshirani & Friedman, Elements of Statistical Learning
- Campbell, Lo & MacKinlay, The Econometrics of Financial Markets
6. Connected Graph Bridges
- Back: 02 · Stationarity & ARMA · Index Hub
- Forward: 04 · Volatility Modeling · 05 · Cointegration & Multivariate
- Applied: VaR & Expected Shortfall (square-root-of-time caveat) · Backtesting Hygiene