- Introduced by
- Sun & Abraham (2021); Callaway & Sant'Anna (2021)
- Year
- 2021
- Type
- Quasi-experimental causal inference
- Family
- Quasi-experimental / causal inference
What does it do?
Heterogeneous treatment effect event study designs are panel-data causal methods that estimate how a treatment's effect evolves over time relative to adoption and differs across treated cohorts.
They build on group-time average treatment effects, ATT(g,t), which compare each cohort with valid comparison units instead of pooling all treated units into a single regression coefficient. This matters because two-way fixed-effects event studies can produce misleading coefficients when treatment timing is staggered and effects vary across cohorts.
The intuition behind the method
A standard event study plots a coefficient for each period before and after an event and reads it as the effect at that relative time. If different groups receive the treatment at different times, or respond differently, those coefficients mix effects from groups that are not comparable, and the mixing can shrink, or even reverse, the apparent effect. The heterogeneous treatment effect approach estimates each cohort's effect against clean comparison units, then combines these cohort-specific estimates in a stated way. The researcher can then see the overall average effect as well as how it varies by cohort or by time since treatment.
History
Before 2021, the two-way fixed-effects event study was a common tool for dynamic causal analysis in economics and related fields. A subsequent methodological literature showed that these estimates can be contaminated when treatment effects differ across cohorts, a problem sometimes called negative weighting. Sun and Abraham (2021) and Callaway and Sant'Anna (2021), both published in the Journal of Econometrics, proposed heterogeneity-robust alternatives: the interaction-weighted estimator and the group-time ATT framework, respectively.
When to use it
Choose this design when you have panel data in which units receive a policy or event at different times, or in different groups, and you have reason to think effects may differ across cohorts or with time since treatment. It suits staggered adoption with several pre-treatment periods, since the pre-trend checks depend on those periods. Do not use it when there is a single treated cohort and no reason to expect heterogeneity; a two-period difference-in-differences design is then simpler. It is also a poor fit when the panel has too few pre-treatment periods to assess parallel trends, or when cohorts are so small that group-time effects cannot be estimated with reasonable precision.
Limitations and considerations
- Each group-time ATT needs enough treated and comparison units to be estimated precisely; small cohorts produce wide intervals, and aggregated estimates inherit that uncertainty.
- Parallel trends must hold for each treated cohort against its comparison group, a stronger requirement than the single pooled assumption of a one-cohort design.
- Aggregated estimates depend on the weighting scheme, so different reasonable aggregations can support different conclusions and should be reported transparently.
- Estimation is more involved than a standard two-way fixed-effects regression and usually requires dedicated software, such as the did, csdid and eventstudyinteract packages.
- With many cohorts and periods, the number of group-time cells grows quickly, which can leave individual estimates imprecise unless the panel is large.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- When effects differ across cohorts, it avoids the contaminated comparisons that can make two-way fixed-effects event-study coefficients misleading, including sign reversal.
- It produces a dynamic event-study profile in which each relative-time coefficient is built from cohort-specific comparisons.
- Pre-trend checks can be examined cohort by cohort, a more targeted identification check than a single pooled test.
- Aggregation is flexible, so the same set of group-time estimates can answer questions about average, cohort-specific, or calendar-time effects.
- Covariate adjustment and the doubly robust extensions in Callaway and Sant'Anna (2021) add protection against misspecification of the comparison model.
Applications
- Evaluating staggered rollout of labour market, health, or education policies where early and late adopters may respond differently.
- Finance event studies examining abnormal returns around corporate announcements when firm-level reactions are expected to vary by size, sector, or leverage.
- Public health analyses of phased interventions — vaccination campaigns, smoking bans — where cohort-specific effects on morbidity or behaviour are of interest.
- Assessing heterogeneous impacts of environmental regulations on firms entering compliance in different fiscal years.
- Political economy research on staggered adoption of electoral or institutional reforms across regions or countries.
- Program evaluation for social transfers or training schemes with rolling enrollment, where earlier participants may differ systematically from later ones.
How it works
How it works
The building block is ATT(g,t): the average effect of treatment for units first treated in period g, measured at calendar time t. It is identified by comparing the outcome path of that cohort with a comparison group of never-treated or not-yet-treated units. Three assumptions are needed: parallel trends in the absence of treatment for each cohort against its comparison group; no anticipation (outcomes do not respond before the treatment date, or an anticipation window is specified explicitly); and a non-empty comparison group (never-treated or not-yet-treated units) in each period used. Violations of no-anticipation bias the pre-period coefficients.
Formula
ATT(g,t) = E[Y_t(g) - Y_t(\infty) \mid G = g]
In the Sun and Abraham (2021) interaction-weighted estimator, the event-study coefficient at relative time l is a weighted average of cohort-specific effects ATT(g, g+l) across the cohorts g that are observed at relative period l. The weights delta_{g,l} are the shares of each cohort among the treated units observed at relative time l. The dynamic profile is therefore built from cohort-specific terms rather than from a pooled comparison that can mix already-treated units into the control group.
Formula
\hat{\beta}_l = \sum_{g} \delta_{g,l}\, ATT(g, g+l)Coefficients for pre-treatment relative periods (l < 0) are tested jointly against zero. Cohort-specific pre-trend checks can also be examined, but when there are many cohorts, report how many checks were made, since several separate tests raise a multiple-testing concern. A failure to reject is weak evidence for parallel trends, especially with few pre-periods or small cohorts, and does not by itself confirm that the assumption holds.
The group-time ATTs can be combined into summary parameters, such as an overall average effect, an average by cohort, an average by calendar time, or an average by time since treatment. The aggregation target should be fixed according to the research question before estimation, because different aggregations can answer different questions.
Standard errors are typically clustered at the unit level. Inference on aggregated parameters must account for the covariance among the underlying group-time estimates rather than treating them as independent. Callaway and Sant'Anna (2021) use a multiplier bootstrap based on the influence functions of the group-time ATTs, which also yields simultaneous confidence bands across groups and periods. When the number of treated clusters is small, wild cluster bootstrap or other small-sample corrections are commonly used, and results should be interpreted cautiously.
Common pitfalls
- Estimating a classical two-way fixed-effects event study when timing is staggered and effects are heterogeneous. Its coefficients can differ in sign from the underlying cohort-specific effects.
- Relying only on the aggregate pre-trend plot. An aggregate can hide cohort-level departures from parallel trends.
- Choosing comparison units without checking them. Never-treated units may differ systematically from treated units, while not-yet-treated units may anticipate their own future treatment and respond before it begins. The choice should be justified and tested against both concerns.
- Choosing aggregation weights after seeing the results in order to obtain a preferred magnitude. The aggregation target should be fixed in advance.
- Reading a rising post-event profile as treatment buildup without checking alternatives. Increasing coefficients can reflect a growing effect or a delayed violation of parallel trends.
Frequently asked questions
Why can TWFE event-study coefficients be misleading under treatment effect heterogeneity?
In a staggered adoption setting, TWFE uses already-treated units as implicit controls for other treated units. When treatment effects differ across cohorts or grow over time, this comparison is invalid. Earlier-treated units carry non-zero treatment effects into the control comparison, which can distort the coefficients and sometimes reverse their sign.
What is a group-time ATT and how is it identified?
ATT(g,t) is the average treatment effect for the cohort first treated in period g, measured at time t. It is identified by comparing the outcome path of cohort g with a clean comparison group, either never-treated or not-yet-treated units, under the assumption that both groups would have followed parallel trends absent treatment.
How do I choose between the Sun-Abraham estimator and the Callaway-Sant'Anna estimator?
Both target the same group-time ATTs. Sun-Abraham uses a regression-based interaction-weighted approach that can be implemented in standard regression software. Callaway-Sant'Anna offers doubly robust extensions and more flexible aggregation. In practice the results are often similar, so the choice may depend on software availability and on whether covariate adjustment is needed.
Can I still use a pre-trend plot to assess identification?
Yes, but the pre-trend plot should be computed with the heterogeneity-robust estimator, not from TWFE. That way each relative-period coefficient reflects cohort-specific pre-trends rather than a contaminated TWFE average.
What sample size is needed?
No universal threshold exists. Each cohort needs enough units for its group-time ATT to be estimated with reasonable precision, and very small cohorts will give wide confidence intervals. The number of periods and cohorts also matters: a richer event-study profile needs more periods and cohorts, and therefore a larger panel to estimate it.
Related methods
Sources
Sun, L., & Abraham, S. (2021). Estimating dynamic treatment effects in event studies with heterogeneous treatment effects. Journal of Econometrics, 225(2), 175-199.
Open DOI referenceCallaway, B., & Sant'Anna, P. H. C. (2021). Difference-in-Differences with multiple time periods. Journal of Econometrics, 225(2), 200-230.
Open DOI reference