Description Usage Arguments Value
View source: R/commonSV_source.R
Compute one draw for each of the parameters in the stochastic volatility model where each component of omega_j,t has a common dynamic variance.
1 | sampleCommonSV(omega, svParams, prior_phi = c(20, 1.5))
|
omega |
|
svParams |
list of parameters to be updated (see Value below) |
prior_phi |
the parameters of the prior for the log-volatilty AR(1) coefficient |
List of relevant components:
the T x 1 error standard deviations sigma_et,
the T x 1 log-volatility ht,
the log-vol unconditional mean h_mu,
the log-vol AR(1) coefficient h_phi,
the log-vol innovation standard deviation h_sigma_eta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.