sergiocorreia / ivreghdfe

Run IV/2SLS with many levels of fixed effects (i.e. ivreg2+reghdfe)
MIT License
82 stars 29 forks source link

Question with the ivreghdfe command #53

Open mengzhang9299 opened 8 months ago

mengzhang9299 commented 8 months ago

I am using the ivreghdfe command, which does not work and says "option requirements not allowed". I tried to update the command manually with following code: cap ado uninstall ftools cap ado uninstall reghdfe cap ado uninstall ivreghdfe net install ftools, from(c:\git\ftools) net install reghdfe, from(c:\git\reghdfe) net install ivreghdfe, from(c:\git\ivreghdfe) However, the error continues.

gdlind commented 7 months ago

Same issue here. The command has been working fine until I did an OS reinstall and refresh of all programs. I suspect I had an older version of one or more of the required programs, and a newer version is the issue.

mengzhang9299 commented 7 months ago

Same issue here. The command has been working fine until I did an OS reinstall and refresh of all programs. I suspect I had an older version of one or more of the required programs, and a newer version is the issue.

I find that the ivreghdfe works well with the older version of reghdfe such as version 5X. I tried to uninstall the old packages first by running: ado dir ivreghdfe ado uninstall [109] Note: there may be several packages installed, I tried to uninstall them one by one. And I do the same for ftools, reghdfe, ivreg2.

Second, I run: search reghdfe5 and then I clicked the link and installed the package from http://fmwww.bc.edu/repec/bocode/i.