Bayesian Global Vector Autoregressions
Overview
Estimation of Bayesian Global Vector Autoregressions (BGVAR) with different prior setups and the possibility to introduce stochastic volatility. Built-in priors include the Minnesota, the stochastic search variable selection and Normal-Gamma (NG) prior. For a reference see also Crespo Cuaresma, J., Feldkircher, M. and F. Huber (2016) "Forecasting with Global Vector Autoregressive Models: a Bayesian Approach", Journal of Applied Econometrics, Vol. 31(7), pp. 1371-1391 doi:10.1002/jae.2504. Post-processing functions allow for doing predictions, structurally identify the model with short-run or sign-restrictions and compute impulse response functions, historical decompositions and forecast error variance decompositions. Plotting functions are also available. The package has a companion paper: Boeck, M., Feldkircher, M. and F. Huber (2022) "BGVAR: Bayesian Global Vector Autoregressions with Shrinkage Priors in R", Journal of Statistical Software, Vol. 104(9), pp. 1-28 doi:10.18637/jss.v104.i09.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-02
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 29includes a package overview page
- Examples that run
- 6%1 run in a plain check · 17 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 69%
- Documented parameters
- 100%
- Return-value docs
- 88%
- Help pages citing references
- 38%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 72
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/mboeck11/bgvar on 2026-10-21.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.7.0Latest2026-10-10 · current release · diff ↗ ·
19 hours in CRAN's queue
Listed in CRAN's incoming queue from 2026-10-09 14:50 to 2026-10-10 10:19 UTC, in 5 readings. - RR 4.6.0 released · 2026-04-24
- 2.5.92025-09-22 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.5.82024-09-30 · diff ↗
- 2.5.72024-07-07 · diff ↗
- 2.5.62024-07-03 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.5.52023-12-13 · diff ↗
- 2.5.42023-12-11 · diff ↗
- 2.5.32023-12-09 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.5.22022-10-26 · diff ↗
- 2.5.12022-09-03 · diff ↗
- 2.5.02022-05-02 · diff ↗
- RR 4.2.0 released · 2022-04-22
Show 26 earlier eventsHide 26 earlier events
- 2.4.62022-04-12 · diff ↗
- 2.4.52022-04-04 · diff ↗
- 2.4.42022-04-01 · diff ↗
- 2.4.32021-11-06 · diff ↗
- 2.4.22021-11-04 · diff ↗
- 2.4.12021-11-04 · diff ↗
- 2.4.02021-10-06 · diff ↗
- 2.3.12021-09-10 · diff ↗ ·
removed 3 exports
.BVAR_linear_R, DIC, residual.corr.testadded 2 exports
dic, resid.corr.test - 2.3.0
- 2.2.42021-07-20 · diff ↗
- unarchivedReturned to CRAN2021-07-17
- 2.2.32021-07-17 · diff ↗
- archivedRemoved from CRAN2021-05-18check problems were not corrected in time
- RR 4.1.0 released · 2021-05-18
- 2.2.02021-05-03 · diff ↗ ·
removed 2 exports
cond.predict, irfcfadded 2 exports
add_shockinfo, get_shockinfo - 2.1.52020-11-15 · diff ↗
- unarchivedReturned to CRAN2020-11-14
- 2.1.4
- archivedRemoved from CRAN2020-11-04check problems were not corrected in time
- 2.1.32020-09-30 · diff ↗
- 2.1.22020-09-14 · diff ↗
- 2.1.12020-09-07 · diff ↗
- 2.1.02020-09-07 · diff ↗ ·
removed 5 exports
IRF, IRF.cf, fevd.decomp, gfevd.decomp, hd.decompadded 5 exports
fevd, gfevd, hd, irf, irfcf - 2.0.12020-06-24 · diff ↗
- 2.0.02020-06-19
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-06-19
- Total releases
- 31 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 892 KB / 4 files
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("BGVAR")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-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.