Skip to content

BGVAR: Bayesian Global Vector Autoregressions with Shrinkage Priors in R

No. 395

Maximilian Böck, Martin Feldkircher and Florian Huber

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.


Read the paper | Code | See all working papers

Working Papers Subscription