MCMC Estimation of Bayesian Vectorautoregressions
Overview
Efficient Markov Chain Monte Carlo (MCMC) algorithms for the fully Bayesian estimation of vectorautoregressions (VARs) featuring stochastic volatility (SV). Implements state-of-the-art shrinkage priors following Gruber & Kastner (2025) doi:10.1016/j.ijforecast.2025.02.001. Efficient equation-per-equation estimation following Kastner & Huber (2020) doi:10.1002/for.2680 and Carrerio et al. (2021) doi:10.1016/j.jeconom.2021.11.010.
- fixed CRAN check (memory access) issues. Thanks to Brian Ripley for pointing them out.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 5 earlier changesHide 5 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-04-10
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-09
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 30
- Examples that run
- 100%28 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 78%
- Help pages citing references
- 20%
Downloads
Repository
- PRs merged (all time)
- 80%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 10
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/luisgruber/bayesianvars on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-03-03 · The repository has a site deploy workflow
pkgdown site last built 2026-03-03
Dependencies
Installing bayesianVARs adds 21 packages (12 with compiled code, 22 MB of source tarballs). Heaviest: factorstochvol 4.2 MB, corrplot 3.6 MB, stochvol 3.2 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.8Latest
- 0.1.6
- RR 4.5.0 released · 2025-04-11
- 0.1.52024-11-13 · diff ↗
- unarchivedReturned to CRAN2024-09-06
- 0.1.42024-09-06 · diff ↗
- archivedRemoved from CRAN2024-09-04issues were not corrected in time
- 0.1.32024-06-26 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.1.22024-01-20 · diff ↗
- 0.1.12024-01-17 · diff ↗
- 0.1.02024-01-13
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-01-13
- Total releases
- 8 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 37 KB / 1 file
- Download size
- 774 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("bayesianVARs")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.ijforecast.2025.02.001.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.