- Introduced by
- Giorgio Primiceri
- Year
- 2005
- Type
- Bayesian state-space model
- Family
- Multivariate time series
What does it do?
TVP-VAR is a Bayesian multivariate time-series model in which the VAR coefficients and the shock covariance matrix are allowed to change over time, with the time-varying parameters following random-walk processes.
Primiceri (2005) developed the model to study how U.S. monetary policy and private-sector behaviour changed over the last forty years. Because the model does not require break dates to be fixed in advance, it is suited to settings where the relationships among variables are suspected to be unstable.
The intuition behind the method
A standard VAR assumes that the coefficients linking each variable to its lags are fixed over the whole sample, so the same dynamics govern every decade. TVP-VAR removes that assumption by letting each coefficient drift from period to period as a random walk, so estimated dynamics can change gradually rather than at a chosen break date. The model also lets the size of the shocks change over time through stochastic volatility, which matters when the sample includes episodes such as the Great Moderation or the Global Financial Crisis. Because the drift is estimated from the data, the researcher does not need to specify when relationships changed.
History
Primiceri (2005) developed the TVP-VAR framework to study U.S. monetary policy. The paper modelled monetary policy and private-sector behaviour as a time-varying structural VAR over the last forty years, allowing both the coefficients and the innovation covariance matrix to change, and proposed an efficient MCMC algorithm for estimation. Its main empirical conclusions concerned changes in the systematic and non-systematic components of U.S. monetary policy.
When to use it
Use TVP-VAR when theory or historical evidence suggests that the relationships among macroeconomic or financial variables shifted during the sample, for example across monetary policy regimes, financial crises or structural reforms, and the question concerns how dynamics or shock variances evolve. The sample must be long enough for the random-walk innovations to be distinguished from estimation noise, so short samples are a poor fit. The model assumes that the coefficients follow random walks and that the log-volatilities do too, so it is less suitable when changes are expected to be abrupt. Avoid it for short samples, for high-dimensional systems without shrinkage priors, or for purely cross-sectional questions. For discrete regime changes a threshold VAR may fit better, factor-augmented VARs suit large variable sets, and time-varying dynamic factor models suit high-dimensional panels.
Limitations and considerations
- MCMC estimation becomes computationally demanding as the number of variables and lags grows, because the number of time-varying parameters grows with them
- Identifying smooth time variation needs a long sample; with short samples, apparent drift in the estimates can reflect noise
- The random-walk specification for the parameters is restrictive when changes are abrupt, because the drift is gradual by construction
- Results can depend on the priors for the innovation variances, which govern how far the parameters are allowed to move
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Allows time variation in both the coefficients and the shock variances at once, without fixing break dates in advance
- Estimated in a Bayesian framework, so parameter uncertainty is summarised by posterior credible bands
- Yields time-varying impulse responses, showing how the transmission of a shock changes across periods
- Has been applied widely in empirical macroeconomics, which makes its results easier to compare with earlier studies
Applications
- Estimating time-varying monetary policy transmission mechanisms and comparing effectiveness across different central bank regimes
- Analysing shifts in fiscal multipliers during austerity episodes versus expansionary periods
- Studying the evolution of cross-country business cycle synchronisation before and after major financial crises
- Modelling time-varying connectedness and spillovers among financial markets or commodity prices
- Investigating changing exchange-rate pass-through to domestic inflation in emerging market economies
How it works
How it works
At each period t the VAR coefficient matrices A_{k,t} and the residual covariance matrix Sigma_t carry a time subscript, so the lag structure linking y_t to y_{t-1}, ..., y_{t-p} is allowed to differ across periods. The residual u_t is Gaussian with mean zero and covariance Sigma_t. Impulse responses and reduced-form dynamics therefore change over time as the coefficients change.
Formula
y_t = A_{0,t} + A_{1,t} y_{t-1} + \cdots + A_{p,t} y_{t-p} + u_t, \quad u_t \sim \mathcal{N}(0, \Sigma_t)The covariance matrix is written as Sigma_t = A_t^{-1} H_t (A_t^{-1})', where A_t is a lower-triangular matrix with unit diagonal governing contemporaneous relations among the variables. H_t is diagonal with entries exp(h_{i,t}), so the diagonal entries are variances and the h_{i,t} are their log-volatilities. Writing the diagonal in exponential form keeps the variances positive, and Sigma_t stays positive definite as long as A_t is invertible. Because A_t is triangular, the structural shocks, defined as A_t u_t, are mutually uncorrelated with diagonal covariance H_t. This is a recursive (Cholesky-type) identification: the structural shocks are identified once a variable ordering is chosen, and impulse responses to them depend on that ordering, which must be justified on economic grounds.
Formula
\Sigma_t = A_t^{-1} H_t (A_t^{-1})^{\prime}, \quad H_t = \operatorname{diag}(e^{h_{1,t}}, \ldots, e^{h_{n,t}})The stacked VAR coefficients theta_t, the free elements of A_t stacked in alpha_t, and the log-volatilities h_t each follow random-walk state equations driven by the innovations eta_t, zeta_t and xi_t. Because each block is a random walk, the parameters drift smoothly from period to period rather than jumping. The variances of these innovations control how far each block can move, so their priors strongly influence the estimated amount of time variation.
Formula
\theta_t = \theta_{t-1} + \eta_t, \quad \alpha_t = \alpha_{t-1} + \zeta_t, \quad h_t = h_{t-1} + \xi_tThe joint posterior over all time-varying parameter sequences is proportional to the likelihood multiplied by the priors, as written in the mechanics. It is approximated with a multi-block MCMC algorithm that draws the state sequences block by block, conditional on the other blocks, and early draws are discarded until the sampler has converged. Posterior summaries such as the median and credible bands are then used to describe time-varying impulse responses and variance decompositions.
Formula
p(\theta_{1:T}, \alpha_{1:T}, h_{1:T} \mid y_{1:T}) \propto p(y_{1:T} \mid \theta_{1:T}, \alpha_{1:T}, h_{1:T})\, p(\theta_{1:T})\, p(\alpha_{1:T})\, p(h_{1:T})Common pitfalls
- Using many variables without shrinkage priors creates a large number of time-varying parameters, which makes the posterior diffuse and unreliable
- Omitting stochastic volatility and holding the covariance matrix constant can push heteroskedasticity into the time-varying coefficients, biasing estimates of genuine parameter change
- Reporting only posterior point summaries without credible bands hides the uncertainty in time-varying impulse responses, which can be large
- Reading TVP-VAR responses as causal effects without a separately justified identification scheme for the structural shocks
- Reporting results under a single prior setting, without checking how the time-varying impulse responses and the estimated amount of drift respond to alternative priors on the state innovation variances, and without reporting MCMC convergence diagnostics for the retained draws
Frequently asked questions
How does TVP-VAR differ from a standard VAR with structural breaks?
A VAR with structural breaks assumes coefficients are piecewise constant and requires the researcher to specify, or statistically detect, exact break dates. TVP-VAR instead lets coefficients evolve continuously as random walks, so no breakpoints need to be fixed in advance. This flexibility comes at the cost of higher computational demand and a need for longer samples to identify smooth variation reliably.
Is stochastic volatility mandatory in a TVP-VAR?
No, but it is strongly recommended. Without stochastic volatility the model assumes constant error variances, which is implausible for macroeconomic data spanning different volatility regimes, such as the Great Moderation or the Global Financial Crisis. Omitting it can cause the time-varying coefficients to absorb heteroskedasticity, biasing estimates of genuine parameter change. Primiceri (2005) models time variation in the innovation covariance matrix as well as in the coefficients.
What software can estimate TVP-VAR?
Estimation generally requires custom code. The efficient MCMC algorithm proposed in the original paper is the usual reference. General Bayesian tools such as Stan or PyMC can be used for custom specifications, but sampling latent time-varying states of this size is typically slow and requires substantial custom blocking, so such tools should be used only with considerable specification effort. Before relying on a software package, check its documentation to confirm that it implements the time-varying specification you need.
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 reference