Working Paper

BGVAR: Bayesian Global Vector Autoregressions with Shrinkage Priors in R


Abstract: This document introduces the R library BGVAR to estimate Bayesian global vector autoregressions (GVAR) with shrinkage priors and stochastic volatility. The Bayesian treatment of GVARs allows us to include large information sets by mitigating issues related to overfitting. This improves inference and often leads to better out-of-sample forecasts. Computational efficiency is achieved by using C++ to considerably speed up time-consuming functions. To maximize usability, the package includes numerous functions for carrying out structural inference and forecasting. These include generalized and structural impulse response functions, forecast error variance and historical decompositions as well as conditional forecasts.

Keywords: Global Vector Autoregressions; Bayesian inference; time series analysis; R;

JEL Classification: C30; C50; C87; F40;

https://doi.org/10.24149/gwp395

Access Documents

File(s): File format is application/pdf https://www.dallasfed.org/~/media/documents/institute/wpapers/2020/0395.pdf
Description: Full text

File(s): File format is text/html https://cran.r-project.org/web/packages/BGVAR/index.html
Description: Code

Authors

Bibliographic Information

Provider: Federal Reserve Bank of Dallas

Part of Series: Globalization Institute Working Papers

Publication Date: 2020-08-20

Number: 395