{
  "_id": "6a4f568721b18e1548500e1f",
  "Package": "bvars",
  "Type": "Package",
  "Title": "Bayesian Forecasting with Large Vector Autoregressions",
  "Version": "1.0.0.9000",
  "Date": "2026-06-03",
  "Authors@R": "c(person(\"Rui\", \"Liu\", , \"rl3023@columbia.edu\", role = c(\"aut\"), comment = c(ORCID = \"0009-0008-9348-8581\")),\nperson(\"Andrés\", \"Ramirez Hassan\", , \"aramir21@gmail.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-0467-7903\")),\nperson(\"Tomasz\", \"Woźniak\", , \"wozniak.tom@pm.me\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-2212-2378\")))",
  "Maintainer": "Tomasz Woźniak <wozniak.tom@pm.me>",
  "Description": "Provides fast and efficient procedures for Bayesian\nestimation and forecasting using state-of-the-art Vector\nAutoregressions. This package includes the model proposed by\nChan (2020) <doi:10.1080/07350015.2018.1451336>, that is, a\nBayesian Vector Autoregression with Minnesota priors and a\nflexible structure of the error term specification. The latter\nincludes: conditional multivariate normal or Student’s t\ndistributions, as well as homoskedastic or heteroskedastic\nspecifications with a common volatility modelled by centred or\nnon-centred Stochastic Volatility. Additionally, the package\nfacilitates predictive analyses using density forecasting and\nforecast-error variance decompositions. All this is\ncomplemented by simple workflows, useful plots and summary\nfunctions, and comprehensive documentation. The 'bvars' package\naligns with R packages 'bsvars' by Woźniak (2024)\n<doi:10.32614/CRAN.package.bsvars>, 'bsvarSIGNs' by Wang &\nWoźniak (2025) <doi:10.32614/CRAN.package.bsvarSIGNs>, and\n'bpvars' by Woźniak (2025) <doi:10.32614/CRAN.package.bpvars>\nregarding objects, workflows, and code structure, and they\nconstitute an integrated toolset.",
  "License": "GPL (>= 3)",
  "URL": "https://bsvars.org/bvars/",
  "BugReports": "https://github.com/bsvars/bvars/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Repository": "https://bsvars.r-universe.dev",
  "Date/Publication": "2026-06-09 00:31:18 UTC",
  "RemoteUrl": "https://github.com/bsvars/bvars",
  "RemoteRef": "HEAD",
  "RemoteSha": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-09 07:59:38 UTC",
    "User": "root"
  },
  "Author": "Rui Liu [aut] (ORCID: <https://orcid.org/0009-0008-9348-8581>),\nAndrés Ramirez Hassan [aut] (ORCID:\n<https://orcid.org/0000-0002-0467-7903>),\nTomasz Woźniak [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2212-2378>)",
  "_user": "bsvars",
  "_type": "src",
  "_file": "bvars_1.0.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/0a8ed9b3d1f1329785524288c590984ae8c32fb35a2ece8e7297fae61c7ba150",
  "_filesize": 348037,
  "_sha256": "0a8ed9b3d1f1329785524288c590984ae8c32fb35a2ece8e7297fae61c7ba150",
  "_expires": "2026-10-17T08:06:30.000Z",
  "_created": "2026-07-09T07:59:38.000Z",
  "_published": "2026-07-09T08:06:31.616Z",
  "_jobs": [
    {
      "job": 86068846323,
      "time": 208,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8192526354"
    },
    {
      "job": 86068846221,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8192506612"
    },
    {
      "job": 86068846237,
      "time": 202,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8192524185"
    },
    {
      "job": 86068846231,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8192511426"
    },
    {
      "job": 86068846293,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8192484629"
    },
    {
      "job": 86068846289,
      "time": 317,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8192563697"
    },
    {
      "job": 86068846286,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8192486770"
    },
    {
      "job": 86068846366,
      "time": 237,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8192534978"
    },
    {
      "job": 86068213439,
      "time": 208,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8192450939"
    },
    {
      "job": 86068846197,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8192500638"
    },
    {
      "job": 86068846168,
      "time": 160,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8192508778"
    },
    {
      "job": 86068846181,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8192502362"
    },
    {
      "job": 86068846175,
      "time": 186,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8192518143"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061",
  "_status": "success",
  "_upstream": "https://github.com/bsvars/bvars",
  "_commit": {
    "id": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
    "author": "Tomasz Woźniak <wozniak.tom@pm.me>",
    "committer": "Tomasz Woźniak <wozniak.tom@pm.me>",
    "message": "no cph for T\n",
    "time": 1780965078
  },
  "_maintainer": {
    "name": "Tomasz Woźniak",
    "email": "wozniak.tom@pm.me",
    "login": "donotdespair",
    "mastodon": "@tomaszwozniak@fosstodon.org",
    "bluesky": "@tomaszwozniak.bsky.social",
    "linkedin": "in/tomaszwwozniak",
    "orcid": "0000-0003-2212-2378",
    "description": "A Bayesian econometrician developing methods for empirical macro analyses and programming in R and cpp. Author of R packages bsvars.org",
    "uuid": 78328370
  },
  "_distro": "resolute",
  "_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": "RcppTN",
      "role": "LinkingTo"
    },
    {
      "package": "bsvars",
      "role": "LinkingTo"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.14",
      "role": "Imports"
    },
    {
      "package": "RcppProgress",
      "role": "Imports"
    },
    {
      "package": "RcppTN",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    }
  ],
  "_owner": "bsvars",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 18
    },
    {
      "week": "2026-18",
      "n": 17
    },
    {
      "week": "2026-21",
      "n": 31
    },
    {
      "week": "2026-22",
      "n": 6
    },
    {
      "week": "2026-23",
      "n": 12
    },
    {
      "week": "2026-24",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v1.0",
      "date": "2026-06-03"
    }
  ],
  "_topics": [
    "bvar",
    "common-stochastic-volatility",
    "minnesota-prior",
    "t-distributted-errors",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "donotdespair",
      "count": 132,
      "uuid": 78328370
    },
    {
      "user": "rruiliu1005",
      "count": 5,
      "uuid": 42427868
    }
  ],
  "_userbio": {
    "uuid": 146914799,
    "type": "organization",
    "name": "bsvars",
    "followers": 38,
    "description": "We develop R packages for Bayesian Structural Vector Autoregressions using frontier econometric methods and compiled code written in cpp"
  },
  "_downloads": {
    "count": 457,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bvars"
  },
  "_devurl": "https://github.com/bsvars/bvars",
  "_pkgdown": "https://bsvars.org/bvars/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bvars.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/bvars",
  "_realowner": "bsvars",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2026-06-08"
    }
  ],
  "_exports": [
    "compute_shocks",
    "forecast",
    "rmatnorm1",
    "specify_bvar",
    "specify_posterior_bvar",
    "specify_prior_bvar",
    "specify_starting_values_bvar"
  ],
  "_datasets": [
    {
      "name": "us_macro_chan",
      "title": "A 20-variable US macroeconomic system for the period 1959 Q4 - 2013 Q4",
      "object": "us_macro_chan",
      "class": [
        "mts",
        "ts",
        "matrix",
        "array"
      ],
      "fields": [
        "rgdp",
        "cpi",
        "FFR",
        "m2",
        "pinc",
        "rpce",
        "ip",
        "UR",
        "hs",
        "pci",
        "pce",
        "ahem",
        "mi",
        "TMR10Y",
        "rgpdi",
        "aetnf",
        "pmici",
        "noi",
        "bsro",
        "sp500"
      ],
      "rows": 217,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bvars-package",
      "title": "Bayesian Forecasting with Large Vector Autoregressions",
      "topics": [
        "bvars-package",
        "bvars"
      ]
    },
    {
      "page": "compute_fitted_values.PosteriorBVAR",
      "title": "Computes posterior draws from data predictive density",
      "topics": [
        "compute_fitted_values.PosteriorBVAR"
      ]
    },
    {
      "page": "compute_shocks",
      "title": "Computes posterior draws of shocks",
      "topics": [
        "compute_shocks"
      ]
    },
    {
      "page": "compute_shocks.PosteriorBVAR",
      "title": "Computes posterior draws of shocks",
      "topics": [
        "compute_shocks.PosteriorBVAR"
      ]
    },
    {
      "page": "compute_variance_decompositions.PosteriorBVAR",
      "title": "Computes posterior draws of the forecast error variance decomposition",
      "topics": [
        "compute_variance_decompositions.PosteriorBVAR"
      ]
    },
    {
      "page": "estimate.BVAR",
      "title": "Bayesian Estimation via Gibbs sampler of a Bayesian VAR with a Flexible Error Term Specification",
      "topics": [
        "estimate.BVAR"
      ]
    },
    {
      "page": "estimate.PosteriorBVAR",
      "title": "Bayesian Estimation via Gibbs sampler of a Bayesian VAR with a Flexible Error Term Specification",
      "topics": [
        "estimate.PosteriorBVAR"
      ]
    },
    {
      "page": "forecast.PosteriorBVAR",
      "title": "Forecasting using Structural Vector Autoregression",
      "topics": [
        "forecast.PosteriorBVAR"
      ]
    },
    {
      "page": "rmatnorm1",
      "title": "Samples random numbers from the matrix-variate normal distribution",
      "topics": [
        "rmatnorm1"
      ]
    },
    {
      "page": "specify_bvar",
      "title": "R6 Class representing the specification of the 'BVAR' model",
      "topics": [
        "specify_bvar"
      ]
    },
    {
      "page": "specify_posterior_bvar",
      "title": "R6 Class Representing 'PosteriorBVAR'",
      "topics": [
        "specify_posterior_bvar"
      ]
    },
    {
      "page": "specify_prior_bvar",
      "title": "R6 Class Representing 'PriorBVAR'",
      "topics": [
        "specify_prior_bvar"
      ]
    },
    {
      "page": "specify_starting_values_bvar",
      "title": "R6 Class Representing 'StartingValuesBVAR'",
      "topics": [
        "specify_starting_values_bvar"
      ]
    },
    {
      "page": "summary.PosteriorBVAR",
      "title": "Provides posterior summary of VAR estimation",
      "topics": [
        "summary.PosteriorBVAR"
      ]
    },
    {
      "page": "us_macro_chan",
      "title": "A 20-variable US macroeconomic system for the period 1959 Q4 - 2013 Q4",
      "topics": [
        "us_macro_chan"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bsvars/bvars/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bsvars/bvars/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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 4.146128035678238,
  "_indexed": true,
  "_nocasepkg": "bvars",
  "_universes": [
    "bsvars",
    "donotdespair"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:03:18.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/dcfbeae5d934fd84e4b319a8fe85a322a50b91a1042e94bb1c9bf5ad1d569a32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:02:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/72372e8f3180a33df82bcfa09607fd5488ea336f1b81661b5bccc06e875d72c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:03:13.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/f92d62ee4d13780492f9bfc72d34058dc6e350e3eec1ba08c337d59d374461db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:02:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/511c495748fb2de1d42b74245191c764ee992d2fcefef59072938a21f35b034b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:01:44.000Z",
      "arch": "aarch64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/2310ab2d875838c769d8a9ea497296cf2cd88ba8f2f0c03460ecee93e904fac6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:04:22.000Z",
      "arch": "x86_64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/70da1a948e10570b84648e3593b7e185ae0964ed79c4f83f96149e7bb83583d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:01:45.000Z",
      "arch": "aarch64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/fb24fe56f6ccbdf38754675354e43afa68a2d33ec82925164e7cf2414e2f542d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:02:57.000Z",
      "arch": "x86_64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/d697688a7215c463455d90e27cbd1435ac8e0ddd5369a75fc828a21e8220d8bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:02:32.000Z",
      "arch": "emscripten",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/bf7970765c2551159065c5af44eb9ac60f4cc0da5e1b2d88a9efe24ac986e2f5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:01:33.000Z",
      "arch": "x86_64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/7a6d8eef97dab63d7a600673f1a6f75c652424cc84e0ac83caf50ecf24327dd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:01:25.000Z",
      "arch": "x86_64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/8b44d1f4c307833ee8d30acd4a7429e629c3126d146cd9dd279ce894e5927049",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-07-09T08:01:51.000Z",
      "arch": "x86_64",
      "commit": "7b9d06d4b29e421b38ed2ed088494ff5e37db8e6",
      "fileid": "https://r2.ropensci.org/3441af5979893306213325fd585143fdbde2971efcab2beb0725ccb1dbbc0c15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsvars/actions/runs/29003117061"
    }
  ]
}