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 |
| Author: | Tomasz Woźniak |
| 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 |
| In views: | TimeSeries |
| CRAN checks: | bpvars results |
| Reference manual: | bpvars.html , bpvars.pdf |
| Package source: | bpvars_1.0.tar.gz |
| Windows binaries: | r-devel: bpvars_1.0.zip, r-release: bpvars_1.0.zip, r-oldrel: bpvars_1.0.zip |
| macOS binaries: | r-release (arm64): bpvars_1.0.tgz, r-oldrel (arm64): bpvars_1.0.tgz, r-release (x86_64): bpvars_1.0.tgz, r-oldrel (x86_64): bpvars_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=bpvars to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.