Hierarchical Bayesian Vector Autoregression
Overview
Estimation of hierarchical Bayesian vector autoregressive models following Kuschnig & Vashold (2021) doi:10.18637/jss.v100.i14. Implements hierarchical prior selection for conjugate priors in the fashion of Giannone, Lenza & Primiceri (2015) doi:10.1162/REST_a_00483. Functions to compute and identify impulse responses, calculate forecasts, forecast error variance decompositions and scenarios are available. Several methods to print, plot and summarise results facilitate analysis.
- Add historical decompositions and RMSE/LPS, and WAIC for analysis
- Improve the algorithm to draw sign restrictions
- Shocks are now built and checked per variable
- Fix the CRAN *NOTE* on missing "tangle output"
- Update FRED-datasets to 2023-10 vintage
- Newer FRED-QD files include (unannounced) small naming changes
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 26includes a package overview page
- Examples that run
- 33%8 run in a plain check · 16 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 76%
- Return-value docs
- 100%
- Help pages citing references
- 31%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/nk027/bvar on 2026-10-18.
Dependencies
Installing BVAR adds 1 package (1 with compiled code, 1.0 MB of source tarballs). Heaviest: mvtnorm 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.5Latest
- RR 4.3.0 released · 2023-04-21
- 1.0.42023-03-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.32022-02-25 · diff ↗
- 1.0.2
- RR 4.1.0 released · 2021-05-18
- 1.0.12020-09-27 · diff ↗
- 1.0.02020-05-06 · diff ↗ ·
removed 4 exports
as.mcmc.bvar, bv_plot, bv_plot_density, bv_plot_traceadded 5 exports
irf<-, predict<-, fred_code, fred_transform, par_bvar - RR 4.0.0 released · 2020-04-24
- 0.2.22020-02-20 · diff ↗
- 0.2.12019-09-21 · diff ↗
- 0.2.02019-09-05 · diff ↗ ·
removed 2 exports
bv_plot_fcast, bv_plot_irfadded 7 exports
as.mcmc.bvar, bv_metropolis, bv_minnesota, companion, fevd, independent_index, irf
Package metadata
- First published
- 2019-05-03
- Total releases
- 11 / 7 yrs
- License
- GPL-3 | file LICENSE OSI
- Minimum R
- ≥ 3.3.0
- Bundled data
- 338 KB / 2 files
- Download size
- 847 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("BVAR")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.