dccmidas_loglik | R Documentation |
Obtains the log-likelihood of the DCC models in the second step. For details, see \insertCitecolacito2011component;textualdccmidas and \insertCitedcc_engle_2002;textualdccmidas.
dccmidas_loglik(param, res, lag_fun = "Beta", N_c, K_c)
param |
Vector of starting values. |
res |
Array of standardized daily returns, coming from the first step estimation. |
lag_fun |
optional. Lag function to use. Valid choices are "Beta" (by default) and "Almon", for the Beta and Exponential Almon lag functions, respectively. |
N_c |
Number of (lagged) realizations to use for the standarized residuals forming the long-run correlation. |
K_c |
Number of (lagged) realizations to use for the long-run correlation. |
The resulting vector is the log-likelihood value for each t
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.