0

I am trying to replicate "BVAR: Bayesian Vector Autoregression with Hierarchical Prior Selection in R" by Nikolas Kuschnig and Lukas Vashold. The code is exactly the same. However, if I run the bvar() function I keep getting the error below. Any ideas?

Code:

run <- bvar(x, lags = 5, n_draw = 50000, n_burn = 25000, n_thin = 1, priors = priors, mh = mh, verbose = TRUE)

error:

Error in bvar(x, lags = 5, n_draw = 50000, n_burn = 25000, n_thin = 1,  : 
  unused arguments (lags = 5, n_draw = 50000, n_burn = 25000, n_thin = 1, priors = priors, mh = mh, verbose = TRUE)
Marco_CH
  • 2,483
  • 5
  • 20
  • Hi and welcome Jessica. Please have a look at [this thread](https://stackoverflow.com/a/5963610/12242625) and provide some reproducible demo data. – Marco_CH Jan 25 '22 at 21:09

0 Answers0