Skip to content

Commit

Permalink
Send patch to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolas Kuschnig committed Mar 8, 2023
1 parent 5a15e0c commit 27e7340
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 31 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: BVAR
Type: Package
Title: Hierarchical Bayesian Vector Autoregression
Version: 1.0.3.9000
Version: 1.0.4
Date: 2023-03-08
Authors@R: c(person("Nikolas", "Kuschnig", role = c("aut", "cre"), email = "nikolas.kuschnig@wu.ac.at", comment = c(ORCID = "0000-0002-6642-2543")),
person("Lukas", "Vashold", role = "aut", comment = c(ORCID = "0000-0002-3562-3414")),
Expand All @@ -10,6 +10,7 @@ Authors@R: c(person("Nikolas", "Kuschnig", role = c("aut", "cre"), email = "niko
person("Serena", "Ng", role = "dtc"))
Author: Nikolas Kuschnig [aut, cre] (<https://orcid.org/0000-0002-6642-2543>),
Lukas Vashold [aut] (<https://orcid.org/0000-0002-3562-3414>),
Nirai Tomass [ctb],
Michael McCracken [dtc], Serena Ng [dtc]
Maintainer: Nikolas Kuschnig <nikolas.kuschnig@wu.ac.at>
Description: Estimation of hierarchical Bayesian vector autoregressive models
Expand All @@ -27,4 +28,4 @@ Suggests: coda, vars, tinytest
License: GPL-3 | file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.2
RoxygenNote: 7.2.3
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v1.0.4, CRAN Update 9

- Fix bug from last update, where automatic ARIMA-priors where sqrt'd twice
- Thanks to Michael Wolf for pointing this out, and
- many thanks to Nirai Tomass for discovering the bug
- Update **FRED-MD** and **FRED-QD** datasets to the 2023-02 vintage


# v1.0.3, CRAN Update 8

- Fix bug where warnings caused an error during automatic ARIMA-based priors
Expand Down
1 change: 1 addition & 0 deletions R/11_input.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ auto_psi <- function(x, lags) {
suppressWarnings(sqrt(arima(x[, j], order = c(lags, 0, 0))$sigma2))
}
)
out[["mode"]][j] <- ar_sigma2
}
out[["min"]] <- out[["mode"]] / 100
out[["max"]] <- out[["mode"]] * 100
Expand Down
Binary file modified data/fred_md.rda
Binary file not shown.
Binary file modified data/fred_qd.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion inst/fred_trans.csv
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"DTCOLNVHFNM","log-2nd-diff","log-2nd-diff"
"DTCTHFNM","log-2nd-diff","log-2nd-diff"
"INVEST","log-2nd-diff","log-2nd-diff"
"VXOCLSx","none","none"
"VIXCLSx","none","none"
"GDPC1",,"log-diff"
"PCECC96",,"log-diff"
"PCDGx",,"log-diff"
Expand Down
17 changes: 5 additions & 12 deletions man/bv_dummy.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/bv_minnesota.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions man/density.bvar.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fred_qd.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions man/par_bvar.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/fred_prep.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

keep <- readLines("data/fred_permitted.txt")

file <- "2021-10.csv" # Update this
file <- "2023-02.csv" # Update this


# QD ---
Expand Down

0 comments on commit 27e7340

Please sign in to comment.