楼主: chuanouyang
2076 1

[问答] WINRATS软件编程里遇到了问题!!急!!!求高手 [推广有奖]

  • 2关注
  • 1粉丝

硕士生

83%

还不是VIP/贵宾

-

威望
0
论坛币
509 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1366 点
帖子
67
精华
0
在线时间
298 小时
注册时间
2009-10-9
最后登录
2024-9-22

楼主
chuanouyang 发表于 2011-4-12 22:20:17 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
我用WINRATS软件编程建模中证指数的基于多元T分布的BEKK模型,观察它们之间的溢出,但是现在编程发现不收敛,尝试了很多的初值都是这样,请问为什么,怎么解决???
这个问题很急!希望有大拿解答

*bekk
open data BEKK1.xls
data(format=xls,org=columns) 2 1011 one three
linreg(noprint) one / r1store
#constant
compute a0=%beta(1)
compute w1=%seesq
*
linreg(noprint) three / r2store
#constant
compute b0=%beta(1)
compute w3=%seesq
compute w2=(w1*w3)**0.5
*
vcv(matrix=v,noprint)
# r1store r2store
compute u11store=v(1,1),u12store=v(1,2),$
u22store=v(2,2)
*
set r1 = r1store
set r2 = r2store
set u11 = u11store
set u12 = u12store
set u22 = u22store
nonlin a0 b0 w1 w2 w3 a11 a12 a21 a22 b11 b12 b21 b22
frml h11 = w1 +a11*a11*r1{1}**2+2*a11*a21*(r1{1}*r2{1})+a21*a21*r2{1}**2+b11*b11*u11{1}+2*b11*b21*u12{1}+b21*b21*u22{1}
frml h12 = w2 +a11*a12*r1{1}**2+(a12*a21+a11*a22)*(r1{1}*r2{1})+a21*a21*r2{1}**2+b11*b12*u11{1}+(b12*b21+b11*b22)*u12{1}+b21*b21*u22{1}
frml h22 = w3 +a12*a12*r1{1}**2+2*a12*a22*(r1{1}*r2{1})+a22*a22*r2{1}**2+b12*b12*u11{1}+2*b12*b22*u12{1}+b22*b22*u22{1}
frml resid1 = one - a0
frml resid2 = three - b0
compute a11 = -0.4361
compute a12 = -0.5268
compute a21 = 3.6854e-05
compute a22 = 0.0285
compute b11 = -0.0487
compute b12 = -0.0505
compute b21 = 0.0332
compute b22 = 0.0330
dec symm um
dec vect rv
frml glogl =( u11(t) =h11(t)),( u12(t) = h12(t)),( u22(t) = h22(t)), $
(r1(t) = resid1(t)),(r2(t) = resid2(t)), $
(um =||u11(t)|u12(t),u22(t)||),$
(rv =||r1(t),r2(t)||),$
-0.5*log(%det(um))-0.5*505*(1+(1/1008)*%qform(inv(um),rv))
nlpar(criterion=value,cvcrit=0.00001,subiters=300)
maximize(method=genetic,iters=25,noprint) glogl 4 1011
maximize(method=genetic,robust,recursive,iters=500)  glogl 4 1011
二维码

扫码加我 拉你入群

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

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

关键词:WinRATS winrat 软件编程 Rats Win 软件 高手 WinRATS

沙发
winrat 发表于 2011-4-20 20:54:20
hehe  问题还没解决?

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

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