Description Usage Arguments Details Value Examples
Set conjugate N-IW priors as in matlab code of Koops-Korobilis
1 | KK_code_priors(Y_in, Z_in = NULL, constant = TRUE, p = 4)
|
Y_in |
multivariate time series |
Z_in |
exogeneous variables |
constant |
logical, default is TRUE, whether the constant should be included |
p |
number of lags |
Set conjugate N-IW priors as in matlab code of Koops-Korobilis. Mainly for testing.
priors list containing Phi_prior [k x m], Omega_prior [k x k], S_prior [m x m], v_prior [1x1], where k = mp+d
1 2 3 | data(Yraw)
priors <- KK_code_priors(Yraw, p = 4)
model <- bvar_conjugate0(priors = priors, keep = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.