VAR_bayes | R Documentation |
Bayesian VAR model implement Bayesian VAR methods
VAR_bayes(
data,
p,
exos = colnames(data)[ncol(data)],
N = 1500,
warmup = 500,
prior = "Minnetota-Wishart",
minnesota_par = list(rho = 1, lambdas = c(0.1, 0.5, 2, 100))
)
data |
time-series data with a xts format |
p |
a integer, time lags of endogenous variables |
exos |
a character vector, exogenous variables |
N |
a integer, the number of iterations |
warmup |
a integer, the number of iterations to discard before convergence |
prior |
a character, priors and methods to be used |
minnesota_par |
a list, parameters in Minnesota prior |
posterior of parameters, credible bands of responses in Bayesian VAR model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.