Unit Roots, Cointegration, and Error Correction

Diagnose spurious levels, derive reduced-rank error correction, and distinguish financial spreads from economic equilibria.

Unit Roots, Cointegration, and Error Correction

Persistence is not one phenomenon

Compare:

xt=ρxt1+ut.x_t=\rho x_{t-1}+u_t.
  • If ρ<1|\rho|<1, shocks decay and xtx_t is stationary under stable conditions.
  • If ρ=1\rho=1, Δxt=ut\Delta x_t=u_t and shocks permanently change the level.
  • If ρ\rho is close to one, finite samples may not reliably distinguish the two.

This distinction affects forecasts, standard errors, and the meaning of a level regression. A unit-root test is evidence about a maintained model, not a mechanical permission slip to difference every series.

Let

xt=xt1+ut,yt=yt1+vt,x_t=x_{t-1}+u_t,\qquad y_t=y_{t-1}+v_t,

with independent innovations. Regressing yty_t on xtx_t can produce a high R2R^2 and a conventional-looking t-statistic even though the innovations are unrelated. The regression treats persistent excursions as repeated independent evidence.

Reasonable responses are:

  • difference the variables if the question concerns short-run changes;
  • model deterministic trends if theory specifies them;
  • use cointegration if theory concerns a stable linear combination of nonstationary levels.

Cointegration

For an nn-vector yt\mathbf y_t whose components are I(1)I(1), cointegration rank r>0r>0 means that an n×rn\times r matrix β\beta exists such that

βyt\beta^\top\mathbf y_t

is stationary. The columns of β\beta define long-run relations; they are not automatically causal parameters.

A VAR in levels can be rewritten as a vector error-correction model:

Δyt=Πyt1+i=1p1ΓiΔyti+ut.\Delta\mathbf y_t =\Pi\mathbf y_{t-1} +\sum_{i=1}^{p-1}\Gamma_i\Delta\mathbf y_{t-i} +\mathbf u_t.

If 0<rank(Π)=r<n0<\operatorname{rank}(\Pi)=r<n, factor

Π=αβ,\Pi=\alpha\beta^\top,

where:

  • βyt1\beta^\top\mathbf y_{t-1} contains the long-run disequilibria;
  • α\alpha contains the adjustment speeds;
  • Γi\Gamma_i describe short-run dynamics.

Johansen's likelihood framework turns the rank question into a reduced-rank multivariate estimation problem.

Bivariate derivation

Suppose

yt=θxt+ut,ut=ρut1+et,ρ<1,y_t=\theta x_t+u_t,\qquad u_t=\rho u_{t-1}+e_t,\quad |\rho|<1,

while xtx_t is I(1)I(1). Then the spread ut=ytθxtu_t=y_t-\theta x_t is stationary. Differencing gives

Δyt=θΔxt+(ρ1)(yt1θxt1)+et.\Delta y_t =\theta\Delta x_t +(\rho-1)(y_{t-1}-\theta x_{t-1}) +e_t.

The coefficient ρ1<0\rho-1<0 is error correction: a positive deviation in the previous period predicts downward adjustment in yty_t, conditional on Δxt\Delta x_t.

R laboratory: recover equilibrium and adjustment

R

Cointegrated random walks and an error-correction model

Idle

The estimated long-run slope should be near 1.51.5, and the error-correction coefficient near 0.35-0.35. The test statistic is included only as a persistence contrast; valid unit-root inference uses nonstandard critical values and a carefully specified deterministic component.

Finance use: spread, price discovery, or trading?

Examples include:

  • spot and futures prices linked by carry;
  • yields at different maturities under a term-structure relation;
  • prices of economically linked securities;
  • multiple venues contributing to price discovery.

Cointegration supports a statistical long-run relation. A trading claim additionally needs:

  • stability after the formation sample;
  • adjustment fast enough relative to the horizon;
  • tradability of both legs;
  • transaction costs, funding, shorting, and execution;
  • a rule fixed before the test sample;
  • tail exposure when the historical relation breaks.

“Stationary spread” is not synonymous with “arbitrage.”

Economics use: equilibrium and adjustment

Examples include consumption and income, prices and monetary aggregates, or related output measures. Here β\beta is usually interpreted through economic theory, and α\alpha asks which variables respond when the system departs from the long-run relation.

That interpretation requires care:

  • normalising one coefficient to one does not make that variable exogenous;
  • rank can be sensitive to lag length, deterministic terms, breaks, and sample span;
  • a policy regime change can alter both α\alpha and β\beta;
  • cointegration does not by itself identify a structural mechanism.

Levels VAR, VECM, or differences?

GoalDefensible starting point
short-run forecast with no long-run claimcompare differences, levels, and robust benchmarks out-of-sample
preserve a theorised stable level relationVECM with rank and stability analysis
structural impulse responseslevels/VECM plus explicit shock identification
trade a spreadcointegration plus execution, costs, stability, and risk design

Practice

  1. If βyt\beta^\top\mathbf y_t is stationary, must every element of yt\mathbf y_t be stationary?
  2. In Π=αβ\Pi=\alpha\beta^\top, which matrix describes disequilibrium and which describes response?
  3. Why can a structural break resemble failure of cointegration?
Answers
  1. No. Cointegration is precisely a stationary combination of individually nonstationary variables.
  2. β\beta defines long-run relations; α\alpha gives adjustment loading.
  3. A relation that changes once is not stationary around one constant parameter over the full sample.

Next: VAR, Structural Identification, and Local Projections.

Copyright © 2026