全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
43556 47
2018-10-12
悬赏 500 个论坛币 已解决

请教下大家,用Reghdfe做工具变量回归时候总是系统提示一下,不知道大家遇到过或如何解决的呢?
回归方程为
reghdfe a (b=c),absorb(year)
系统提示为
option sdofminus() not allowed

最佳答案

蓝色 查看完整内容

1、上面链接作者已经说了https://github.com/sergiocorreia/reghdfe/issues/146 My bad, the error message is not quite clear:I moved the IV code of reghdfe into ivreghdfe, so you need to install and use that package in order to do IV(technically, there is no "IV" code, as I was just wrapping ivreg2) 要用ivreghdfe命令,不要要用reghdfe命令了 2、把ivreg2、reghdfe、ivreghdfe和ftools命令重新安装一 ...
二维码

扫码加我 拉你入群

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

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

全部回复
2018-10-12 11:47:32
1、上面链接作者已经说了https://github.com/sergiocorreia/reghdfe/issues/146

My bad, the error message is not quite clear:

I moved the IV code of reghdfe into ivreghdfe, so you need to install and use that package in order to do IV

(technically, there is no "IV" code, as I was just wrapping ivreg2)



ivreghdfe.png

要用ivreghdfe命令,不要要用reghdfe命令了

2、把ivreg2、reghdfe、ivreghdfe和ftools命令重新安装一下,然后在执行



二维码

扫码加我 拉你入群

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

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

2018-10-12 16:08:00
请 search ivreghdfe 并安装,看看 help ivreghdfe 之说明。
二维码

扫码加我 拉你入群

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

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

2018-10-12 16:56:47
黃河泉 发表于 2018-10-12 16:08
请 search ivreghdfe 并安装,看看 help ivreghdfe 之说明。
黄老师,您好!
我运行ivreghdfe帮助里的自带数据时显示last estimates not found,请问是何原因呢?


. sysuse auto
(1978 Automobile Data)

. ivreghdfe price weight (length=gear), absorb(rep78, tol(1e-6))
last estimates not found
r(301);
二维码

扫码加我 拉你入群

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

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

2018-10-12 16:58:50
kobe_love_jolin 发表于 2018-10-12 16:56
黄老师,您好!
我运行ivreghdfe帮助里的自带数据时显示last estimates not found,请问是何原因呢?

...
我的没问题,
复制代码
二维码

扫码加我 拉你入群

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

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

2018-10-12 17:02:21
黃河泉 发表于 2018-10-12 16:58
我的没问题,
真奇了怪了?!
难道是Mac与Windows的差异?
我用的是Mac版Stata 14.1

谢谢您的答复,祝好!!
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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