← Methods The event study recipe →

Event study

205
packages in the design · 205 papers
116
of them have a model that shows the design itself — the models read below
44
run a dedicated event study estimator (327 estimations)
How the design is counted — the same count on the recipe, outcomes and methods pages
  • The universe is every replication package our extractors have read (code_model_design) that is linked to a live paper by a confirmed link; the field is the linked paper's.
  • A package is in a design when (a) our extractor found the design's identification pattern on a line of code it runs (not a path, a folder macro, an export or an install line), or (b) it runs a model of the design's own estimator family. An ivreg2 / ivreghdfe call with no (endog = z) group counts for neither: it is OLS with robust or HAC errors, not IV.
  • Panel fixed effects is the rest: a fixed-effects estimation and none of the other designs. A package can be in several designs (not panel FE).
  • A model is an estimation OF the design only when the model itself carries the design's signature; the recipe's estimation choices, the outcomes, the instruments and every example are read from those models.
  • This design's signature in a model: an event-study estimator, event-time dummies (lead1 lag2, F*event, i.rel_time), an abnormal-return outcome (CAR, BHAR), a market-model regression, or an explicit event window in the sample condition.
  • 204 packages declare the design in code; 44 are in it by their estimator (a package can be both).

Adoption over time — the dedicated estimator

2014: 1 of 107 packages (0.9%) 2016: 1 of 105 packages (1.0%) 2021: 3 of 392 packages (0.8%) 2022: 4 of 775 packages (0.5%) 2023: 7 of 909 packages (0.8%) 2024: 11 of 1,136 packages (1.0%) 2025: 7 of 1,322 packages (0.5%) 2025 2026: 10 of 1,459 packages (0.7%)

Share of each publication year's packages with parsed models that run this estimator at least once (hover for counts). Grey years have fewer than 10 packages and are not a trend; package coverage is thin before ~2010, when journal data policies began.

Validation practice

Of the 205 packages in the design, how many run each standard check (read from the code; the same checks and numbers as the recipe). A check run under a macro or in a file we could not read is missed, so these are lower bounds. Greyed: fewer than 10 packages.

abnormal / cumulative abnormal returns
20% · 40
market model / factor-model benchmark
5% · 10
explicit event window
6% · 12
explicit estimation window
4% · 8
event-time (lead/lag) dummies
7% · 14
multiple-testing correction (FDR, Romano-Wolf, ...)
6% · 12

What it is used to study

The dependent variables of this design's estimations, read from the model roles we read from the code. Of the 205 packages in the design, 116 have a model that shows the design itself, and 100 of those have a readable outcome (936 models; for 26 packages some outcome is read only through a loop's expansion). Shares are of those 100 packages, one count per package; greyed rows rest on fewer than 10. An outcome that is a taxonomy measure's variable in the same package is shown as the measure; other names are grouped by what they name. Compare every design →

How this is counted
  • The unit is the package: a package counts once for an outcome, measure or instrument type however many of its models carry it; the model count is shown second.
  • A design's packages are the ONE design membership every page shows (identification fact on a line of code, or the design's own estimator). Its models are the ones that carry the design's signature in the model itself — a DiD estimator or a treatment × post term, event-time dummies or an abnormal-return outcome, an excluded instrument, an RD estimator or a bandwidth around a cutoff, a matching estimator or matched weights. A package with none of those models is counted in the design but has no outcome here.
  • Roles are read from each model's literal row. Only where a literal role still holds a macro (`y', $dep) are the loop-expanded rows written on the same line read for that role; an expanded row whose literal row is resolved adds nothing, and an unresolved role with no expansion is dropped.
  • An outcome is a taxonomy measure when the dependent variable is that measure's variable in the same package; otherwise it is grouped by its name (a word list, field-aware for short names like car, q, ret); otherwise it is shown as the bare variable.
  • Instruments are the EXCLUDED ones: a term also among the model's regressors is an included control. Types are read from the name (and L. / lag for lagged values). Where the name says nothing (`z`, `shock`, `iv1`), the instrument is traced to the statement in the package that builds it, up to three statements back, and typed by that statement's shape — (total − own)/(n − 1) a leave-out mean, L.x or x[_n-1] a lag, predict after a model a predicted value, a by-group sum of share × shock a shift-share, geodist a distance — or by the name of the one variable it copies or transforms. Products, thresholds and aggregates of other variables are not read, and an instrument nothing reliable types stays untyped. Each such example shows the statement, linked to its line.

Finance — 20 of 39 packages have a readable outcome

Economics — 75 of 156 packages have a readable outcome

Outcomes that are taxonomy measures (all fields: the package computes the measure and estimates it as the outcome)

Commands (of the 44 packages running the dedicated estimator)

  • eventdd22
  • eventstudy9
  • xtevent9
  • eventstudy24

Inference (of the 44 packages running the dedicated estimator)

  • cluster31
  • default13
  • randomization1
  • robust1

Clustering variables (of the 44 packages running the dedicated estimator)

  • id4
  • state_fips2
  • agent_id1
  • blocks1
  • cant1
  • cant#periods1
  • code1
  • com_cod1

Absorbed fixed effects (of the 44 packages running the dedicated estimator)

  • year4
  • fips2
  • id2
  • `fe'1
  • `xx'_miss1
  • `xx'_recode1
  • above_301
  • age1

Foundational works

What the papers whose code runs this estimator cite most (share of those papers citing each).

Recent examples, straight from the code

One model per package, from the most recent papers — each one shows the design itself (why is given beside it).

Sweeping up Gangs: The Effects of Tough-on-Crime Policies from a Network Approach American Economic Journal: Economic Policy 2026 · 5.regressionanalysis.do:177 · pkg 11714 event-time dummies
qui reghdfe Y F*event L*event if arrested==1 , a(i t i.yob#c.t i.female#c.t i.idnac#c.t) cluster(i)
Establishment of National Public Audit Oversight Boards: Descriptive Evidence and Implications for Audit Quality Journal of Accounting Research 2026 · Audit quality analyses.do:530 · pkg 12746 event-study estimator
eventdd absTotAcc2 i.IFRS_ADOPTION Size2w Performancew Growthw Loss PPE_Growthw Leveragew SalesVolw CFOVolw InvAssetsw RevARw PPENw ROAw if fyear>=2000, level(90) timevar(time_to_treat) method(hdfe, absorb(fyear gvkey) cluster(nation )) graph_op( xtitle(Relative time to Treat) graphregion(color(white)) yline( -1, lwidth(thick))) lags(10) leads(10) accum baseline(-1)
Corporate Litigation, Governance, and the Role of Law Firms Journal of Accounting Research 2026 · 03a - tests_realdata.do:2076 · pkg 12758 abnormal-return outcome
reghdfe `y' star10 $controls, a($fe_s) cluster($clustering)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
reghdfe `y' star10 lnat_r_w sale_growth_w liabilities_assets_w bm_w return1_w return_std_dev1_w return_skewness1_w turnover1_w, a(gvkey year_s lstype) cluster(gvkey)
The Unintended Consequences of Infrastructure Development Review of Economics and Statistics 2026 · Code_6_appendix.do:1087 · pkg 13680 event-time dummies
reghdfe `y' F*event L*event, a(i t) cluster(i) //
Opioid Crisis and Real Estate Prices Journal of Financial and Quantitative Analysis 2026 · [R] StateLawDiDSunAbrahmHomeValueAdditional.do:5 · pkg 14125 event-time dummies
eventstudyinteract PC_avghomevalue L*event F*event, vce(cluster statefips) absorb(countyfips year) cohort(TreatYear) control_cohort(lastcohort) covariates(l_maleratio l_whiteratio l_blackratio l_iaratio l_hispanicratio l_age20t64ratio l_age65pratio l_miginflowratio l_povertyratio l_unemploymnentrate l_laborpartrate l_neoplasmsrate l_physicians)
Nowcasting Firms’ Operating Activities from Satellite Data on Thermal Infrared Radiation Journal of Financial and Quantitative Analysis 2026 · output results.do:11 · pkg 14130 abnormal-return outcome
qui reghdfe `v' COVID19, absorb(i.yq i.firm#i.plantid) keepsingleton cluster(city yq)
CEO Compensation Changes Following Acquisitions Journal of Financial and Quantitative Analysis 2026 · JFQA_main_STATA_code.do:656 · pkg 14142 abnormal-return outcome
reghdfe car_neg1_pos1 change_equity_perc_comp_POS##rel_size_5_neg0_stock_95  change_equity_perc_comp_POS##rel_size_5_neg0_mixed_95 ///
$rhs1 rel_size_mve_comp_neg0 if ($period1==1 | $period2==1) & rel_size_mve_gt_05_neg0==1, absorb(year_industry) vce(cluster gvkey_n)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
reghdfe car_neg1_pos1 change_equity_perc_comp_POS##rel_size_5_neg0_stock_95 change_equity_perc_comp_POS##rel_size_5_neg0_mixed_95 lag_log_assets_2004 lag_firm_age_years_compustat age lag_mkt_book_compustat_w1 return_year_lag1 lag_roa_w1 change_ceo rel_size_mve_comp_neg0 if (year_1993_2005==1 | year_2006_2018==1) & rel_size_mve_gt_05_neg0==1, absorb(year_industry) vce(cluster gvkey_n)
Housing affordability and parental income support: The role of mortgage co-signing Journal of Financial Economics 2026 · stress_test.do:82 · pkg 14272 event-study estimator
eventdd constr i.qdate i.fail_high `control_vars', timevar(event_time) method(hdfe, absorb(fsa) vce(cluster fsa)) ci(rcap, lcolor(gs8))  coef_op(ms(D) mc(gs8)) ///
graph_op(legend(order(2 "Point estimate" 1 "95% CI")) graphregion(color(white)) plotregion(lc(black) lw(medthin)) aspectratio(0.8) xsize(10) ysize(8) ylabel(-0.02(0.02)0.08) ytitle("I(Constrained w/o parent)") xtitle("Quarter relative to 2016Q4"))
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
eventdd constr i.qdate i.fail_high min_age i.cs_cd_cut, timevar(event_time) method(hdfe, absorb(fsa) vce(cluster fsa)) ci(rcap, lcolor(gs8)) coef_op(ms(D) mc(gs8)) graph_op(legend(order(2 "Point estimate" 1 "95% CI")) graphregion(color(white)) plotregion(lc(black) lw(medthin)) aspectratio(0.8) xsize(10) ysize(8) ylabel(-0.02(0.02)0.08) ytitle("I(Constrained w/o parent)") xtitle("Quarter relative t
Market feedback: Evidence from the horse’s mouth Journal of Financial Economics 2026 · STATA-1-Measures.do:242 · pkg 14274 event-study estimator
eventstudy2 Stkcd date using stockreturn, returns(Dretwd) model(RAW) ///
    eswlb(-250) eswub(-50) ///
    evwlb(-1) evwub(7) ///
    car1LB(-1)  car1UB(7) ///
    arfile(RAWarfile1_7)  crossfile(RAWcrossfile1_7) replace
Community health teams and health utilization in El Salvador Journal of Health Economics 2026 · 3. SM2019_Appendix.do:1038 · pkg 14517 event-time dummies
eventstudyinteract `y' L*event F*event, vce(cluster i) absorb(i t) cohort(Ei) control_cohort(lastcohort)
Organized crime, local politicians, and state capacity Journal of Development Economics 2026 · appendix_fig_b2.do:256 · pkg 14893 event-time dummies
eventstudyinteract `x'  lag_6 lag_5 lag_4 lag_3 lag_2  lag_1 lead_0 lead_1 lead_2 lead_3 lead_4 lead_5 lead_6  if year>1994 & sample==1 &(id_statemuni!=28022&id_statemuni!=15033 &id_statemuni!=25012&id_statemuni!=14039), absorb(i.id_statemuni i.year i.veryfar) control_cohort(no_treat) cohort(treat_year)  vce(cluster id_statemuni)
Disadvantaging Rivals: Vertical Integration in the Pharmaceutical Market American Economic Journal: Applied Economics 2026 · figures_tables.do:161 · pkg 17435 event-study estimator
eventdd