set_ldlt | R Documentation |
Set prior for covariance matrix.
set_ldlt(ig_shape = 3, ig_scl = 0.01)
set_sv(ig_shape = 3, ig_scl = 0.01, initial_mean = 1, initial_prec = 0.1)
## S3 method for class 'covspec'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
is.covspec(x)
is.svspec(x)
is.ldltspec(x)
ig_shape |
Inverse-Gamma shape of Cholesky diagonal vector.
For SV ( |
ig_scl |
Inverse-Gamma scale of Cholesky diagonal vector.
For SV ( |
initial_mean |
Prior mean of initial state. |
initial_prec |
Prior precision of initial state. |
x |
Any object |
digits |
digit option to print |
... |
not used |
set_ldlt()
specifies LDLT of precision matrix,
\Sigma^{-1} = L^T D^{-1} L
set_sv()
specifices time varying precision matrix under stochastic volatility framework based on
\Sigma_t^{-1} = L^T D_t^{-1} L
Carriero, A., Chan, J., Clark, T. E., & Marcellino, M. (2022). Corrigendum to “Large Bayesian vector autoregressions with stochastic volatility and non-conjugate priors” [J. Econometrics 212 (1)(2019) 137-154]. Journal of Econometrics, 227(2), 506-512.
Chan, J., Koop, G., Poirier, D., & Tobias, J. (2019). Bayesian Econometric Methods (2nd ed., Econometric Exercises). Cambridge: Cambridge University Press.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.