全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Gauss专版
2428 3
2013-05-19
看了前人的帖子,已经安装别人说的,相应的文件粘贴到lib以及src里了
程序如下:
$ n=31;
$ t=20;
$ k=1;
$ load s[t,n]=C:\gauss9.0\ex519\y.txt;
$ load z[t,n*k]=C:\gauss9.0\ex519\fli.txt;
$ library panel coint;
$ _ker_fun=&fejer;
$ output file=result.out reset;
$  dols_rd(s,z,"result");

(0) : error G0159 : Wrong number of parameters
Currently active call: DOLS_RD
Stack trace:
   DOLS_RD

再者,用fmols
$ n=31;
$ t=20;
$ k=1;
$ load s[t,n]=C:\gauss9.0\ex519\y.txt;
$ load z[t,n*k]=C:\gauss9.0\ex519\fli.txt;
$ library panel coint;
$ _ker_fun=&fejer;
$ output file=result.out reset;
$  fm_rd(s,z,"result");
The Conventional T test and OLS estimator
The FM_beta1 is:  0.2866
The t-ratio1 is: 17.0631 probabiltiy(t)=  0.0000 probability(N)= 0.0000
R square is:  1.3786
Adjusted Rsquare is: -0.1363
The conventional Covariance Matrix:
0.0006  0.0000
0.0000  0.0020
The autocorrelation Matrix is:
0.0006  0.0001
0.0003  0.0008
The Long-run Covariance Matrix is:
0.0019  0.0004
0.0004  0.0035
The Inverse of Long-run Covariance is:
542.3879 -64.1959
-64.1959 293.0632

The true Covariance of FM_beta is:  3.1579
这个结果不对,应该不是fmols
原来一直用stata,要做非平稳面板估计,刚入手gauss,看了以前的帖子,问题都是讨论一般就中断了。有没有会做的童鞋能指点一下
二维码

扫码加我 拉你入群

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

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

全部回复
2013-5-20 00:13:50
面板数据FMOLS 与 DOLS 在gauss
本文来自: 人大经济论坛 Gauss专版 版,详细出处参考: https://bbs.pinggu.org/forum.php? ... =1&from^^uid=9913
本文来自: 人大经济论坛 Gauss专版 版,详细出处参考: https://bbs.pinggu.org/forum.php? ... =1&from^^uid=9913
本文来自: 人大经济论坛 Gauss专版 版,详细出处参考: https://bbs.pinggu.org/forum.php? ... =1&from^^uid=9913
二维码

扫码加我 拉你入群

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

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

2013-5-24 21:11:34
既然程序没有问题,这个就有可能是数据输入格式,或者其他方面的设置有问题。
二维码

扫码加我 拉你入群

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

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

2013-9-13 15:01:11
数据格式有什么要求啊?
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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