Package: bsvarSIGNs 2.0.0.9000

Xiaolei Wang

bsvarSIGNs: Bayesian SVARs with Sign, Zero, and Narrative Restrictions

Implements state-of-the-art algorithms for the Bayesian analysis of Structural Vector Autoregressions (SVARs) identified by sign, zero, and narrative restrictions. The core model is based on a flexible Vector Autoregression with estimated hyper-parameters of the Minnesota prior and the dummy observation priors as in Giannone, Lenza, Primiceri (2015) <doi:10.1162/REST_a_00483>. The sign restrictions are implemented employing the methods proposed by Rubio-Ramírez, Waggoner & Zha (2010) <doi:10.1111/j.1467-937X.2009.00578.x>, while identification through sign and zero restrictions follows the approach developed by Arias, Rubio-Ramírez, & Waggoner (2018) <doi:10.3982/ECTA14468>. Furthermore, our tool provides algorithms for identification via sign and narrative restrictions, in line with the methods introduced by Antolín-Díaz and Rubio-Ramírez (2018) <doi:10.1257/aer.20161852>. Users can also estimate a model with sign, zero, and narrative restrictions imposed at once. The package facilitates predictive and structural analyses using impulse responses, forecast error variance and historical decompositions, forecasting and conditional forecasting, as well as analyses of structural shocks and fitted values. All this is complemented by colourful plots, user-friendly summary functions, and comprehensive documentation including the vignette by Wang & Woźniak (2024) <doi:10.48550/arXiv.2501.16711>. The 'bsvarSIGNs' package is aligned regarding objects, workflows, and code structure with the R package 'bsvars' by Woźniak (2024) <doi:10.32614/CRAN.package.bsvars>, and they constitute an integrated toolset. It was granted the Di Cook Open-Source Statistical Software Award by the Statistical Society of Australia in 2024.

Authors:Xiaolei Wang [aut, cre], Tomasz Woźniak [aut]

bsvarSIGNs_2.0.0.9000.tar.gz
bsvarSIGNs_2.0.0.9000.zip(r-4.7)bsvarSIGNs_2.0.0.9000.zip(r-4.6)bsvarSIGNs_2.0.0.9000.zip(r-4.5)
bsvarSIGNs_2.0.0.9000.tgz(r-4.6-x86_64)bsvarSIGNs_2.0.0.9000.tgz(r-4.6-arm64)bsvarSIGNs_2.0.0.9000.tgz(r-4.5-x86_64)bsvarSIGNs_2.0.0.9000.tgz(r-4.5-arm64)
bsvarSIGNs_2.0.0.9000.tar.gz(r-4.7-arm64)bsvarSIGNs_2.0.0.9000.tar.gz(r-4.7-x86_64)bsvarSIGNs_2.0.0.9000.tar.gz(r-4.6-arm64)bsvarSIGNs_2.0.0.9000.tar.gz(r-4.6-x86_64)
bsvarSIGNs_2.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
bsvarSIGNs/json (API)
NEWS

# Install 'bsvarSIGNs' in R:
install.packages('bsvarSIGNs', repos = c('https://bsvars.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bsvars/bsvarsigns/issues

Pkgdown/docs site:https://bsvars.org

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • monetary - A 6-variable US monetary policy data, from 1965 Jan to 2007 Aug
  • optimism - A 5-variable US business cycle data, from 1955 Q1 to 2004 Q4

On CRAN:

Conda:

bayesian-inferenceeconometricsvector-autoregressionopenblascppopenmp

6.20 score 30 stars 35 scripts 442 downloads 5 exports 11 dependencies

Last updated from:deddbf144b. Checks:11 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR175
linux-devel-x86_64ERROR167
source / vignettesOK251
linux-release-arm64ERROR179
linux-release-x86_64ERROR156
macos-release-arm64ERROR106
macos-release-x86_64ERROR290
macos-oldrel-arm64ERROR98
macos-oldrel-x86_64ERROR314
windows-develERROR192
windows-releaseERROR276
windows-oldrelERROR164
wasm-releaseOK154

Exports:specify_bsvarSIGNspecify_identification_bsvarSIGNspecify_narrativespecify_posterior_bsvarSIGNspecify_prior_bsvarSIGN

Dependencies:bsvarscodagenericsGIGrvglatticeR6RcppRcppArmadilloRcppProgressRcppTNstochvol

Bayesian Analyses of Structural Vector Autoregressions with Sign, Zero, and Narrative Restrictions Using the R Package bsvarSIGNs

Rendered frombsvarSIGNs_vignette.Rnwusingknitr::knitron May 26 2026.

Last update: 2025-01-29
Started: 2025-01-29