Obtains the log-likelihood of the DCC models in the second step. For details, see colacito2011component;textualdccmidas and dcc_engle_2002;textualdccmidas.
dccmidas_loglik(param, res, lag_fun = "Beta", N_c, K_c)
The resulting vector is the log-likelihood value for each \(t\).
Vector of starting values.
Array of standardized daily returns, coming from the first step estimation.
optional. Lag function to use. Valid choices are "Beta" (by default) and "Almon", for the Beta and Exponential Almon lag functions, respectively.
Number of (lagged) realizations to use for the standarized residuals forming the long-run correlation.
Number of (lagged) realizations to use for the long-run correlation.