Package: bvars
Type: Package
Title: Bayesian Forecasting with Large Vector Autoregressions
Version: 1.1
Date: 2026-09-07
Authors@R: c(person("Rui", "Liu", , "rl3023@columbia.edu", role = c("aut"), comment = c(ORCID = "0009-0008-9348-8581")),
             person("Andrés", "Ramirez Hassan", , "aramir21@gmail.com", role = c("aut"), comment = c(ORCID = "0000-0002-0467-7903")),
             person("Tomasz", "Woźniak", , "wozniak.tom@pm.me", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2212-2378")),
           person("Fei", "Shang",, "sfmax2010@gmail.com", role = c("ctb"), comment = c(ORCID = "0000-0003-1908-3275", "co-authored the paper by Shang, Wang, Woźniak (2026), introduced major code corrections and improvements")),
           person("Xiaolei", "Wang",,"adamwang15@gmail.com", role = c("ctb"), comment = c(ORCID = "0009-0005-6192-9061", "co-authored the paper by Shang, Wang, Woźniak (2026)")))
Maintainer: Tomasz Woźniak <wozniak.tom@pm.me>
Description: Provides fast and efficient procedures for Bayesian estimation and forecasting using state-of-the-art Vector Autoregressions. This package includes the model proposed by Shang, Wang, Woźniak (2026) <doi:10.48550/arXiv.2608.28087> and Chan (2020) <doi:10.1080/07350015.2018.1451336>, that is, a Bayesian Vector Autoregression with Minnesota priors and a flexible structure of the error term specification. The latter includes: conditional multivariate normal or Student’s t distributions, as well as homoskedastic or heteroskedastic specifications with a common volatility modelled by centred or non-centred Stochastic Volatility. Additionally, the package facilitates predictive analyses using density forecasting and forecast-error variance decompositions. All this is complemented by simple workflows, useful plots and summary functions, and comprehensive documentation. The 'bvars' package aligns with R packages 'bsvars' by Woźniak (2026) <doi:10.32614/CRAN.package.bsvars>, 'bsvarSIGNs' by Wang & Woźniak (2026) <doi:10.32614/CRAN.package.bsvarSIGNs>, and 'bpvars' by Woźniak (2026) <doi:10.32614/CRAN.package.bpvars> regarding objects, workflows, and code structure, and they constitute an integrated toolset.
License: GPL (>= 3)
Depends: R (>= 4.1.0), RcppArmadillo, bsvars
Imports: generics, Rcpp (>= 1.0.14), RcppProgress, RcppTN, R6
LinkingTo: Rcpp, RcppArmadillo, RcppProgress, RcppTN, bsvars
URL: https://bsvars.org/bvars/
BugReports: https://github.com/bsvars/bvars/issues
Encoding: UTF-8
LazyData: true
Config/roxygen2/version: 8.0.0
Suggests: tinytest
NeedsCompilation: yes
Packaged: 2026-09-07 08:18:27 UTC; twozniak
Author: Rui Liu [aut] (ORCID: <https://orcid.org/0009-0008-9348-8581>),
  Andrés Ramirez Hassan [aut] (ORCID:
    <https://orcid.org/0000-0002-0467-7903>),
  Tomasz Woźniak [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-2212-2378>),
  Fei Shang [ctb] (ORCID: <https://orcid.org/0000-0003-1908-3275>,
    co-authored the paper by Shang, Wang, Woźniak (2026), introduced
    major code corrections and improvements),
  Xiaolei Wang [ctb] (ORCID: <https://orcid.org/0009-0005-6192-9061>,
    co-authored the paper by Shang, Wang, Woźniak (2026))
Repository: CRAN
Date/Publication: 2026-09-07 09:00:07 UTC
Built: R 4.6.1; x86_64-w64-mingw32; 2026-09-08 13:17:37 UTC; windows
Archs: x64
