fitted_cDCC | R Documentation |
Conditional covariance matrix using the robust cDCC estimator of Boud et al. (2013) with the modification introduced by Trucíos et at. (2018).
fitted_cDCC(r, Qbar, params)
r |
Matrix of time series returns. |
Qbar |
Qbar matrix obtained from Robust_cDCC function |
params |
Estimated parameters obtained from Robust_cDCC function |
More details can be found in Boudt et al. (2013) and Trucíos et at. (2018).
The function returns the estimated conditional covariance matrix from t = 1, ..., T+1, where T is the length of the sample size.
Carlos Trucíos
Boudt, Kris, Jon Danielsson, and Sébastien Laurent. Robust forecasting of dynamic conditional correlation GARCH models. International Journal of Forecasting 29.2 (2013): 244-257.
Trucíos, Carlos, Luiz K. Hotta, and Esther Ruiz. Robust bootstrap densities for dynamic conditional correlations: implications for portfolio selection and Value-at-Risk. Journal of Statistical Computation and Simulation 88.10 (2018): 1976-2000.
# Estimating the parameters of the cDCC model in a robust way. cDCC = Robust_cDCC(toyexampledata[,1:3]) # Estimated conditional covariance matrix H = fitted_cDCC(toyexampledata[,1:3], cDCC[[2]], cDCC[[1]]) # One-step-ahead conditional covariance matrix H[[nrow(toyexampledata[,1:3]) + 1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.