Bayesian Forecasting with Large Vector Autoregressions
Overview
Provides fast and efficient procedures for Bayesian estimation and forecasting using state-of-the-art Vector Autoregressions. This package includes the model proposed by Shang, Wang, Woźniak (2026) doi:10.48550/arXiv.2608.28087 and 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 (2026) doi:10.32614/CRAN.package.bsvars, 'bsvarSIGNs' by Wang & Woźniak (2026) doi:10.32614/CRAN.package.bsvarSIGNs, and 'bpvars' by Woźniak (2026) doi:10.32614/CRAN.package.bpvars regarding objects, workflows, and code structure, and they constitute an integrated toolset.
The package is under intensive development, and more functionality will be provided soon! To see the package ROADMAP towards the next version.
Have a question, or suggestion, or wanna get in touch? Email us at [contact\@bsvars.org](mailto:contact@bsvars.org) forum.
1. Updated package description with the paper by Shang, Wang, Woźniak (2026)
2. Introduced a range of code improvements by Fei Shang in PRs #15-#21
3. Corrected documentation for argument stationary #14
4. Introduced **R6** coding for class Forecasts #11
5. Coded tests for package functions #11
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-06-09
Documentation
- Help pages
- 16 (1 internal)includes a package overview page
- Examples that run
- 100%15 run in a plain check
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 29%
- Help pages citing references
- 31%
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- 12
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/bsvars/bvars on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-07 · The repository has a site deploy workflow
pkgdown site last built 2026-09-07
Dependencies
Installing bvars adds 10 packages (6 with compiled code, 7.4 MB of source tarballs). Heaviest: stochvol 3.2 MB, Rcpp 1.8 MB, bsvars 1.2 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.1Latest
- 1.02026-06-08
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-08
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 18 KB / 1 file
- Download size
- 123 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("bvars")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.