{
  "_id": "6a155109acfb0bcc41d5a4e6",
  "Package": "bsvarSIGNs",
  "Type": "Package",
  "Title": "Bayesian SVARs with Sign, Zero, and Narrative Restrictions",
  "Version": "2.0.0.9000",
  "Date": "2025-01-28",
  "Authors@R": "c(person(\"Xiaolei\", \"Wang\", , \"adamwang15@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0005-6192-9061\")),person(\"Tomasz\", \"Woźniak\", , \"wozniak.tom@pm.me\", role = c(\"aut\"), comment = c(ORCID = \"0000-0003-2212-2378\")))",
  "Maintainer": "Xiaolei Wang <adamwang15@gmail.com>",
  "Description": "Implements state-of-the-art algorithms for the Bayesian\nanalysis of Structural Vector Autoregressions (SVARs)\nidentified by sign, zero, and narrative restrictions. The core\nmodel is based on a flexible Vector Autoregression with\nestimated hyper-parameters of the Minnesota prior and the dummy\nobservation priors as in Giannone, Lenza, Primiceri (2015)\n<doi:10.1162/REST_a_00483>. The sign restrictions are\nimplemented employing the methods proposed by Rubio-Ramírez,\nWaggoner & Zha (2010) <doi:10.1111/j.1467-937X.2009.00578.x>,\nwhile identification through sign and zero restrictions follows\nthe approach developed by Arias, Rubio-Ramírez, & Waggoner\n(2018) <doi:10.3982/ECTA14468>. Furthermore, our tool provides\nalgorithms for identification via sign and narrative\nrestrictions, in line with the methods introduced by\nAntolín-Díaz and Rubio-Ramírez (2018)\n<doi:10.1257/aer.20161852>. Users can also estimate a model\nwith sign, zero, and narrative restrictions imposed at once.\nThe package facilitates predictive and structural analyses\nusing impulse responses, forecast error variance and historical\ndecompositions, forecasting and conditional forecasting, as\nwell as analyses of structural shocks and fitted values. All\nthis is complemented by colourful plots, user-friendly summary\nfunctions, and comprehensive documentation including the\nvignette by Wang & Woźniak (2024)\n<doi:10.48550/arXiv.2501.16711>. The 'bsvarSIGNs' package is\naligned regarding objects, workflows, and code structure with\nthe R package 'bsvars' by Woźniak (2024)\n<doi:10.32614/CRAN.package.bsvars>, and they constitute an\nintegrated toolset. It was granted the Di Cook Open-Source\nStatistical Software Award by the Statistical Society of\nAustralia in 2024.",
  "License": "GPL (>= 3)",
  "URL": "https://bsvars.org/bsvarSIGNs/",
  "BugReports": "https://github.com/bsvars/bsvarSIGNs/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Repository": "https://bsvars.r-universe.dev",
  "Date/Publication": "2026-05-26 06:52:59 UTC",
  "RemoteUrl": "https://github.com/bsvars/bsvarsigns",
  "RemoteRef": "HEAD",
  "RemoteSha": "deddbf144b3df75865ae89d76a6866ea61d357bf",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-26 07:44:59 UTC",
    "User": "root"
  },
  "Author": "Xiaolei Wang [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-6192-9061>),\nTomasz Woźniak [aut] (ORCID: <https://orcid.org/0000-0003-2212-2378>)",
  "MD5sum": "ecfd47af1d05ade4d32ab4ce35b69343",
  "_user": "bsvars",
  "_type": "src",
  "_file": "bsvarSIGNs_2.0.0.9000.tar.gz",
  "_fileid": "271c1d2dc3952b37334f07465706ba2dab0daf921e49cb1c735afd0679150664",
  "_filesize": 1456256,
  "_sha256": "271c1d2dc3952b37334f07465706ba2dab0daf921e49cb1c735afd0679150664",
  "_created": "2026-05-26T07:44:59.000Z",
  "_published": "2026-05-26T07:51:37.794Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77829753584,
      "time": 175,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7211592955"
    },
    {
      "job": 77829753586,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7211591042"
    },
    {
      "job": 77829753660,
      "time": 179,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7211594278"
    },
    {
      "job": 77829753541,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7211587702"
    },
    {
      "job": 77829753597,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7211569990"
    },
    {
      "job": 77829753617,
      "time": 314,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7211634042"
    },
    {
      "job": 77829753644,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7211572673"
    },
    {
      "job": 77829753585,
      "time": 290,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7211627042"
    },
    {
      "job": 77829147599,
      "time": 251,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211540061"
    },
    {
      "job": 77829753569,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211586559"
    },
    {
      "job": 77829753708,
      "time": 192,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7211598213"
    },
    {
      "job": 77829753550,
      "time": 164,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7211590071"
    },
    {
      "job": 77829753605,
      "time": 276,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7211622884"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bsvars/bsvarsigns",
  "_commit": {
    "id": "deddbf144b3df75865ae89d76a6866ea61d357bf",
    "author": "adamwang15 <adamwang15@gmail.com>",
    "committer": "adamwang15 <adamwang15@gmail.com>",
    "message": "covid niw sampler\n",
    "time": 1779778379
  },
  "_maintainer": {
    "name": "Xiaolei Wang",
    "email": "adamwang15@gmail.com",
    "login": "adamwang15",
    "description": "Economics PhD student",
    "uuid": 125186547
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "RcppArmadillo",
      "role": "Depends"
    },
    {
      "package": "bsvars",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "bsvars",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "RcppProgress",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "bsvars",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 4
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-inference",
    "econometrics",
    "vector-autoregression",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 30,
  "_contributors": [
    {
      "user": "adamwang15",
      "count": 220,
      "uuid": 125186547
    },
    {
      "user": "donotdespair",
      "count": 122,
      "uuid": 78328370
    }
  ],
  "_userbio": {
    "uuid": 146914799,
    "type": "organization",
    "name": "bsvars",
    "description": "We develop R packages for Bayesian Structural Vector Autoregressions using frontier econometric methods and compiled code written in cpp"
  },
  "_downloads": {
    "count": 442,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bsvarSIGNs"
  },
  "_devurl": "https://github.com/bsvars/bsvarsigns",
  "_pkgdown": "https://bsvars.org/bsvarSIGNs/",
  "_searchresults": 35,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bsvarSIGNs.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bsvars/bsvarsigns",
  "_realowner": "bsvars",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2024-07-23"
    },
    {
      "version": "1.0.1",
      "date": "2024-08-17"
    },
    {
      "version": "2.0",
      "date": "2025-01-30"
    }
  ],
  "_exports": [
    "specify_bsvarSIGN",
    "specify_identification_bsvarSIGN",
    "specify_narrative",
    "specify_posterior_bsvarSIGN",
    "specify_prior_bsvarSIGN"
  ],
  "_datasets": [
    {
      "name": "monetary",
      "title": "A 6-variable US monetary policy data, from 1965 Jan to 2007 Aug",
      "object": "monetary",
      "class": [
        "mts",
        "ts",
        "matrix"
      ],
      "fields": [
        "gdpc1",
        "gdpdef",
        "cprindex",
        "totresns",
        "bognonbr",
        "fedfunds"
      ],
      "rows": 515,
      "table": true,
      "tojson": true
    },
    {
      "name": "optimism",
      "title": "A 5-variable US business cycle data, from 1955 Q1 to 2004 Q4",
      "object": "optimism",
      "class": [
        "mts",
        "ts",
        "matrix"
      ],
      "fields": [
        "productivity",
        "stock_prices",
        "consumption",
        "real_interest_rate",
        "hours_worked"
      ],
      "rows": 224,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bsvarSIGNs-package",
      "title": "Bayesian Estimation of Structural Vector Autoregressions Identified by Sign, Zero, and Narrative Restrictions",
      "topics": [
        "bsvarSIGNs-package",
        "bsvarSIGNs"
      ]
    },
    {
      "page": "compute_conditional_sd.PosteriorBSVARSIGN",
      "title": "Computes posterior draws of structural shock conditional standard deviations",
      "topics": [
        "compute_conditional_sd.PosteriorBSVARSIGN"
      ]
    },
    {
      "page": "compute_fitted_values.PosteriorBSVARSIGN",
      "title": "Computes posterior draws from data predictive density",
      "topics": [
        "compute_fitted_values.PosteriorBSVARSIGN"
      ]
    },
    {
      "page": "compute_historical_decompositions.PosteriorBSVARSIGN",
      "title": "Computes posterior draws of historical decompositions",
      "topics": [
        "compute_historical_decompositions.PosteriorBSVARSIGN"
      ]
    },
    {
      "page": "compute_impulse_responses.PosteriorBSVARSIGN",
      "title": "Computes posterior draws of impulse responses",
      "topics": [
        "compute_impulse_responses.PosteriorBSVARSIGN"
      ]
    },
    {
      "page": "compute_structural_shocks.PosteriorBSVARSIGN",
      "title": "Computes posterior draws of structural shocks",
      "topics": [
        "compute_structural_shocks.PosteriorBSVARSIGN"
      ]
    },
    {
      "page": "compute_variance_decompositions.PosteriorBSVARSIGN",
      "title": "Computes posterior draws of the forecast error variance decomposition",
      "topics": [
        "compute_variance_decompositions.PosteriorBSVARSIGN"
      ]
    },
    {
      "page": "estimate.BSVARSIGN",
      "title": "Bayesian estimation of a Structural Vector Autoregression with traditional and narrative sign restrictions via Gibbs sampler",
      "topics": [
        "estimate.BSVARSIGN"
      ]
    },
    {
      "page": "forecast.PosteriorBSVARSIGN",
      "title": "Forecasting using Structural Vector Autoregression",
      "topics": [
        "forecast.PosteriorBSVARSIGN"
      ]
    },
    {
      "page": "monetary",
      "title": "A 6-variable US monetary policy data, from 1965 Jan to 2007 Aug",
      "topics": [
        "monetary"
      ]
    },
    {
      "page": "optimism",
      "title": "A 5-variable US business cycle data, from 1955 Q1 to 2004 Q4",
      "topics": [
        "optimism"
      ]
    },
    {
      "page": "specify_bsvarSIGN",
      "title": "R6 Class representing the specification of the BSVARSIGN model",
      "topics": [
        "specify_bsvarSIGN"
      ]
    },
    {
      "page": "specify_identification_bsvarSIGN",
      "title": "R6 Class Representing IdentificationBSVARSIGN",
      "topics": [
        "specify_identification_bsvarSIGN"
      ]
    },
    {
      "page": "specify_narrative",
      "title": "vector specifying one narrative restriction",
      "topics": [
        "specify_narrative"
      ]
    },
    {
      "page": "specify_posterior_bsvarSIGN",
      "title": "R6 Class Representing PosteriorBSVARSIGN",
      "topics": [
        "specify_posterior_bsvarSIGN"
      ]
    },
    {
      "page": "specify_prior_bsvarSIGN",
      "title": "R6 Class Representing PriorBSVAR",
      "topics": [
        "specify_prior_bsvarSIGN"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bsvars/bsvarsigns/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bsvars/bsvarsigns/raw/HEAD/README.md",
  "_rundeps": [
    "bsvars",
    "coda",
    "generics",
    "GIGrvg",
    "lattice",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "RcppTN",
    "stochvol"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "bsvarSIGNs_vignette.Rnw",
      "filename": "bsvarSIGNs_vignette.pdf",
      "title": "Bayesian Analyses of Structural Vector Autoregressions with Sign, Zero, and Narrative Restrictions Using the R Package bsvarSIGNs",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2025-01-29 06:21:45",
      "modified": "2025-01-29 06:21:45",
      "commits": 1
    }
  ],
  "_score": 6.19728055812562,
  "_indexed": true,
  "_nocasepkg": "bsvarsigns",
  "_universes": [
    "bsvars",
    "adamwang15"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:47.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "310799e10ada0228547b76b6464b2902a87f8712ccc1e6d70faca56637347969",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:44.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "bbda5a87b4a730ccb07d1d1856841c9c9c63fe771866284b21318ad2ef53896c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "d218fc31b4df6853909cc3ae6ed337f44540280e71f54e81f534dbd6dd2a97ea",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:36.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "99864d67698ff4b3288700a66284f67f4052996543a2bbd0d7d4549d79ffed05",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:10.000Z",
      "arch": "aarch64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "152c9815d96148ff88ef817fb9ef2b027844651cb88c918be4d915ffc6050215",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:48:33.000Z",
      "arch": "x86_64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "95cc62f6d3ef8c9da8bfa8bcc1d783aa395cd914100a5527a40889e7f0b73260",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:16.000Z",
      "arch": "aarch64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "427eb37c806d0f04979b28c2ecc123b0089b5d427b96a3b6b994db3a2911069d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:49:03.000Z",
      "arch": "x86_64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "a584caed972b106759b331f91e8dd6cae9fb0750376b39fbb9f1b133afac1da0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:50.000Z",
      "arch": "emscripten",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "839c82d45a60c675290cd971fbf359c504c372ef269c1e7d1915aff021f401ad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:46:59.000Z",
      "arch": "x86_64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "b8d48ac131dbfdd9d1a4111876f0e284d6fb32f65231198b72e85385b5d0cb3c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:47:01.000Z",
      "arch": "x86_64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "699d2c74095e53b772a538e81ac29823788e50bf7f4f68dd5d75ccbd8a4110f8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.0.9000",
      "date": "2026-05-26T07:48:15.000Z",
      "arch": "x86_64",
      "commit": "deddbf144b3df75865ae89d76a6866ea61d357bf",
      "fileid": "7f9c95e35824ed76bdb836795bba744a7e9fa77562dde220aa7b4c81a84468f2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/26439182688"
    }
  ]
}