全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
3584 10
2013-01-03
在tsDyn包中 為何在加入3變數以上時,得事先提供cointegration value ??
EX:tv<-TVECM(aniexc, nthresh=2,lag=1, ngridBeta=20, ngridTh=30, plot=TRUE,trim=0.05, common="only_ECT",beta=list(exact=c(0.431320,-0.602851), int=c("from","to"), around=c("val","by")))


有辦法不事先提供直接在這程序中實現嗎??

二维码

扫码加我 拉你入群

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

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

全部回复
2013-1-3 21:32:27
答复你的短信息
既然是要求给出exact value,
自然是不会再作Grid Search for beta,
作者的function是这样写的,当然无法改变
除非你依需要,自行修改内容.
二维码

扫码加我 拉你入群

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

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

2013-1-4 12:54:25
epoh 发表于 2013-1-3 21:32
答复你的短信息
既然是要求给出exact value,
自然是不会再作Grid Search for beta,
是因為如果要加入三變數以上,cointegration vector 可能不只一個的關係嗎?      
因為在hansen and seo(2002)他們也是限定在二變數下去做MLE估計
我原本是想是否我也可以仿照此方法擴展到三變數以上
可是我發現目前paper似乎沒有人做出三變數以上利用MLE法同時估出cointegration value和 threshold value
似乎在三變數以上都得使用二階段分別估cointegration value和 threshold value
不知我的理解是對或錯 可以幫我解答一下嗎  謝謝
二维码

扫码加我 拉你入群

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

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

2013-1-4 20:22:14
chenyenting 发表于 2013-1-4 12:54
是因為如果要加入三變數以上,cointegration vector 可能不只一個的關係嗎?      
因為在hansen and seo( ...
Testing for two-regime threshold cointegration....hansen and seo(2002)
page 5 已经有说明
case p=2, we suggest using a grid search over the two-dimensional space (beta;gamma).
In higher dimensional cases,grid search becomes less attractive,
and alternative search methods (such as a genetic algorithm, see Dorsey and Mayer, 1995)
might be more appropriate.
二维码

扫码加我 拉你入群

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

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

2013-1-6 20:14:12
謝謝  genetic algorithm 感覺很困難...   我在研究一下  謝謝
二维码

扫码加我 拉你入群

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

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

2013-1-9 20:41:56
epoh 发表于 2013-1-4 20:22
Testing for two-regime threshold cointegration....hansen and seo(2002)
page 5 已经有说明
case p= ...
Testing for two-regime threshold cointegration....hansen and seo(2002)
page 5 已经有说明
你所说这本书(资料)那里可下载,谢谢!
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群