. songbl DID 安装最新版lianxh/songbl命令:. ssc install lianxh, replace . ssc install songbl, re...
// 1.使用 Borusyak 等人的 did_imputation 进行估计。(2021)did_imputation Y i t Ei, allhorizons pretrend(5)event_plot, default_look graph_opt(xtitle("Periods since the event") ytitle("Average causal effect") title("Borusyak et al. (2021) imputation estimator") xlabel(-5(1)5))...
如果回归方程中没有出现treat这一项,有可能是使用了个体固定效应。此时treat可以被个体固定效应线性表示(...