Event plot 命令 我估计大部分刊物存在连线的图项是这个命令画出来的。 这个命令好处是可以设置不同的改革年份进行比较,而且画图支持连线。 这个命令似乎针对双重差分有很多很好的子命令。 估计QJE 那一篇是用的这个命令画图。 clear all use "F:\桌面\事件研究法发学习代码\数据.dta", clear set scheme white_ta...
尽管在上面的输出中警告我们不应该比较事件研究估计值,但我们仍然可以使用 event_plot后面 命令绘制这些估计值,如下所示: event_plot命令可以如下安装 ssc install event_plot, replace event_plot e(estimates)#e(variances), default_look /// graph_opt(xtitle("Periods since the event") ytitle("Average cau...
xtevent ln_w age c.age#c.age ttl_exp c.ttl_exp#c.ttl_exp tenure , pol(union) w(3) cluster(idcode year) reghdfe proxy(wks_work) 绘图命令 xteventplot在 xtevent命令执行操作后生成线性面板时间研究图 命令为 webuse nlswork xtset idcode year xtevent ln_w age c.age#c.age ttl_exp c...
method(reg):设置估计方法,这里设置为OLS agg(event):设置聚合方法,这里设置为事件 并保存相应的系数矩阵C_S,用于之后的画图。 4)交互加权 用Sun and Abraham(2021)的eventstudyinteract实现交互加权(interaction weighted)估计量,构造动态处理效果的点估计置信区间。 在前期准备中,首先需要构建虚拟变量lastcohort,将控...
Deepseek辅助 组别-时期平均处理:did_multiplegt、eventstudyinteract、csdid 插补估计量:did2s、did_imputation、event_plot、fect 堆叠回归估计量:stackedev 案例13:单边离婚法案 案例14:城市群人口集聚 案例15:低碳城市试点政策 论文14:互联网基础设施 论文15:企业绿色专利再配置 参考文献:双重差分法基础及其最新发展...
avplot3Module to generate partial regression plots for subsamples avplots4Module to graph added-variable plots for specified regressors in a single image b1x2Module to account for changes when X2 is added to a base model with X1 backrasch ...
event_plot, default_lookgraph_opt(xtitle("相对处理时点")ytitle("处理效应")xlabel(-5(1)5))该方法通过分时处理队列计算ATT,特别处理了处理时点与协变量相关的偏误。注意需检查平行趋势假设,建议配合bacondecomp命令进行分解诊断。方法二:Sun& Abraham (2021)事件研究法 构造动态处理效应模型:eventstudy...
aefdr: stata module to perform false discovery rate p-value adjustment for adverse event data, Rachel Phillips,Suzie Cro aevolcano: stata module to produce volcano plot for adverse event data, Rachel Phillips,Suzie Cro aextlogit: stata module to compute average elasticities for fixed effects logit...
S456980 BANDPLOT: Stata module to plot summary statistics of responses for bands of predictors by Nicholas J. Cox S456979 ICCCONF: Stata module to compute a confidence interval for an intraclass correlation (ICC) by Paul F. Visintainer
affiliationexposureModule to compute an affiliation exposure model using two-mode actor(row)-by-event(column) network data agrmModule to calculate van der Eijk's measure of agreement "A" ainequalModule to compute measures of inequality airnetModule to create networks from airline traffic data ...