Description Usage Arguments Value Note Examples
View source: R/component_samplers.R
Sample the (non-dynamic) evolution error variance matrix.
1 |
resBeta |
|
Rinv |
|
rh0 |
scalar prior scale parameter; only needed for |
useDiagonal |
logical; when TRUE, use a diagonal covariance matrix; otherwise, use a full matrix |
The K x K
evolution error covariance matrix, Wt
.
The sampler has two options: useDiagonal = TRUE
, in which the evolution
error variance matrix is diagional with independent Gamma(0.001,0.001) priors on the
K
diagonal component precisions; and useDiagonal = FALSE
, in which the
K x K
evolution error variance matrix is full with an inverse Wishart prior
with prior precision Rinv
and scale parameter rh0
. The default is
Rinv = diag(1, K)
and rh0 = K
.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.