What is cointegration and how is it used in pairs trading?
FRM Part I covers cointegration as a concept in time series analysis. I understand that two non-stationary series can be cointegrated, but I'm not sure how this differs from correlation or why it matters for trading strategies.
Cointegration is a fundamentally different concept from correlation, and understanding the distinction is crucial for both risk management and trading.
Correlation vs. Cointegration:
| Feature | Correlation | Cointegration |
|---|---|---|
| Measures | Short-term co-movement direction | Long-term equilibrium relationship |
| Can change over time | Easily | Less so (structural relationship) |
| Requires stationarity | Yes (for meaningful results) | Works with non-stationary series |
| Mean-reverting spread | No guarantee | Yes (by definition) |
What cointegration means:
Two non-stationary time series (e.g., stock prices that drift over time) are cointegrated if there exists a linear combination that IS stationary. In other words, even though each series wanders randomly, they wander together — the spread between them is mean-reverting.
Formal definition: If Xt and Yt are both I(1) (non-stationary, integrated of order 1), and there exists a β such that:
Zt = Yt - βXt is I(0) (stationary)
Then X and Y are cointegrated.
Testing for cointegration:
- Engle-Granger two-step:
- Step 1: Regress Y on X: Yt = α + βXt + εt
- Step 2: Test if the residuals (εt) are stationary using the ADF test
- If residuals are stationary → cointegration exists
- Johansen test: More powerful, handles multiple variables simultaneously
Pairs trading application:
If two stocks are cointegrated, the spread between them (adjusted by the cointegration coefficient) is mean-reverting. This creates a trading opportunity:
Example: Meridian Energy and Summit Power are both large utility stocks. Analysis shows they are cointegrated with β = 0.85.
Spread = Price(Meridian) - 0.85 × Price(Summit)
- Historical mean spread: $2.50
- Current spread: $5.80 (2.2 standard deviations above mean)
Trade:
- Short Meridian (overpriced relative to Summit)
- Long 0.85 shares of Summit for each share of Meridian shorted
- Wait for spread to revert toward $2.50
- Close both positions for profit
Risk management implications:
- Hedge ratio stability: Correlation-based hedges can break down; cointegration-based hedges are more robust
- Pairs trading risk: The spread CAN diverge further before reverting — need stop-losses
- Regime changes: Cointegration can break if the fundamental relationship changes (merger, regulation, business model shift)
- Lookback period: Using too much historical data may include periods where the relationship didn't exist
Exam tip: FRM tests the distinction between correlation and cointegration, the Engle-Granger procedure, and why cointegration is important for long-term hedging and trading strategies.
Learn more time series analysis on AcadiFi's FRM course.
Master Part I with our FRM Course
64 lessons · 120+ hours· Expert instruction
Related Questions
How exactly do futures margin calls work, and what happens if I can't meet one?
How do you calculate the settlement amount on a Forward Rate Agreement (FRA)?
When should I use Monte Carlo simulation instead of parametric VaR, and how does it actually work?
Parametric VaR vs. Historical Simulation VaR — when does each method fail?
What are the core components of an Enterprise Risk Management (ERM) framework, and how does it differ from siloed risk management?
Join the Discussion
Ask questions and get expert answers.