我之前运行不了也是重复报错,重新安装了以下命令(如果有某一条运行不了可以先安装其他安装包比如ivreg2或reghdfe,然后再选中四条安装命令同时运行)。
stata中直接help ivreghdfe会弹出网址,网址上有这几条命令的说明
Install ftools (remove program if it existed previously)
cap ado uninstall ftools
net install ftools, from("https://raw.githubusercontent.com/sergiocorreia/ftools/master/src/")
* Install reghdfe
cap ado uninstall reghdfe
net install reghdfe, from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/")
* Install ivreg2, the core package
cap ado uninstall ivreg2
ssc install ivreg2
* Finally, install this package
cap ado uninstall ivreghdfe
net install ivreghdfe, from(
https://raw.githubusercontent.co ... eghdfe/master/src/)