Cointegration

Cointegration identifies a stationary long-run combination of nonstationary time series and supports error-correction analysis in finance and economics.

Cointegration exists when two or more nonstationary time series share a linear combination that is stationary. The individual series may drift over time, but their estimated long-run relationship does not drift without bound under the model.

In finance and economics, cointegration can help distinguish a potentially stable long-run relation from a high correlation caused by common trends. It is a statistical property, not proof of economic equilibrium, causation, or a profitable trading strategy.

Key Takeaways

  • Cointegration concerns nonstationary series and a lower-order, usually stationary, linear combination.
  • High correlation is neither necessary nor sufficient for cointegration.
  • Regressing unrelated trending levels can create a convincing but spurious relationship.
  • Engle-Granger and Johansen procedures answer related but different testing questions and rely on specification choices.
  • An error-correction model links short-run changes to deviation from an estimated long-run relation.
  • Structural breaks, transaction costs, parameter instability, and multiple testing can invalidate a trading interpretation.

Integration and Stationarity

A series is commonly described as integrated of order one, (I(1)), when the level is nonstationary but its first difference is stationary:

$$ X_t\sim I(1),\qquad \Delta X_t=X_t-X_{t-1}\sim I(0) $$

Suppose (X_t) and (Y_t) are both (I(1)). They are cointegrated if a coefficient (\beta) and, when included, an intercept (\alpha) create a stationary residual:

$$ z_t=Y_t-\alpha-\beta X_t\sim I(0) $$

The vector of coefficients defines a cointegrating relationship. Scaling that vector does not create a different relationship, so a normalization is required for interpretation.

Cointegration can also involve series integrated at an order above one or a stationary combination that reduces rather than completely removes the integration order. In most applied finance discussions, the focus is on (I(1)) series with an (I(0)) combination.

Why Cointegration Matters

Ordinary regression between two unrelated random walks can show a high (R^2) and apparently significant coefficients even though no stable relationship exists. This is known as spurious regression.

Cointegration analysis asks whether an estimated combination of nonstationary levels behaves like a stationary process. When supported, it allows analysts to model both:

  • the long-run relation among the levels
  • short-run changes and adjustment toward that relation

The statistical result still requires an economic explanation. Shared trends caused by changing sample definitions, common inflation, regulation, or a temporary regime may not represent a durable equilibrium.

Cointegration vs. Correlation

FeatureCorrelationCointegration
Main questionDo two variables move together linearly in the sample?Does a linear combination of integrated series have a lower integration order?
Typical dataReturns, changes, or other stationary variablesNonstationary levels with compatible integration orders
Time horizonContemporaneous or lagged associationLong-run relation with short-run deviations
ScaleCoefficient from -1 to +1Cointegrating vector depends on normalization
What it does not proveCausation or stable future dependenceCausation, structural permanence, or trading profitability

Two price levels can be highly correlated because both trend upward yet not be cointegrated. Conversely, cointegrated series may have noisy short-run returns with modest contemporaneous correlation.

Engle-Granger Two-Step Method

For two variables, a common introductory procedure is:

  1. Determine the integration properties of each series using plots, economic reasoning, and unit-root or stationarity tests.
  2. Estimate a proposed long-run relation such as (Y_t=\alpha+\beta X_t+u_t).
  3. Test the fitted residuals (\widehat{u}_t) for a unit root using critical values appropriate to a cointegration test.
  4. If the evidence supports cointegration, estimate an error-correction model for short-run dynamics.
  5. Test residual behavior, coefficient stability, and performance in later periods.

The ordinary unit-root critical values used on a raw series are not automatically valid for residuals generated by the first-stage regression. Trend, intercept, lag, and deterministic-term choices can change the conclusion.

Error-Correction Model

A simplified error-correction model can be written as:

$$ \Delta Y_t=c+\gamma\bigl(Y_{t-1}-\alpha-\beta X_{t-1}\bigr)+\delta\Delta X_t+\varepsilon_t $$

The term in parentheses is the prior period’s estimated deviation from the long-run relation. Under this normalization, a negative (\gamma) can indicate adjustment in (Y) that reduces the deviation. Interpretation depends on signs, variable definitions, and which variables are allowed to adjust.

An error-correction term does not mean every deviation closes quickly or monotonically. New information can change both series, and the long-run coefficients themselves may be unstable.

Assume two hypothetical share classes represent claims on the same company but trade separately after adjusting prices to the same currency. An analyst estimates:

$$ P_{A,t}=2+1.05P_{B,t}+z_t $$

If (P_B=$80), the fitted long-run value for (P_A) is $86. If (P_A) trades at $91, the estimated residual is:

$$ z_t=91-2-(1.05\times80)=5 $$

If tests and diagnostics support a stationary residual, the pair may be described as cointegrated under this model and sample. The $5 deviation is not automatically a $5 arbitrage profit or proof that A will fall. The relation can reflect different voting rights, conversion terms, liquidity, taxes, market hours, currency hedging, borrow availability, or information.

A trading analysis would additionally need entry and exit rules, hedge ratios, re-estimation policy, transaction and borrow costs, execution assumptions, stop conditions, and out-of-sample evidence. Both prices can also fall while the spread narrows.

Engle-Granger vs. Johansen

MethodUseful whenImportant limitation
Engle-Granger two-stepOne proposed cointegrating relation, especially with two variablesNormalization and first-stage specification matter; limited for multiple vectors
Johansen system methodSeveral (I(1)) variables may have more than one cointegrating vectorSensitive to lag length, deterministic terms, sample size, and system specification

Johansen is not universally superior. A larger system can estimate more relationships but also introduces more parameters and specification risk. The method should fit the question and data rather than being selected because it appears more advanced.

Finance Applications

  • Relative-value research: test a proposed long-run relationship before modeling deviations.
  • Spot and derivative analysis: examine linked prices while accounting for carry, maturity, and contract changes.
  • Term-structure analysis: study long-run relations among yields or rates with careful treatment of maturities.
  • Corporate and macro-finance: evaluate relations among investment, financing, income, rates, prices, and economic activity.
  • Hedging: estimate long-run hedge ratios while separately evaluating short-run basis and liquidity risk.

Cointegration is most useful when financial or institutional reasoning supports the proposed relation. Testing every possible pair in a large dataset creates a substantial false-discovery problem.

Common Mistakes and Limitations

  • Testing price levels without first considering integration order and deterministic trends.
  • Treating a high price correlation as evidence of cointegration.
  • Using ordinary unit-root critical values for generated residuals.
  • Ignoring structural breaks in contracts, policy, market access, or business fundamentals.
  • Selecting pairs and test specifications after seeing profitable historical results.
  • Assuming the cointegrating coefficient is a fixed trading hedge ratio.
  • Omitting bid-ask spreads, commissions, borrow costs, margin, and execution delay.
  • Using today’s revised economic data in a historical real-time test.
  • Claiming causation or equilibrium from a statistical relation alone.
  • Continuing to trade after diagnostics show the residual no longer behaves as modeled.

How to Evaluate Cointegration Evidence

  1. State the economic reason a long-run relation might exist.
  2. Align units, currencies, timestamps, contract definitions, and data sources.
  3. Plot levels, differences, and the proposed spread.
  4. Evaluate integration order and deterministic components.
  5. Pre-specify the testing method, lag rules, and sample where feasible.
  6. Use test critical values appropriate to the procedure.
  7. Inspect residual autocorrelation, stability, and structural breaks.
  8. Validate the relation in later or withheld periods.
  9. Separate statistical evidence from implementation and trading economics.
  10. Define conditions for recalibration or abandonment.

Primary and Authoritative Sources

  • Time Series Analysis: Analysis of chronologically ordered data, including stationarity and residual dependence.
  • Regression Analysis: Estimation method used in cointegrating and error-correction relationships.
  • Correlation: Standardized measure of linear co-movement that does not test long-run equilibrium.
  • Covariance: Unscaled joint variation between two variables.
  • Mean Reversion: Strategy concept based on movement toward an estimated reference level.
  • Model Risk: Potential adverse consequences from incorrect, unstable, or misused model output.

FAQs

What is the difference between correlation and cointegration?

Correlation measures linear co-movement in a sample. Cointegration tests whether a linear combination of integrated nonstationary series has a lower integration order, usually stationarity. Neither establishes causation.

Can two stationary series be cointegrated?

Standard cointegration terminology is used when nonstationary series combine into a lower-order process. Two stationary series can be related, but ordinary stationary multivariate methods are generally sufficient; calling them cointegrated adds no useful reduction in integration order.

Is the Johansen test always better than Engle-Granger?

No. Johansen methods can estimate multiple cointegrating vectors in a system, but they require more specification choices and data. Engle-Granger can be clearer for one proposed relationship. The appropriate method depends on the question and system.

Does cointegration create an arbitrage opportunity?

No. Cointegration is statistical evidence about a modeled long-run relation. Prices can continue diverging, parameters can change, and financing, liquidity, borrow, execution, and transaction costs can eliminate any apparent opportunity.

This article provides general financial and econometric education. It does not provide a trading signal, forecast, model validation, or personalized investment, legal, tax, or accounting advice.

Browse Valuation and Analysis