Package: bvars 1.0

Tomasz Woźniak

bvars: Bayesian Forecasting with Large Vector Autoregressions

Provides fast and efficient procedures for Bayesian estimation and forecasting using state-of-the-art Vector Autoregressions. This package includes the model proposed by Chan (2020) <doi:10.1080/07350015.2018.1451336>, that is, a Bayesian Vector Autoregression with Minnesota priors and a flexible structure of the error term specification. The latter includes: conditional multivariate normal or Student’s t distributions, as well as homoskedastic or heteroskedastic specifications with a common volatility modelled by centred or non-centred Stochastic Volatility. Additionally, the package facilitates predictive analyses using density forecasting and forecast-error variance decompositions. All this is complemented by simple workflows, useful plots and summary functions, and comprehensive documentation. The 'bvars' package aligns with R packages 'bsvars' by Woźniak (2024) <doi:10.32614/CRAN.package.bsvars>, 'bsvarSIGNs' by Wang & Woźniak (2025) <doi:10.32614/CRAN.package.bsvarSIGNs>, and 'bpvars' by Woźniak (2025) <doi:10.32614/CRAN.package.bpvars> regarding objects, workflows, and code structure, and they constitute an integrated toolset.

Authors:Rui Liu [aut], Andrés Ramirez Hassan [aut], Tomasz Woźniak [aut, cre, cph]

bvars_1.0.tar.gz
bvars_1.0.tar.gz(r-4.7-arm64)bvars_1.0.tar.gz(r-4.7-x86_64)bvars_1.0.tar.gz(r-4.6-arm64)bvars_1.0.tar.gz(r-4.6-x86_64)
bvars_1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
bvars/json (API)
NEWS

# Install 'bvars' in R:
install.packages('bvars', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bsvars/bvars/issues

Pkgdown/docs site:https://bsvars.org

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • us_macro_chan - A 20-variable US macroeconomic system for the period 1959 Q4 - 2013 Q4

On CRAN:

Conda:

openblascppopenmp

1.70 score 6 scripts 7 exports 11 dependencies

Last updated from:d992ea03f0. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK163
linux-devel-x86_64OK129
source / vignettesOK208
linux-release-arm64OK153
linux-release-x86_64OK242
wasm-releaseOK133

Exports:compute_shocksforecastrmatnorm1specify_bvarspecify_posterior_bvarspecify_prior_bvarspecify_starting_values_bvar

Dependencies:bsvarscodagenericsGIGrvglatticeR6RcppRcppArmadilloRcppProgressRcppTNstochvol