Description Usage Arguments Value
View source: R/commonSV_source.R
Compute one draw of the log-volatilities using a discrete mixture of Gaussians approximation to the likelihood (see Omori, Chib, Shephard, and Nakajima, 2007) where the log-vols are assumed to follow an AR(1) model. The model assumes that the volatility are common to an m-dimensional time series.
1 | sampleCommonLogVols(h_y, h_prev, h_mu, h_phi, h_sigma_eta)
|
h_y |
the |
h_prev |
the |
h_mu |
the log-vol unconditional mean |
h_phi |
the log-vol AR(1) coefficient |
h_sigma_eta |
the log-vol innovation standard deviation |
T x 1
matrix of simulated log-vols
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.