What is cointegration in time series and why is it important in financial modeling?

Updated May 15, 2026

Short answer

Cointegration occurs when two or more non-stationary series move together and maintain a stable long-term relationship.

Deep explanation

Even if individual time series are non-stationary, they may be linked through a stable equilibrium relationship. Cointegration identifies such relationships. If a linear combination of series is stationary, they are cointegrated. This is crucial in finance for pairs trading, where price spreads revert to a mean.

Real-world example

Stock prices of Coca-Cola and Pepsi moving together over time.

Common mistakes

  • Assuming correlation implies cointegration.

Follow-up questions

  • What is a cointegration test?
  • Why is cointegration useful in trading?

More Time Series interview questions

View all →