全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 统计软件培训班VIP答疑区
2118 3
2010-06-16
连老师,你好,我按照do文档进行bootstrap操作,结果显示错误如下:

. bootstrap: regress consume income
(running regress on estimation sample)
Bootstrap replications (50)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
..................................................    50
Linear regression                               Number of obs      =        11
                                                Replications       =        50
                                                Wald chi2(1)       =      3.88
                                                Prob > chi2        =    0.0490
                                                R-squared          =    0.4571
                                                Adj R-squared      =    0.3968
                                                Root MSE           =   27.5882
option nullok not allowed
                 stata():  3598  Stata returned error
   _b_table::di_titles():     -  function returned error
           _coef_table():     -  function returned error
                 <istmt>:     -  function returned error
r(3598);

我是在D:\stata11\ado\personal\Net_course\B1_ols路径下执行的,应该没有问题的,请教这是怎么回事?谢谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2010-6-16 10:30:35
我这里没有问题(见下方)。
你在执行命令之前,请输入 set trace on ,然后把错误信息贴出来。

cd D:\stata9\ado\personal\Net_course\B1_OLS
use B1_consume, clear

bootstrap: regress consume income
(running regress on estimation sample)

Bootstrap replications (50)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5
..................................................    50

Linear regression                               Number of obs      =        11
                                                Replications       =        50
                                                Wald chi2(1)       =      2.78
                                                Prob > chi2        =    0.0955
                                                R-squared          =    0.4571
                                                Adj R-squared      =    0.3968
                                                Root MSE           =   27.5882

------------------------------------------------------------------------------
             |   Observed   Bootstrap                         Normal-based
     consume |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      income |   .6848014   .4108128     1.67   0.096    -.1203769     1.48998
       _cons |   51.89511   138.7134     0.37   0.708    -219.9782    323.7684
------------------------------------------------------------------------------
二维码

扫码加我 拉你入群

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

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

2010-6-17 09:26:46
连老师,我重新解压了一次stata11,把原来的覆盖掉,再执行bootstrap命令能用了。可能是某些文件出现了问题,麻烦您了。
附件是我在set trace on后得到的部分结果。
附件: 您需要登录才可以下载或查看附件。没有帐号?我要注册
二维码

扫码加我 拉你入群

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

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

2010-6-17 17:46:31
既然可以运行了,我就不看你的附件了吧,呵呵。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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