This functions calculates numerical gradient of log-likelihood of DCC-GARCH model.
dcc_gradient(param, ht, residuals, stdresids, uncR, d = 1e-05)
DCC-GARCH parameters(alpha,beta)
matrix of conditional variance vectors (T by N)
matrix of residual(de-mean) returns (T by N)
matrix of standrdized(De-GARCH) residual returns (T by N)
unconditional correlation matrix of stdresids (N by N)
(log-lik(x+d) - log-lik(x))/d
numerical gradient of log-likelihood of DCC-GARCH model (vector)