Skip to content

BGVAR

Bayesian Global Vector Autoregressions

v2.5.9 · Sep 22, 2025 · GPL-3

Description

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>.

Downloads

552

Last 30 days

7303rd

1.7K

Last 90 days

7.6K

Last year

Trend: -18.5% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (10 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘BGVAR/libs/BGVAR.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘BGVAR/libs/BGVAR.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'BGVAR/libs/x64/BGVAR.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.9Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   6.5Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.9Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   6.6Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.6Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   1.3Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘BGVAR/libs/BGVAR.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 10.9Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   6.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 10.9Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   6.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.6Mb
  sub-directories of 1Mb or more:
    doc    2.8Mb
    libs   1.3Mb

Dependency Network

Dependencies Reverse dependencies abind bayesm coda GIGrvg knitr MASS Matrix Rcpp RcppParallel readxl stochvol xts zoo BGVAR

Version History

new 2.5.9 Mar 10, 2026
updated 2.5.9 ← 2.5.8 diff Sep 21, 2025
updated 2.5.8 ← 2.5.7 diff Sep 29, 2024
updated 2.5.7 ← 2.5.6 diff Jul 6, 2024
updated 2.5.6 ← 2.5.5 diff Jul 2, 2024
updated 2.5.5 ← 2.5.4 diff Dec 12, 2023
updated 2.5.4 ← 2.5.3 diff Dec 10, 2023
updated 2.5.3 ← 2.5.2 diff Dec 8, 2023
updated 2.5.2 ← 2.5.1 diff Oct 25, 2022
updated 2.5.1 ← 2.5.0 diff Sep 2, 2022
updated 2.5.0 ← 2.4.6 diff May 1, 2022
updated 2.4.6 ← 2.4.5 diff Apr 11, 2022
updated 2.4.5 ← 2.4.4 diff Apr 3, 2022
updated 2.4.4 ← 2.4.3 diff Mar 31, 2022
updated 2.4.3 ← 2.4.2 diff Nov 5, 2021
updated 2.4.1 ← 2.4.0 diff Nov 3, 2021
updated 2.4.2 ← 2.4.1 diff Nov 3, 2021
updated 2.4.0 ← 2.3.1 diff Oct 5, 2021
updated 2.3.1 ← 2.3.0 diff Sep 9, 2021
updated 2.3.0 ← 2.2.4 diff Aug 9, 2021