Unit Roots, Cointegration, and Error Correction
Unit Roots, Cointegration, and Error Correction
Persistence is not one phenomenon
Compare:
- If , shocks decay and is stationary under stable conditions.
- If , and shocks permanently change the level.
- If 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.
Why unrelated trends can look convincing
Let
with independent innovations. Regressing on can produce a high 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 -vector whose components are , cointegration rank means that an matrix exists such that
is stationary. The columns of define long-run relations; they are not automatically causal parameters.
A VAR in levels can be rewritten as a vector error-correction model:
If , factor
where:
- contains the long-run disequilibria;
- contains the adjustment speeds;
- describe short-run dynamics.
Johansen's likelihood framework turns the rank question into a reduced-rank multivariate estimation problem.
Bivariate derivation
Suppose
while is . Then the spread is stationary. Differencing gives
The coefficient is error correction: a positive deviation in the previous period predicts downward adjustment in , conditional on .
R laboratory: recover equilibrium and adjustment
Cointegrated random walks and an error-correction model
The estimated long-run slope should be near , and the error-correction coefficient near . 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 is usually interpreted through economic theory, and 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 and ;
- cointegration does not by itself identify a structural mechanism.
Levels VAR, VECM, or differences?
| Goal | Defensible starting point |
|---|---|
| short-run forecast with no long-run claim | compare differences, levels, and robust benchmarks out-of-sample |
| preserve a theorised stable level relation | VECM with rank and stability analysis |
| structural impulse responses | levels/VECM plus explicit shock identification |
| trade a spread | cointegration plus execution, costs, stability, and risk design |
Practice
- If is stationary, must every element of be stationary?
- In , which matrix describes disequilibrium and which describes response?
- Why can a structural break resemble failure of cointegration?
Answers
- No. Cointegration is precisely a stationary combination of individually nonstationary variables.
- defines long-run relations; gives adjustment loading.
- A relation that changes once is not stationary around one constant parameter over the full sample.
Next: VAR, Structural Identification, and Local Projections.
Volatility, Tails, and Financial Risk
Conditional variance, GARCH quasi-likelihood, leverage, heavy tails, and translation into VaR and expected shortfall.
VAR, Structural Identification, and Local Projections
Separate multivariate forecasting from structural shocks using companion matrices, impact restrictions, and impulse responses.