- Introduced by
- Engle & Granger (1987) for cointegration; Park & Hahn (1999) for TVP extension
- Year
- 1987/1999
- Type
- Time-series cointegration model
- Family
- Econometrics / time series
What does it do?
Time-varying parameter (TVP) Engle-Granger cointegration extends the two-step Engle-Granger framework by allowing the long-run relationship between integrated series to change over time, rather than fixing a single cointegrating vector.
In the specification used on this page, the cointegrating coefficients follow a random-walk state equation and are estimated with the Kalman filter or related state-space methods. Park and Hahn (1999) instead modelled the coefficients as smooth functions of time, so the random-walk form should be read as one way of allowing drift, not as their approach.
The intuition behind the method
Classical Engle-Granger cointegration assumes that two I(1) variables share one unchanging long-run equilibrium. In practice, structural breaks, regime shifts, or gradual institutional change can alter that equilibrium. The TVP extension treats the cointegrating slope as a slowly moving quantity rather than a fixed constant, so the fitted relationship can strengthen, weaken, or change direction across episodes. Because the coefficients move, the final stationarity check that supports cointegration is less settled than in the classical case, as discussed in the residual-test step.
History
The static Engle-Granger framework, including the two-step estimator and residual-based cointegration tests, is set out in Engle and Granger (1987). Park and Hahn (1999) studied cointegrating regressions in which the coefficients are smooth functions of time, estimated with modified series estimators after prefiltering, and applied the approach to a U.S. automobile demand function. The random-walk state-space version with Kalman-filter estimation used on this page is a separate specification and is not attributed here to either source.
When to use it
Use this model when you have two I(1) series that you expect to share a long-run equilibrium, and you have reason to think the slope linking them has changed gradually over the sample, for example across policy changes, financial episodes, or shifts in trade arrangements. It is most useful when a fixed-coefficient cointegrating regression looks unstable, for instance when Chow tests or rolling estimates show marked differences. Do not use it when the series are stationary in levels, since cointegration does not apply. Avoid it when the sample is short, because the state variance and the filtered paths are then poorly identified. When several variables interact, a system-based cointegration framework (see the related Johansen cointegration page) is more appropriate. If the change is a single sharp break with a known date, a split-sample or dummy-augmented regression is usually simpler.
Limitations and considerations
- Estimation needs a reasonably long sample for the filter to settle and for the state variance Q to be identified.
- The estimate of Q is sensitive to starting values and can be poorly identified in small samples.
- The residual test's critical values are those for fixed-coefficient residuals; the sources cited here do not establish them for residuals from a time-varying fit, so the test's size and power under drifting coefficients are unknown.
- The specification is developed here for a single regressor. Systems with several interacting variables call for a system-based approach.
- Filtered paths can be volatile in turbulent periods, and separating genuine drift from estimation noise requires care.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Lets the long-run slope drift gradually without pre-specified break dates, which suits changes that are not sharp.
- Keeps the two-step Engle-Granger logic of a long-run regression followed by a stationarity check on the residuals.
- The Kalman filter updates the coefficient recursively, so each date's filtered estimate uses only data observed up to that date, while smoothed estimates use the full sample.
- Yields a time path of the cointegrating coefficient, which can be interpreted against events within the sample.
- Once cointegration is supported, the model can be written in error-correction form, linking long-run and short-run dynamics.
Applications
- Estimating a time-varying demand function, the setting in which Park and Hahn (1999) applied their method to U.S. automobile demand.
- Testing whether a long-run exchange-rate relation between two countries shifts across periods of trade-regime change.
- Examining whether the long-run link between energy prices and output changes across policy regimes.
- Tracking whether a long-run money demand relation changes with financial innovation.
- Following a long-run relation between government revenue and expenditure during a fiscal consolidation.
How it works
How it works
Confirm that all variables are integrated of order one (I(1)) using ADF or PP tests. Cointegration is only meaningful for series that are individually non-stationary but may share a stationary linear combination. Results of these tests depend on the deterministic terms and lag length chosen, so these choices should be stated.
Specify the cointegrating regression with a constant intercept and a time-varying slope: y_t = alpha + beta_t * x_t + epsilon_t. In the state-space form used here, beta_t is the unobserved state whose filtered and smoothed paths are recovered from the data by the Kalman filter. The intercept alpha has no state equation in this specification and is estimated as a fixed parameter alongside the states.
Formula
y_t = \alpha_t + \beta_t x_t + \varepsilon_t
Model the slope coefficient as a random walk: beta_t = beta_{t-1} + eta_t, where eta_t is white noise with variance Q. The variance Q governs how quickly the coefficient can drift: a small Q keeps it close to constant, while a large Q lets it track rapid change. This allows gradual change without pre-set break dates. The smooth-function, series-estimator framework described by Park and Hahn (1999) is a different specification, and this equation should not be attributed to them.
Formula
\beta_t = \beta_{t-1} + \eta_t,\quad \eta_t \sim N(0, Q)Filter the states with the Kalman filter to obtain one-step-ahead predictions and smoothed estimates of beta_t, and form the implied residuals y_t - alpha - beta_t * x_t. The residual-based cointegration test has the null hypothesis of no cointegration, that is, a unit root in the residuals, and the alternative of stationary residuals, which supports cointegration. Engle and Granger (1987) note that this testing problem combines unit root testing with parameters that are unidentified under the null, and their critical values were obtained by Monte Carlo simulation for residuals from a fixed-coefficient regression. Those critical values do not carry over automatically to residuals from a time-varying fit, and the sources cited here do not establish the correct ones. A rejection of the unit-root null therefore supports cointegration only if the critical values match the time-varying design, so the result should be treated as a diagnostic. Any conclusion should be accompanied by a robustness check using residuals from a fixed-coefficient regression and a stability check on the filtered path across subsamples. A KPSS test is not a substitute, since its null hypothesis is stationarity.
If cointegration is supported, embed the time-varying equilibrium in an error-correction model. The deviation term is the lagged residual from the long-run regression, y_{t-1} - alpha - beta_{t-1} * x_{t-1}, with the intercept alpha held constant in this specification. The coefficient gamma governs how quickly Delta y_t adjusts back toward the equilibrium; for stable error correction it is expected to be negative. The short-run term delta captures contemporaneous co-movement in differences.
Formula
\Delta y_t = \gamma (y_{t-1} - \hat{\beta}_{t-1} x_{t-1}) + \delta \Delta x_t + u_tCommon pitfalls
- Applying the model to I(0) variables. Confirm I(1) status first; if a series is stationary, the cointegration question does not arise.
- Setting the initial state variance Q too small. This forces the filter to track an almost constant coefficient, which defeats the purpose of the extension.
- Ignoring filter convergence and treating early filtered estimates as reliable. Examine the burn-in period before interpreting the path.
- Confusing gradual drift with a structural break. A single sharp regime change is often better handled by a split-sample regression, which is more transparent.
- Reading volatile filtered paths in a short sample as economic drift when they may reflect estimation noise.
Frequently asked questions
How does this differ from the standard Engle-Granger two-step procedure?
The standard Engle-Granger procedure estimates a fixed cointegrating vector by OLS and then tests the residuals for stationarity. The TVP extension replaces the fixed OLS slope with a state variable that evolves over time, estimated via the Kalman filter, so the long-run relationship is allowed to drift rather than being constant across the whole sample.
How do I choose the variance of the state equation (Q)?
Q is commonly estimated by maximum likelihood in the state-space representation, and sensitivity analysis across a range of values is advisable. A very small Q makes the coefficients nearly constant, close to a fixed-coefficient regression, while a large Q lets them move quickly and can fit noise. Information criteria such as AIC or BIC can compare specifications with different Q, but they do not settle whether the drift is real.
Can I apply this to more than two variables?
The version described here is for a single regressor. With several variables, the choice of normalisation and the ordering of variables can affect results, so a system-based approach such as the related Johansen framework is usually preferable.
What sample size is needed for reliable results?
Short samples are the main constraint: the filter needs time to settle, and the state variance is hard to identify, so filtered paths can be erratic. The sources cited here do not establish a minimum sample size for this model, so none is stated. Practical checks are to discard an initial burn-in period before interpreting the filtered path, to compare its behaviour across subsamples, and to confirm that the residual-test conclusion holds on both the full sample and the subsamples.
Should I use the TVP model or a structural break model?
If prior knowledge or tests (e.g., Bai-Perron) suggest one or two sharp discrete breaks, a split-sample or dummy-augmented cointegration model may be more parsimonious and easier to interpret. The TVP model is preferable when breaks are gradual, frequent, or unknown in timing and number.
Related methods
Sources
Engle, R. F., & Granger, C. W. J. (1987). Co-integration and error correction: Representation, estimation, and testing. Econometrica, 55(2), 251–276.
Open DOI referencePark, J. Y., & Hahn, S. B. (1999). Cointegrating regressions with time varying coefficients. Econometric Theory, 15(5), 664–703.
Open DOI reference