get_prior | R Documentation |
This function returns a prior specification of BVAR-SV-fatTail model.
get_prior( y, p, priorStyle = c("Minnesota"), dist = c("Gaussian"), SV = FALSE, ... )
y |
The input data as matrix T x K where T is the number of observations and K is the number of variables |
p |
The number of lags in BVAR model. |
priorStyle |
The prior style in BVAR model should be c("Minnesota", "OLS") |
dist |
The variable specifies the BVAR error distribution. It should be one of c("Gaussian","Student", "Skew.Student", "MT","MST","orthoStudent"). |
SV |
The indicator if this BVAR model has a Stochastic volatility part. |
A list of prior specifications. b \sim N(b0, V_b_prior), a \sim N(0, 1000I), sigmaSq \sim IG(0.5*sigma_T0, 0.5*sigma_S0), nu \sim G(a,b), gamma \sim N(0, I).
## Not run: prior <- get_prior(y, p = 2, dist = c("Student"), SV = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.