楼主: tulipsliu
26984 44

[有偿编程] MRS DCC GARCH 模型的MATLAB 程序修改 [推广有奖]

31
dbsdzl111 发表于 2013-4-29 16:45:09 |只看作者 |坛友微信交流群
楼主您好。我用Kevin的dcc_mvgarch的MATLAB程序,出现了一些问题,能不能请教一下您?望不吝赐教,谢谢。
下面是命令以及机器出现的错误提示:
[data,text]=xlsread('TRD_Dalyr','sheet3','C1:D1136');
>> dccP=1;
>> dccQ=1;
>> archP=1;
>> garchQ=1;
>> [para,log,Ht,Qt,stdresid,likelihoods,stderrors,A,B,jointscores]=dcc_mvgarch(data,dccP,dccQ,archP,garchQ)
Estimating GARCH model for Series 1
Warning: The default trust-region-reflective algorithm does not solve problems
with the constraints you have specified. FMINCON will use the active-set
algorithm instead. For information on applicable algorithms, see Choosing the
Algorithm in the documentation.
> In fmincon at 504
  In fattailed_garch at 198
  In dcc_mvgarch at 82
Warning: Your current settings will produce an error in a future release.
> In fmincon at 514
  In fattailed_garch at 198
  In dcc_mvgarch at 82
Estimating GARCH model for Series 2
Warning: The default trust-region-reflective algorithm does not solve problems
with the constraints you have specified. FMINCON will use the active-set
algorithm instead. For information on applicable algorithms, see Choosing the
Algorithm in the documentation.
> In fmincon at 504
  In fattailed_garch at 198
  In dcc_mvgarch at 82
Warning: Your current settings will produce an error in a future release.
> In fmincon at 514
  In fattailed_garch at 198
  In dcc_mvgarch at 82
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N) to change
the limit. Be aware that exceeding your available stack space can crash MATLAB
and/or your computer.

Error in optimoptioncheckfield>stringsType

使用道具

32
wujianmin90 发表于 2013-5-6 18:57:57 |只看作者 |坛友微信交流群
tulipsliu 发表于 2013-4-1 11:00
应该没有程序;
即使是engle 的学生 kevin sheppard ,也就是这个 DCC-MVGARCH 程序MATLAB 的编写人;他 ...
您好  请问有MRS-GARCH模型的matlab程序吗  因为写论文的关系正在学习  您说有程序上传在论坛,可是都找不到啊  能不能烦请发一下给我呢  邮箱337541413@qq.com 万分感谢了!!

使用道具

33
tulipsliu 在职认证  发表于 2013-5-9 13:01:27 |只看作者 |坛友微信交流群
有的,单变量的我发的。你到我的空间看我发的帖子。
劳动经济学

使用道具

34
nc2100 学生认证  发表于 2013-10-26 10:27:17 |只看作者 |坛友微信交流群
tulipsliu 发表于 2011-6-24 23:17
8# zhangtao 朱钧钧的没有错误的。也许我上传的时候,删掉了 Lesage 的一个函数,那个 norm_rnd(),这个函 ...
前辈您好!我不太明白为什么朱博士的程序里在很多参数上都设定了现成的数字,如a_1,又如对于state的判断是人为设定了var_err_mean-0.00005和+0.00015两个门限来判断,然而对于Markov转换来说,所有这些参数难道不应该是最后估计出来的吗?对于state判断采取这样的标准又有什么依据,根据一定的门限来判断的话不是成了门限转换模型?  谢谢指点!

使用道具

35
nc2100 学生认证  发表于 2013-10-26 10:35:08 |只看作者 |坛友微信交流群
tulipsliu 发表于 2011-6-24 23:17
8# zhangtao 朱钧钧的没有错误的。也许我上传的时候,删掉了 Lesage 的一个函数,那个 norm_rnd(),这个函 ...
另外,朱博士的paper里说文章用的是random walk MH抽样,但是程序里%标注的是Gibbs抽样,这个程序究竟是用了哪种抽样……?

使用道具

36
tulipsliu 在职认证  发表于 2013-10-26 10:43:53 |只看作者 |坛友微信交流群
nc2100 发表于 2013-10-26 10:35
另外,朱博士的paper里说文章用的是random walk MH抽样,但是程序里%标注的是Gibbs抽样,这个程序究竟是用 ...
这些我也不懂。
劳动经济学

使用道具

37
w118w 发表于 2013-11-21 16:19:14 |只看作者 |坛友微信交流群
请问一下这个程序的Qt的初值是怎么取得

使用道具

38
萨达打撒 发表于 2014-6-19 08:41:04 |只看作者 |坛友微信交流群
tulipsliu 发表于 2012-9-27 23:02
修改与编写程序是很消耗时间的;过去的一年多在忙工作与考试的问题。所以暂时没时间与精力继续修改Markov ...
LZ,现在关于这个模型搞得怎么样了?我最近正在搞一个类似的东西,出来似然函数以后应该怎样估计呢?有没有代码可以参考一下?谢谢。

使用道具

39
gssdzc 在职认证  发表于 2014-7-30 22:02:19 |只看作者 |坛友微信交流群
非常感谢分享

使用道具

40
gssdzc 在职认证  发表于 2014-7-30 22:44:41 |只看作者 |坛友微信交流群
明白了 一些,再次感谢

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-27 02:49