全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3093 2
2011-12-28
最近用到cdsimeq,但是输出结果遇到了问题,outreg2提示不能工作,具体如下:
matrix e(b) not found; run regression first
请问有没有比较便捷的方法输出cdsimeq的结果呢?
谢谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2017-6-15 17:01:03
cdsimeq (d e f )(a b c ).,nofirst nosecond est // est很重要将你回归结果保存在model_1和model_2中

drop I_a I_d //删除第二阶段回归预测的a和d值

_estimates unhold model_1 // 释放model_1,紧接着输出
esttab using test.rtf, replace b(%10.4f) star(* 0.1 ** 0.05 *** 0.01)  se scalars(N r2  ll aic bic)

_estimates unhold model_2 // 释放model_2,紧接着就append到之前输出的文档中,这样回归结果全部导出,至于是esttab还是outreg2之类,
                                        // 你试试看,我试了esttab没任何问题
esttab using test.rtf, a b(%10.4f) star(* 0.1 ** 0.05 *** 0.01)  se scalars(N r2  ll aic bic)
二维码

扫码加我 拉你入群

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

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

2018-5-24 21:41:01
你好,请问用cdsimeq之前,要对解释变量做检验吗?
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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