- Introduced by
- Primiceri (2005); Cogley & Sargent (2001, 2005)
- Year
- 2005
- Type
- Multivariate time-series model with drifting coefficients
- Family
- Econometrics / time series
What does it do?
The Time-Varying Parameter VAR (TVP-VAR) model extends the standard vector autoregression by allowing the coefficients and error covariances to evolve gradually over time.
Estimated via Bayesian methods and MCMC simulation, it captures how dynamic relationships between macroeconomic or financial variables shift across different economic regimes without requiring pre-specified break points.
The intuition behind the method
A conventional VAR assumes that the relationship between, say, inflation and unemployment is the same throughout the entire sample. The TVP-VAR relaxes that assumption: the slope coefficients and shock variances are treated as latent state variables that drift period by period according to a random walk. This makes the model flexible enough to detect structural change gradually, such as a Phillips-curve relationship that changes over time, without having to know in advance when or how many breaks occurred. The Bayesian posterior naturally quantifies uncertainty about the time path of each parameter.
History
The TVP-VAR model grew from efforts to describe changing dynamics in U.S. monetary policy. Primiceri (2005) estimated a time-varying structural VAR in which both the coefficients and the variance-covariance matrix of the innovations vary over time, and proposed an MCMC algorithm for evaluating the posterior. Cogley and Sargent are also commonly credited with earlier work on drifting-coefficient VARs, and many extensions of the framework have followed.
When to use it
Use TVP-VAR when you want to study how the dynamic interrelationships among several macroeconomic or financial variables change over a long time series, for example shifting monetary policy transmission, evolving international spillovers, or time-changing exchange-rate pass-through. The method is most appropriate when structural change is suspected to be gradual and continuous rather than a single sharp break, and when the sample is long. It is less suitable for short samples, where the number of parameters easily exceeds the information in the data and the priors become influential; the minimum workable length depends on the system size, the number of lags and the prior tightness. Avoid it as a pure forecasting exercise without substantive interest in parameter evolution: a constant-coefficient BVAR is cheaper to estimate and is the natural benchmark for checking whether parameter change matters for forecasts.
Limitations and considerations
- Computationally demanding: MCMC estimation for a moderate VAR with stochastic volatility can take a long time, and the cost rises as the system and the sample grow.
- Requires a sufficiently long time series; with short samples the prior heavily governs the results.
- Results are sensitive to prior hyperparameter choices, particularly the prior on the variance of the random-walk innovations (Q). Robustness checks across prior settings are essential.
- A time-varying model with many free parameter paths can fit the sample very closely, so in-sample fit is a weak guide. Compare out-of-sample density or predictive scores against a constant-coefficient BVAR benchmark.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Captures gradual, continuous structural change without requiring pre-specified break dates.
- Simultaneously models time-varying volatility (stochastic volatility), providing a richer picture of macroeconomic risk.
- Bayesian posterior yields credible intervals for every parameter path, making uncertainty explicit.
- Impulse response functions can be computed at any historical date, enabling before/after regime comparisons.
- The coefficient paths are given random-walk (nonstationary) priors, which allows drift but does not make the stationarity question disappear. The choice of data transformation and the variance Q must be justified, and results should be checked for sensitivity, because the implied parameter paths can wander over a long sample.
Applications
- Estimating time-varying monetary policy transmission and the changing effects of interest-rate shocks on output and inflation.
- Studying the evolution of exchange-rate pass-through to domestic prices across different exchange-rate regimes.
- Analysing shifting international business-cycle synchronisation and spillovers between economies.
- Investigating whether fiscal multipliers change over the business cycle or during financial crises.
- Modelling changing financial market linkages, such as stock-market or credit-spread co-movement over time.
- Central-bank nowcasting and risk assessment when the data-generating process is suspected to have changed.
How it works
How it works
The VAR system is written with coefficient matrices A_{0,t}, A_{1,t}, ..., A_{p,t} that all carry a time subscript. At each period t, the model behaves like a conventional VAR but with its own set of coefficients, so the dynamic responses to shocks can shift over time.
Formula
y_t = A_{0,t} + A_{1,t}y_{t-1} + \cdots + A_{p,t}y_{t-p} + \varepsilon_tThe stacked vector of all VAR coefficients alpha_t follows a random-walk state equation: alpha_t = alpha_{t-1} + eta_t, where eta_t is Gaussian noise with covariance Q. Parameters therefore drift smoothly rather than jumping discretely. Because a random walk's variance grows with the horizon, the size of Q governs how far the coefficient paths can move over the sample. Q, together with the prior on the initial state, is the most influential prior choice: a tighter prior on Q gives smoother, more nearly constant paths, a looser one allows more drift. Report results over a grid of Q settings and lag orders.
Formula
\alpha_t = \alpha_{t-1} + \eta_t, \quad \eta_t \sim N(0, Q)The displayed equation gives the random-walk law for the log of each volatility element, which captures shocks whose size intensifies or subsides across periods. In the specification of Primiceri (2005), the error covariance matrix is time-varying and the simultaneous relations among the variables are also allowed to change, so the displayed step describes only part of the covariance structure: the full covariance is decomposed into a time-varying lower-triangular matrix of simultaneous relations and a diagonal matrix of volatilities, and the log-volatility random walk applies to the diagonal elements.
Formula
\varepsilon_t \sim N(0, \Sigma_t), \quad \Sigma_t = A_t^{-1} H_t (A_t^{-1})', \quad \log h_{i,t} = \log h_{i,t-1} + \nu_{i,t}All unknowns, including the time paths of coefficients and volatilities and any hyperparameters, are treated as random variables. The joint posterior is proportional to the likelihood times the priors and is analytically intractable, so it has to be explored by simulation. The priors on the initial states, on Q and on the volatility innovations should be reported and varied in sensitivity checks.
Formula
p(\alpha_{1:T}, \Sigma_{1:T} \mid y_{1:T}) \propto p(y_{1:T} \mid \alpha_{1:T}, \Sigma_{1:T})\, p(\alpha_{1:T})\, p(\Sigma_{1:T})The posterior is explored via Markov Chain Monte Carlo (MCMC) using a multi-block Gibbs sampler: conditional on the volatilities, the coefficient path is drawn with the Carter-Kohn forward-filtering backward-sampling algorithm; conditional on the coefficients, the volatilities are drawn independently for each equation. Convergence diagnostics (Geweke test, trace plots) are checked before inference.
Common pitfalls
- Using a lag length selected by AIC/BIC from a constant VAR without re-checking its adequacy in the TVP specification; impulse responses can change substantially with the lag order.
- Running a single MCMC chain and accepting convergence without checking trace plots, Geweke statistics, or effective sample sizes — non-convergence silently biases inference.
- Interpreting smooth parameter paths as true structural change rather than statistical averaging; point estimates at each date inherit the uncertainty of the entire path.
- Ignoring the identification problem in the structural version (TVP-SVAR): time-varying impulse responses require additional restrictions (sign, exclusion, or narrative) that remain controversial.
- Forgetting that adding stochastic volatility substantially increases computation time and memory — benchmark against simpler models before scaling up.
Frequently asked questions
How is TVP-VAR different from a standard VAR with dummy variables for structural breaks?
A standard VAR with dummy variables assumes abrupt, discrete breaks at known dates. TVP-VAR lets every parameter drift continuously throughout the sample without requiring the researcher to specify when or how many breaks occurred. This makes it more flexible but also more demanding in terms of data length and computation.
Can I compute impulse response functions from a TVP-VAR?
Yes. Because the coefficient matrices differ at each date t, you can compute a separate set of impulse response functions (IRFs) for any historical episode. Comparing IRFs across dates — for example, the 1980s versus the 2000s — is the primary way researchers use TVP-VAR to document structural change in dynamic responses.
How long a time series do I need?
There is no firm threshold. The required length depends on the number of variables, the lag order and the prior tightness. In short samples the priors dominate the posteriors, so apparent parameter evolution may largely reflect the prior rather than the data. Sensitivity analysis to prior hyperparameters is especially important in small samples.
What software can estimate TVP-VAR?
Replication code for Primiceri (2005)-style models is typically written in MATLAB and is often distributed by authors of applied papers; Nakajima (2011) gives an overview of the methodology and applications. General-purpose econometric packages offer limited built-in support, so custom code or the replication files of the relevant paper are often needed.
Is TVP-VAR the same as a Markov-switching VAR?
No. Markov-switching VAR assumes a finite number of discrete regimes governed by a hidden Markov chain, so parameters switch abruptly between a small set of values. TVP-VAR assumes parameters drift continuously over time via a random walk. Both capture structural change but with very different assumptions about its nature.
Related methods
Sources
Primiceri, G. E. (2005). Time varying structural vector autoregressions and monetary policy. Review of Economic Studies, 72(3), 821-852.
Open DOI referenceCogley, T., & Nason, J. M. (1995). Effects of the Hodrick-Prescott filter on trend and difference stationary time series: Implications for business cycle research. Journal of Economic Dynamics and Control, 19(1-2), 253-278.
Open DOI referencePredictive Econometrics and Big Data (Studies in Computational Intelligence 753) (2018), p. ?