楼主: 海之鼠
56096 29

[回归分析求助] 使用reghdfe控制固定效应的问题 [推广有奖]

11
黃河泉 在职认证  发表于 2019-3-14 08:29:51
图作不轨 发表于 2019-3-13 18:33
老师您好!
请问用了reghdfe这个命令后出现下面这个错误的原因是什么?谢谢您!
command ms_add_comma  ...
請重新更新:
  1. // https://github.com/sergiocorreia/reghdfe

  2. // reghdfe

  3. * Install ftools (remove program if it existed previously)
  4. cap ado uninstall ftools
  5. net install ftools, from("https://raw.githubusercontent.com/sergiocorreia/ftools/master/src/") replace

  6. * Install reghdfe 5.x
  7. cap ado uninstall reghdfe
  8. net install reghdfe, from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/") replace

  9. * Install boottest for Stata 11 and 12
  10. if (c(version)<13) cap ado uninstall boottest
  11. if (c(version)<13) ssc install boottest, replace

  12. * Install moremata (sometimes used by ftools but not needed for reghdfe)
  13. cap ssc install moremata, replace

  14. ftools, compile
  15. reghdfe, compile

  16. // ivreghdfe

  17. cap ado uninstall ivreg2hdfe
  18. cap ado uninstall ivreghdfe
  19. cap ssc install ivreg2, replace // Install ivreg2, the core package
  20. cap ssc install ranktest, replace
  21. net install ivreghdfe, from(https://raw.githubusercontent.com/sergiocorreia/ivreghdfe/master/src/) replace
复制代码

12
图作不轨 发表于 2019-3-18 21:33:27
按照您的方法 解决了问题 谢谢老师

13
汤大圆 学生认证  发表于 2019-6-26 15:44:53
您好,请问我stata 15.0一直按照不成功reghdfe这个命令怎么办呀

14
yangtuobushiyan 发表于 2019-7-23 22:29:26
汤大圆 发表于 2019-6-26 15:44
您好,请问我stata 15.0一直按照不成功reghdfe这个命令怎么办呀
请问您解决了吗,我也遇到这个问题

15
450667569 发表于 2019-7-23 22:34:15
图作不轨 发表于 2019-3-18 21:33
按照您的方法 解决了问题 谢谢老师
我想请问:豪斯曼检验固定效应,行业会因为共线性而被omit,用reghdfe才能做固定效应,但是est store fe是无法保存的,您是如何解决的?

16
汤大圆 学生认证  发表于 2019-7-24 08:45:53
yangtuobushiyan 发表于 2019-7-23 22:29
请问您解决了吗,我也遇到这个问题
解决了,你就按照前面说的,先使用命令安装,一步一步来,我后面就可以了

17
I@cloud@fish 学生认证  发表于 2019-7-25 17:34:43
黃河泉 发表于 2019-3-14 08:29
請重新更新:
黄老师,您好!我在使用reghdfe 时,总是提示class FixedEffects undefined错误,不知道怎么回事,向您请教!

18
黃河泉 在职认证  发表于 2019-7-25 17:36:50
I@cloud@fish 发表于 2019-7-25 17:34
黄老师,您好!我在使用reghdfe 时,总是提示class FixedEffects undefined错误,不知道怎么回事,向您请 ...
请执行 reghdfe, compile!

19
I@cloud@fish 学生认证  发表于 2019-7-25 21:19:02
黃河泉 发表于 2019-7-25 17:36
请执行 reghdfe, compile!
感谢黄老师!按照您的方法解决了问题

20
Val-GA 学生认证  发表于 2019-10-16 21:16:53
老师您好,我用了您发的安装命令但是还是报错是为什么呢?

reghdfe y c.D#c.post x1 x2 , absorb(id time) vce(robust)
file not found: ftools,.ado

net install ftools, from("https://raw.githubusercontent.com/sergiocorreia/ftools/master/src/")
checking ftools consistency and verifying not already installed...

the following files already exist and are different:
    D:\stata15\ado\plus\f\fcollapse.ado
    D:\stata15\ado\plus\f\fcollapse.sthlp
    D:\stata15\ado\plus\f\fsort.ado
    D:\stata15\ado\plus\f\fsort.sthlp
    D:\stata15\ado\plus\f\fisid.ado
    D:\stata15\ado\plus\f\fegen.ado
    D:\stata15\ado\plus\f\fegen.sthlp
    D:\stata15\ado\plus\f\fegen_group.ado
    D:\stata15\ado\plus\j\join.ado
    D:\stata15\ado\plus\j\join.sthlp
    D:\stata15\ado\plus\f\fmerge.ado
    D:\stata15\ado\plus\f\fcollapse_main.mata
    D:\stata15\ado\plus\f\fcollapse_functions.mata
    D:\stata15\ado\plus\m\ms_compile_mata.ado
    D:\stata15\ado\plus\m\ms_get_version.ado
    D:\stata15\ado\plus\m\ms_parse_absvars.ado
    D:\stata15\ado\plus\m\ms_parse_varlist.ado
    D:\stata15\ado\plus\m\ms_fvstrip.ado
    D:\stata15\ado\plus\f\ftab.ado

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-30 15:43