luckyart 发表于 2012-6-10 16:35 
问题解决了吗? 你自己帖子里面就给出了正确的方法啊。 Dcc_Ht(1,2) 就是条件协方差,Dcc_Ht(1,1)和Dcc_Ht( ...
你好,我做出的结果是这样的,不知道怎么读
[DCC_parameters,DCC_LL,DCC_Ht]=dcc_mvgarch(data,1,1,1,1);
DCC_corr=squeeze(DCC_Ht(1,2,:))./(squeeze(sqrt(DCC_Ht(1,1,:))).*squeeze(sqrt(DCC_Ht(2,2,:))));
plot(DCC_corr)
Estimating GARCH model for Series 1
Warning: Options LargeScale = 'off' and Algorithm = 'trust-region-reflective' conflict.
Ignoring Algorithm and running active-set algorithm. To run trust-region-reflective, set
LargeScale = 'on'. To run active-set without this warning, use Algorithm = 'active-set'.
> In fmincon at 445
In fattailed_garch at 198
In dcc_mvgarch at 82
Estimating GARCH model for Series 2
Warning: Options LargeScale = 'off' and Algorithm = 'trust-region-reflective' conflict.
Ignoring Algorithm and running active-set algorithm. To run trust-region-reflective, set
LargeScale = 'on'. To run active-set without this warning, use Algorithm = 'active-set'.
> In fmincon at 445
In fattailed_garch at 198
In dcc_mvgarch at 82
Estimating the DCC model
Warning: Options LargeScale = 'off' and Algorithm = 'trust-region-reflective' conflict.
Ignoring Algorithm and running active-set algorithm. To run trust-region-reflective, set
LargeScale = 'on'. To run active-set without this warning, use Algorithm = 'active-set'.
> In fmincon at 445
In dcc_mvgarch at 98
____________________________________________________________
Diagnostic Information
Number of variables: 2
Functions
Objective: dcc_mvgarch_likelihood
Gradient: finite-differencing
Hessian: finite-differencing (or Quasi-Newton)
Constraints
Nonlinear constraints: do not exist
Number of linear inequality constraints: 1
Number of linear equality constraints: 0
Number of lower bound constraints: 2
Number of upper bound constraints: 0
Algorithm selected
medium-scale: SQP, Quasi-Newton, line-search
____________________________________________________________
End diagnostic information
Max Line search Directional First-order
Iter F-count f(x) constraint steplength derivative optimality Procedure
0 3 1488.86 -0.009998
1 6 1486.36 5.351e-017 1 -60.8 318
Local minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions, to within the selected value of the function tolerance,
and constraints were satisfied to within the selected value of the constraint tolerance.
<stopping criteria details>
Active inequalities (to within options.TolCon = 1e-006):
lower upper ineqlin ineqnonlin
1
2