Bayesian Vector Error Correction Model (Bayesian VECM)
Bayesian Vector Error Correction Model · Also known as: Bayesian VECM, B-VECM, Bayesian cointegrated VAR, Bayesian vector error correction
The Bayesian VECM combines the classical Vector Error Correction Model — which captures both short-run dynamics and long-run cointegrating relationships among non-stationary multivariate time series — with Bayesian prior distributions over the cointegrating rank and coefficient matrices. This allows principled uncertainty quantification, incorporation of economic theory as priors, and coherent inference even in small samples.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
+1 more
When to use it
Use a Bayesian VECM when you have two or more non-stationary (I(1)) multivariate time series that are theoretically expected to share long-run equilibrium relationships, and you want to model both the cointegrating structure and the short-run adjustment dynamics. It is especially valuable with small or medium samples where classical Johansen tests have low power, when you want to incorporate prior economic knowledge (e.g., purchasing power parity, covered interest parity), or when full uncertainty quantification over the cointegrating rank is required. Do not use it when variables are stationary (a Bayesian VAR in levels is simpler), when the panel dimension dwarfs the time dimension (use panel VECM instead), or when computation time is prohibitive and a classical VECM with Johansen pre-testing is adequate.
Strengths & limitations
- Provides a full posterior distribution over all parameters, including the cointegrating rank, enabling principled uncertainty quantification.
- Incorporates prior economic theory directly into the model, which is especially beneficial for short macroeconomic samples.
- Avoids the pre-testing distortions of the two-step Johansen procedure by jointly estimating rank and dynamics.
- Credible intervals for impulse responses reflect genuine parameter uncertainty, unlike classical bootstrap intervals under fixed rank.
- Handles small samples more reliably than classical Johansen-based inference, which can severely over- or under-estimate the rank.
- Computationally intensive: MCMC sampling for large systems (many variables, many lags) can be slow and requires careful convergence diagnosis.
- Posterior results depend on prior specification; poorly chosen priors on alpha or beta can distort inference, particularly with small samples.
- Interpretation of the cointegrating vectors is not automatic — identification restrictions must still be imposed on beta for economic interpretability.
- Software support is less widespread than classical VECM; dedicated packages (e.g., BVAR in R, custom Stan code) are needed.
Frequently asked
How does a Bayesian VECM differ from the classical Johansen approach?
The classical Johansen approach tests for cointegrating rank via sequential likelihood-ratio tests and then conditions all subsequent inference on the selected rank. The Bayesian VECM treats rank as an unknown parameter with a prior distribution, so the posterior averages over rank uncertainty rather than committing to a single value — yielding more honest uncertainty quantification, especially in small samples.
Do I need to pre-test for unit roots before fitting a Bayesian VECM?
In principle, no — the Bayesian framework can treat integration order as uncertain. In practice, most applied work still confirms that variables are I(1) (e.g., via ADF or PP tests) before specifying the VECM, because mixing I(0) and I(1) variables in the error-correction term produces a misspecified model regardless of the inferential approach.
How do I choose priors for the cointegrating vectors?
Reference priors (Villani 2005) are a natural default when no strong prior knowledge is available — they are diffuse yet yield proper posteriors. When economic theory implies specific long-run ratios (e.g., a unit homogeneity restriction in a money-demand model), informative priors centred on those values can improve small-sample precision.
What software can I use to estimate a Bayesian VECM?
The BVAR package in R provides routines for Bayesian VAR and VECM estimation. Stan and JAGS can implement custom Bayesian VECM specifications. In Python, PyMC allows flexible MCMC-based VECM models. Commercial software such as EViews and Matlab's Econometrics Toolbox also support Bayesian VAR extensions that can be adapted to the VECM form.
How do I report impulse responses from a Bayesian VECM?
Draw impulse responses from each MCMC posterior sample and summarise the resulting distribution: report the posterior median as the point estimate and the 16th–84th or 5th–95th percentile bands as credible intervals. This propagates full parameter uncertainty into the dynamic analysis, unlike classical bootstrap bands that condition on the estimated rank.
Sources
- Kleibergen, F., & Paap, R. (2002). Priors, posteriors and Bayes factors for a Bayesian analysis of cointegration. Journal of Econometrics, 111(2), 223–249. DOI: 10.1016/s0304-4076(02)00105-7 ↗
- Villani, M. (2005). Bayesian reference analysis of cointegration. Econometric Theory, 21(2), 326–357. DOI: 10.1017/s026646660505019x ↗
How to cite this page
ScholarGate. (2026, June 3). Bayesian Vector Error Correction Model. ScholarGate. https://scholargate.app/en/econometrics/bayesian-vecm
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Bayesian ARIMA modelEconometrics↔ compare
- Bayesian VAR modelEconometrics↔ compare
- Panel VECMEconometrics↔ compare
- Structural VAREconometrics↔ compare
- Vector Error Correction ModelEconometrics↔ compare