文章预览
fect:面板因果推断论文推荐及Stata应用 参考文献:A Practical Guide to Counterfactual Estimators for Causal Inference with Time-Series Cross-Sectional Data Authors: Licheng Liu (MIT); Ye Wang (NYU); Yiqing Xu (Stanford); Ziyi Liu (Uchicago); Shijian Liu (Duke) 1、简介 reghdfe 和 _gwtmean 包需要提前安装 . ssc install reghdfe, replace . ssc install _gwtmean, replace 使用Stata14.0版本及以上进行操作 . cap ado uninstall fect // in -case already installed . net install fect, from(https://raw.githubusercontent.com/xuyiqing/fect_stata/master/) replace 如果您的设备无法访问上述链接,可以在相关仓库下载Zip, https://github.com/xuyiqing/fect_stata,将其解压缩到本地目录,然后将上述链接替换为 net install . net install fect, from(full_local_path_to_files) replace 语法格式 fect outcome [ if ] ,treat(varname) unit(varname) time(varname) [options] 选项含义为: treat(varlist)
………………………………