|
啊?就是他那一串代码啊
* 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 5.x
cap ado uninstall reghdfe
net install reghdfe, from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/")
* Install boottest for Stata 11 and 12
if (c(version)<13) cap ado uninstall boottest
if (c(version)<13) ssc install boottest
* Install moremata (sometimes used by ftools but not needed for reghdfe)
cap ssc install moremata
ftools, compile
reghdfe, compile
你是上不去网站吗? 那就手动去下载包
ftools(https://codeload.github.com/sergiocorreia/ftools/zip/master)
reghdfe(https://codeload.github.com/sergiocorreia/reghdfe/zip/master)
ivreghdfe(https://codeload.github.com/sergiocorreia/ivreghdfe/zip/master)
然后cap ado uninstall ftools
cap ado uninstall moresyntax
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)
ftools, compile
reghdfe, compile
|