bpvars: Forecasting with Bayesian Panel Vector Autoregressions
Provides Bayesian estimation and forecasting of dynamic panel data using
Bayesian Panel Vector Autoregressions with hierarchical prior distributions.
The models include country-specific VARs that share a global prior
distribution that extend the model by Jarociński (2010) <doi:10.1002/jae.1082>.
Under this prior expected value, each country's system follows
a global VAR with country-invariant parameters. Further flexibility is
provided by the hierarchical prior structure that retains the Minnesota prior
interpretation for the global VAR and features estimated prior covariance
matrices, shrinkage, and persistence levels. Bayesian forecasting is developed
for models including exogenous variables, allowing conditional forecasts given
the future trajectories of some variables and restricted forecasts assuring
that rates are forecasted to stay positive and less than 100. The package
implements the model specification, estimation, and forecasting routines,
facilitating coherent workflows and reproducibility. It also includes automated
pseudo-out-of-sample forecasting and computation of forecasting performance
measures. Beautiful plots,
informative summary functions, and extensive documentation complement all
this. An extraordinary computational speed is achieved thanks to employing
frontier econometric and numerical techniques and algorithms written in 'C++'.
The 'bpvars' package is aligned regarding objects, workflows, and code
structure with the 'R' packages 'bsvars' by
Woźniak (2024) <doi:10.32614/CRAN.package.bsvars> and 'bsvarSIGNs' by
Wang & Woźniak (2025) <doi:10.32614/CRAN.package.bsvarSIGNs>, and they
constitute an integrated toolset. Copyright: 2025 International Labour
Organization.
| Version: |
1.0 |
| Depends: |
R (≥ 4.1.0), bsvars (≥ 3.2) |
| Imports: |
R6, Rcpp (≥ 1.0.12), RcppProgress, RcppTN, tmvtnsim, generics |
| LinkingTo: |
bsvars, Rcpp, RcppArmadillo, RcppProgress, RcppTN |
| Suggests: |
tinytest |
| Published: |
2025-12-11 |
| DOI: |
10.32614/CRAN.package.bpvars (may not be active yet) |
| Author: |
Tomasz Woźniak
[aut, cre],
Miguel Sanchez-Martinez [ctb],
International Labour Organization [cph] |
| Maintainer: |
Tomasz Woźniak <wozniak.tom at pm.me> |
| BugReports: |
https://github.com/bsvars/bpvars/issues |
| License: |
GPL (≥ 3) |
| URL: |
https://bsvars.org/bpvars/ |
| NeedsCompilation: |
yes |
| Materials: |
README, NEWS |
| CRAN checks: |
bpvars results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=bpvars
to link to this page.