Cointegration: two I(1) series that share a common stochastic trend.
Even though Xt and Yt individually wander, the linear combination Yt − βXt is stationary. They are “tied together” in the long run.
Examples: consumption and income, prices in different markets (law of one price), money supply and price level.
Testing: Engle-Granger two-step, regress Yt on Xt in levels, then test the residuals for a unit root. If the residuals are stationary, the series are cointegrated.
Error-correction model (ECM): if cointegrated, short-run dynamics plus error-correction term:
ΔYt = α(Yt−1 − βXt−1) + γΔXt + et
α < 0 is the speed of adjustment back to the long-run equilibrium.