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) savek(a) 双向固定效应估计reghdfe and two-way clustering xtevent ln_w age c.age#c.age ttl_exp c.ttl_exp#c.ttl_exp tenure , pol(union) w(3) cluster(idcode year) reghdf...
vce(clustercity_id)matC=e(b_iw)matast_matrix("A",sqrt(st_matrix("e(V_iw)")))matC=C\AmatlistC*eventstudyinteractlnemissionsg_*g0-g8,///cohort(first_year)control_cohort(never_treat)///covariates($controlslnworkers)///absorb(i.city_idi.year)vce(clustercity_id)matD=e(b_iw)matast...
S458736 AEVOLCANO: Stata module to produce volcano plot for adverse event data byRachel Phillips & Suzie Cro S458735 AEDOT: Stata module to produce dot plot for adverse event data byRachel Phillips & Suzie Cro S458734 GINIINC: Stata module for measuring inequality from incomplete income and su...
event_plot, default_lookgraph_opt(xtitle("相对处理时点")ytitle("处理效应")xlabel(-5(1)5))该方法通过分时处理队列计算ATT,特别处理了处理时点与协变量相关的偏误。注意需检查平行趋势假设,建议配合bacondecomp命令进行分解诊断。方法二:Sun& Abraham (2021)事件研究法 构造动态处理效应模型:eventstudy...
Analyze duration outcomes—outcomes measuring the time to an event such as failure or death—using Stata's specialized tools for survival analysis. Account for the complications inherent in survival data, such as sometimes not observing the event (right-, left-, and interval-censoring), individuals...
S458735 AEDOT: Stata module to produce dot plot for adverse event data by Rachel Phillips & Suzie Cro S458734 GINIINC: Stata module for measuring inequality from incomplete income and survival data by Long Hong 2020 S458733 AEFDR: Stata module to perform false discovery rate p-value adjustment...
S456938 EVHISTPLOT: Stata module to produce event history plot by Henrik Stovring S456937 BYNOTE: Stata module to create a note with a user-specified format for use with the by option by Roger Newson S456936 OAXACA: Stata module to compute the Blinder-Oaxaca decomposition ...
EVHISTPLOT: Stata module to produce event history plot •by HenrikStovring •S456937BYNOTE: Stata module to create a note with a user-specified format for use with the by option •by RogerNewson •S456936OAXACA: Stata module to compute the Blinder-Oaxaca decomposition •by ...