Description Usage Arguments Details Value
View source: R/component_samplers.R
Compue one draw of the unconditional mean mu
in a VAR assuming a
Gaussian prior (with mean zero).
1 | sampleVARmu(yt, G, Sigma, priorPrec = NULL)
|
yt |
the |
G |
the |
Sigma |
the |
priorPrec |
the |
Sample the unconditional mean mu
using the model
y_t = mu + G(y_{t-1} - mu) + e_t
,
with e_t ~ N(0, Sigma)
and prior mu ~ N(0, solve(priorPrec))
The p x 1
matrix of unconditional means.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.