- Introduced by
- Cooley & Prescott
- Year
- 1976
- Type
- Time-series regression with drifting coefficients
- Family
- Econometrics / time series
What does it do?
Time-varying parameter GLS treats regression coefficients as states that evolve over time, rather than as fixed constants.
The model combines a measurement equation for the observed outcome with a random-walk transition equation for the coefficients, and it is estimated in a state-space framework. It describes gradual drift in relationships, and it approximates abrupt breaks only to the extent that coefficients can move quickly.
The intuition behind the method
In standard regression, the slope between two variables is assumed constant over the whole sample. Economic relationships, such as the effect of interest rates on investment or the pass-through of oil prices to inflation, can shift as institutions, technology, or expectations change. This method treats each coefficient as a hidden state that moves randomly from period to period, with the size of those moves controlled by the covariance matrix Q. The result is a path of coefficient estimates over time, rather than one average slope for the entire history. Because accumulated coefficient shocks make the regression error serially correlated, the model is estimated in its state-space form, which handles this dependence directly.
History
Cooley and Prescott (1976), in an Econometrica article, addressed the estimation of regression coefficients subject to stochastic parameter variation. Harvey (1990) treats models of this type within structural time-series analysis and the Kalman filter. The method has been widely used in applied macroeconomics and finance to study relationships that may change over time.
When to use it
Use this method when theory or prior evidence suggests that a regression relationship drifts over a long time-series sample, for example because of policy changes or gradual institutional change. It is most useful when rolling-window OLS gives unstable coefficient paths and you want a model-based account of how the slopes move. Be cautious when the sample is short relative to the number of time-varying coefficients or the signal-to-noise ratio is low, because identification of Q becomes fragile. The minimum adequate sample length depends on these features and is best checked by simulation or sensitivity analysis. Do not use it when there is no reason to expect drift, or when the number of time-varying coefficients is large relative to the sample. If the main question is a single break at a known date, a model with an explicit break may be simpler.
Limitations and considerations
- The estimated coefficient paths depend on the specification of the covariance matrix Q of coefficient shocks, so a wrong assumption about Q changes the results.
- Estimation is more computationally demanding than OLS, and the cost grows with the number of predictors and the length of the sample.
- Identification is weak when the sample is short or when the ratio of Q to σ² is small, because the data then carry little information about drift.
- Finite-sample inference for the hyperparameters can be unreliable, and bootstrap or Bayesian approaches are sometimes used as alternatives.
- Results depend on the stated assumptions of independent normal shocks, a specified initial state, and regressors not driven by the coefficient shocks. Violations affect the coefficient paths and their standard errors.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The model gives a full time path for each coefficient, which allows a time-by-time reading of the relationship instead of a single pooled estimate.
- It does not require a pre-specified break date, because drift is modelled as a continuous random walk.
- Setting Q to zero recovers a constant-coefficient regression, so the data can be used to test whether time variation is needed.
- Kalman smoothing uses the whole sample to refine the estimated coefficient at each date.
Applications
- Estimating time-varying monetary policy rules to study how central bank reaction functions change over the cycle.
- Measuring how the pass-through from exchange rates to domestic inflation changes over time.
- Modelling a time-varying equity risk premium in asset pricing research.
- Tracking changing factor loadings in macroeconomic forecasting models.
- Assessing whether energy demand elasticities have changed over a long historical sample.
How it works
How it works
The observation equation links the outcome y_t to the predictors x_t through the coefficient vector β_t, plus a regression error ε_t with mean zero and variance σ². This is the usual regression structure, except that β_t is indexed by time.
Formula
y_t = x_t^{\top}\beta_t + \varepsilon_t, \quad \varepsilon_t \sim N(0,\sigma^2)The state equation says that the coefficients follow a random walk: β_t equals its previous value β_{t-1} plus a shock η_t with mean zero and covariance matrix Q. Setting Q to zero makes the coefficients constant, and larger values of Q allow faster drift. The estimation assumes that ε_t and η_t are independent of each other and over time, that the initial state β_0 has a specified prior or a diffuse start, and that the regressors are not driven by the coefficient shocks. If these assumptions fail, the coefficient paths and their standard errors may be misleading.
Formula
\beta_t = \beta_{t-1} + \eta_t, \quad \eta_t \sim N(0,Q)The Kalman filter processes the observations recursively. At each date it predicts the distribution of β_t from the previous period and then updates it with the new observation, which yields filtered estimates that use only past and current data. Kalman smoothing then uses the full sample to refine the estimates at each date.
If the coefficients were treated as fixed at a single value, the regression error would contain the accumulated coefficient shocks. That composite error is generally serially correlated and may be heteroscedastic, so ordinary least squares would not be efficient. TVP-GLS handles this within the state-space form rather than through a separate weighting step. The Kalman recursions carry out a generalised least-squares calculation over the stacked system, so the coefficient paths come directly from the measurement and transition equations.
Whether a coefficient varies over time is assessed by testing Q = 0 against Q being positive, typically using a likelihood-ratio test or Bayesian posterior summaries. Because Q = 0 lies on the boundary of the parameter space, the likelihood-ratio statistic does not follow the standard chi-square distribution. Its critical values should be obtained by simulation or from a mixture reference distribution. Coefficient levels at each date are summarised from the filtered or smoothed estimates.
Common pitfalls
- Setting Q too large produces erratic coefficient paths that follow noise rather than real structural change.
- Treating the residuals of a time-varying model as independent and identically distributed leads to invalid standard errors and over-rejection in hypothesis tests.
- Reading the smoothed coefficients near the start and end of the sample as precisely as those in the middle, since their uncertainty is largest at the boundaries.
- Applying the method to a short sample without recognising that Q cannot be estimated reliably, which can produce spurious drift.
Frequently asked questions
How does time-varying parameter GLS differ from rolling-window OLS?
Rolling-window OLS re-estimates a constant-coefficient model on a moving sub-sample and discards observations outside the window. The state-space model uses all observations together and gives coefficient paths with a probabilistic account of uncertainty, without requiring a window length to be chosen.
How is the coefficient drift covariance Q estimated?
Q is commonly estimated by maximum likelihood, treating it as a hyperparameter of the state-space model. Bayesian approaches place a prior on Q and summarise its posterior, often by MCMC. A likelihood-ratio test of Q = 0 is used to assess whether time variation is statistically supported. Because Q = 0 lies on the boundary of the parameter space, the test statistic does not follow the standard chi-square distribution, and critical values should be obtained by simulation or from a mixture reference distribution.
Is a separate GLS weighting step needed in TVP-GLS?
No separate weighting step is needed for the state-space estimates. The regression error obtained when the coefficients are held fixed contains the accumulated coefficient shocks and is serially correlated, and the Kalman filter and smoother account for this through the state equations. The GLS label refers to this generalised least-squares logic, and the coefficient paths come directly from the measurement and transition equations.
Can the method be used with several time-varying coefficients?
Yes. Each additional time-varying coefficient adds a row and a column to Q, which increases the number of hyperparameters to estimate. With many such coefficients and a limited sample, identification weakens, and shrinkage or other restrictions on Q are commonly used in that case.
Which software can estimate this type of model?
Many general-purpose statistical environments support state-space estimation through the Kalman filter, but not all allow custom state equations. Check that the software you use can specify a random-walk transition for the coefficients before relying on it.
Related methods
Sources
Cooley, T. F., & Prescott, E. C. (1976). Estimation in the presence of stochastic parameter variation. Econometrica, 44(1), 167–184.
Open DOI referenceHarvey, A. C. (1990). Forecasting, Structural Time Series Models and the Kalman Filter. Cambridge University Press.
ISBN: 9780521321969