Main Content

Bayesian Vector Autoregression Models

Posterior estimation and simulation using a variety of prior models for VARX model coefficients and innovations covariance matrix

A Bayesian vector autoregression (VAR) model assumes a prior probability distribution on all model coefficients (AR coefficient matrices, model constant vector, linear time trend vector, and exogenous regression coefficient matrix) and the innovations covariance matrix. When combined with data to form a posterior distribution, this framework can lead to a more flexible model and intuitive inferences.

To start a Bayesian VAR analysis, create the prior model object that best describes your prior assumptions on the joint distribution of the coefficients and innovations covariance matrix. bayesvarm creates Bayesian VAR models with a Minnesota prior regularization structure. Then, using the prior model and data, estimate characteristics of the posterior distributions, simulate from the posterior distributions, or forecast responses using the predictive posterior distribution.

Objects

normalbvarmBayesian vector autoregression (VAR) model with normal conjugate prior and fixed covariance for data likelihood (Since R2020a)
conjugatebvarmBayesian vector autoregression (VAR) model with conjugate prior for data likelihood (Since R2020a)
semiconjugatebvarmBayesian vector autoregression (VAR) model with semiconjugate prior for data likelihood (Since R2020a)
diffusebvarmBayesian vector autoregression (VAR) model with diffuse prior for data likelihood (Since R2020a)
empiricalbvarmBayesian vector autoregression (VAR) model with samples from prior or posterior distribution (Since R2020a)

Functions

expand all

bayesvarmCreate prior Bayesian vector autoregression (VAR) model object (Since R2020a)
estimateEstimate posterior distribution of Bayesian vector autoregression (VAR) model parameters (Since R2020a)
summarizeDistribution summary statistics of Bayesian vector autoregression (VAR) model (Since R2020a)
simsmoothSimulation smoother of Bayesian vector autoregression (VAR) model (Since R2020a)
simulateSimulate coefficients and innovations covariance matrix of Bayesian vector autoregression (VAR) model (Since R2020a)
forecastForecast responses from Bayesian vector autoregression (VAR) model (Since R2020a)