楼主: leove
6826 12

DCC_MVGARCH需要进行单变量估计吗? [推广有奖]

  • 0关注
  • 0粉丝

VIP

已卖:5份资源

博士生

32%

还不是VIP/贵宾

-

威望
0
论坛币
1185 个
通用积分
0
学术水平
0 点
热心指数
3 点
信用等级
1 点
经验
4852 点
帖子
262
精华
0
在线时间
262 小时
注册时间
2007-4-30
最后登录
2021-12-8

楼主
leove 发表于 2010-10-11 23:47:59 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
在使用DCC命令时给出的估计结果是这样的:

[DCC_parameters,DCC_LL,DCC_Ht]=dcc_mvgarch(data,1,1,1,1);
Estimating GARCH model for Series 1
Warning: Options LargeScale = 'off' and Algorithm = 'trust-region-reflective' conflict.
Ignoring Algorithm and running active-set method. To run trust-region-reflective, set
LargeScale = 'on'. To run active-set without this warning, use Algorithm = 'active-set'.
> In fmincon at 412
  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 method. To run trust-region-reflective, set
LargeScale = 'on'. To run active-set without this warning, use Algorithm = 'active-set'.
> In fmincon at 412
  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 method. To run trust-region-reflective, set
LargeScale = 'on'. To run active-set without this warning, use Algorithm = 'active-set'.
> In fmincon at 412
  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       2092.4    -0.009998                                         
    1     11      2088.75     -0.01937       0.0313         -702    1.76e+003   
    2     14       2088.6            0            1          -75    1.67e+003   
    3     18      2081.78     -0.00467          0.5         -771          599   
    4     22      2081.24    -0.002335          0.5         -123    1.37e+003   
    5     25      2080.53   -1.11e-016            1   -1.89e+003     1.6e+003   
    6     36      2080.53   -0.0006755      0.00391         -107          686   
    7     39      2080.11   -0.0007109            1         -202           99   
    8     42      2080.11   -0.0007696            1        -55.3         8.15   
    9     45      2080.11   -0.0007977            1        -7.97         1.19   
   10     48      2080.11   -0.0007944            1        -1.02       0.0392   
Local minimum possible. Constraints satisfied.
fmincon stopped because the size of the current search direction is less than
twice the default value of the step size tolerance and constraints were
satisfied to within the selected value of the constraint tolerance.
<stopping criteria details>
No active inequalities.


从估计的过程来看,dcc——mvgarch命令是不需要做单变量garch估计的吧,因为从上面的结果来看该命令首先做了一个garch模型,然后再做dcc估计的,不知道是不是这样的?做过的来讨论一下!谢谢!


还有一个问题:如何获得alpha      beta  的t统计量和P值啊?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:mvgarch VGARCH GARCH ARCH RCH DCC 单变量 mvgarch

沙发
leove 发表于 2010-10-13 20:15:23
自己顶一下!

藤椅
zrmin 发表于 2010-11-10 17:12:54
是的,是分两步估计的。你那有程序吗?是用什么语言编的阿?能否讨论下,我最近也在做这个。 2# leove

板凳
qlc2728 发表于 2012-1-18 14:53:08
你好 最近我也在做这个,问个菜鸟问题,我是在网上下的ucsd_garch工具包里面有个dcc_mvgarch的m文件,输入一个500×2的矩阵,数据是上证指数和一只个股的对数收益率,有500期。
但是结果出错,我也不知道是错在哪里了,请教一下,输出结果如下:
dcc_mvgarch(B,1,1,1,1)
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
??? Invalid MEX-file 'E:\MATLAB\R2010b\toolbox\ucsd_garch\5.3 win32 binaries\garchcore.dll': E:\MATLAB\R2010b\toolbox\ucsd_garch\5.3
win32 binaries\garchcore.dll 不是有效的 Win32 应用程序。

.

Error in ==> fattailed_garchlikelihood at 61
h=garchcore(data,parameters,stdEstimate^2,p,q,m,T);

Error in ==> fmincon at 574
      initVals.f = feval(funfcn{3},X,varargin{:});

Error in ==> fattailed_garch at 198
[parameters, LLF, EXITFLAG, OUTPUT, LAMBDA, GRAD] =  fmincon('fattailed_garchlikelihood', startingvals ,sumA  , sumB ,[] , [] , LB ,
UB,[],options, data, p , q, errortype, stdEstimate^2, T);

Error in ==> dcc_mvgarch at 82
    [univariate{i}.parameters, univariate{i}.likelihood, univariate{i}.stderrors, univariate{i}.robustSE, univariate{i}.ht,
    univariate{i}.scores] ...

Caused by:
    Failure in initial user-supplied objective function evaluation. FMINCON cannot continue.

报纸
tulipsliu 在职认证  发表于 2012-1-27 14:46:04
qlc2728 发表于 2012-1-18 14:53
你好 最近我也在做这个,问个菜鸟问题,我是在网上下的ucsd_garch工具包里面有个dcc_mvgarch的m文件,输入一 ...
为提高估计速度,这个工具箱的核心估计函数是用C语言编写的,然后用MATLAB编译器生成dll文件。这样用MATLAB调用时会比较快。
有两个版本。一个是 32bit 的,一个是 64bit 的
keven两个版本的都给了。你这里估计是设置文件路径问题,导致调用失败。有dll文件时,MATLAB会优先与.m文件先调用。
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
拥抱大海的鱼 + 1 + 1 + 1 观点有启发

总评分: 学术水平 + 1  热心指数 + 1  信用等级 + 1   查看全部评分

劳动经济学

地板
tulipsliu 在职认证  发表于 2012-1-27 14:48:25
这些统计值有的。只是你对这个函数不了解。
问你个问题,统计值是怎么计算的?

通过 ML(极大似然法)计算参数,会有副产品。包括这个估计程序内部有调用 雅克比矩阵,也包括有调用 海塞矩阵。
说到这里,你回忆下统计值怎么计算。这个程序的返回值你就看懂了。

它返回 alpha  beta ,以及 统计值,其中一个还是 robust 的。
劳动经济学

7
qlc2728 发表于 2012-1-28 12:20:48
tulipsliu 发表于 2012-1-27 14:46
为提高估计速度,这个工具箱的核心估计函数是用C语言编写的,然后用MATLAB编译器生成dll文件。这样用MATL ...
谢谢了

8
liumin1988 发表于 2012-2-17 21:37:20
楼主,问一下,你的DCC-MVGARCH的程序是什么啊,我安装了ucsd-garch工具包,但是不知道怎么调用,请指教。

9
函宝宝 发表于 2012-9-2 14:16:34
qlc2728 发表于 2012-1-18 14:53
你好 最近我也在做这个,问个菜鸟问题,我是在网上下的ucsd_garch工具包里面有个dcc_mvgarch的m文件,输入一 ...
我也遇到同样问题了 怎么办啊

10
qlc2728 发表于 2012-9-7 16:29:16
函宝宝 发表于 2012-9-2 14:16
我也遇到同样问题了 怎么办啊
https://bbs.pinggu.org/forum.php? ... -mvgarch&page=1
我是看这个链接里面的说明来设置路径的

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-25 10:21