- Introduced by
- Callaway & Sant'Anna (2021); Borusyak, Jaravel & Spiess (2024); Sun & Abraham (2021)
- Year
- 2021
- Type
- Causal inference / quasi-experimental panel design
- Family
- Quasi-experimental / causal inference
What does it do?
A panel event study is a quasi-experimental design that estimates how an outcome changes in each period before and after a policy or shock, relative to comparison units, using unit and time fixed effects.
Coefficients on pre-treatment periods provide a check on the parallel-trends assumption, and coefficients on post-treatment periods trace how the effect develops over time.
The intuition behind the method
Think of a law that takes effect at different times across states or firms. A panel event study lines up each treated unit relative to when its treatment began, then plots the average difference from a clean control group at each relative period (e.g., two years before, one year before, the year of, one year after). Periods before treatment should show near-zero differences if the parallel-trends assumption holds; periods after reveal how the effect builds, peaks, or fades. This time-profile is richer than a single DiD coefficient and exposes both anticipation effects and dynamic adjustment.
History
The event-study design adapts classical event-study methods from finance to panel data, and it became common in applied microeconometrics, including labour, health and environmental economics. Around 2021, Borusyak, Jaravel and Spiess showed that conventional regression-based estimators do not provide unbiased estimates of relevant estimands under staggered treatment adoption with heterogeneous effects, unless strong restrictions on effect homogeneity are imposed. Callaway and Sant'Anna developed difference-in-differences estimators for multiple time periods that build cohort-specific comparisons. Together these contributions led to a substantial literature on robust difference-in-differences and event-study estimators.
When to use it
Use a panel event study when you observe the same units repeatedly over time, some units are exposed to a policy or shock at identifiable dates while others are not (or are exposed later), and you want the time profile of the effect rather than a single average. The design is most credible when treated and comparison units followed similar outcome paths before treatment, and when treated units are observed for at least two pre-treatment periods, with three or more preferred for checking pre-trends. Do not use it when all units are treated at the same date, because relative-period effects cannot then be separated from calendar-time shifts, when there are too few pre-treatment periods to assess trends, when treatment timing is itself driven by outcome changes that fixed effects cannot absorb, or when cohorts are very small. In those cases, synthetic control or instrumental-variable designs may be more suitable.
Limitations and considerations
- Parallel trends is an untestable assumption for post-treatment periods; the pre-trend test is informative but does not establish that the assumption holds after treatment.
- With staggered adoption and treatment effects that vary across cohorts or over time, the classical two-way fixed-effects estimator can be biased and may even reverse sign, which is why robust alternatives are needed.
- Precision falls quickly as the number of relative-period indicators grows, particularly when there are few pre- or post-treatment periods for each cohort.
- Cohort-aggregated ATTs are weighted averages, so a summary effect can conceal substantial differences across treatment cohorts.
- Relative-period effects are not identified when there is no clean comparison group, for example when all units are treated at the same date.
- Identification also rests on no anticipation (treated units do not change behaviour before the official treatment date), no interference (treatment of one unit does not affect outcomes of comparison units), and treatment timing that is not driven by the outcome trend. Each of these must be argued for the application, because fixed effects do not absorb violations.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Produces a full time profile of treatment effects, showing whether effects appear before treatment, how they build after it, and whether they persist or fade.
- Pre-period coefficients give a visible check on parallel trends; this is a partial test, since it cannot rule out trend changes that begin exactly at treatment.
- Unit fixed effects absorb time-invariant differences between units, and time fixed effects absorb shocks shared by treated and comparison units.
- Heterogeneity-robust estimators (Callaway and Sant'Anna; Borusyak, Jaravel and Spiess) avoid the negative-weighting problem of the two-way regression when treatment effects differ across cohorts.
- Can be estimated on unbalanced panels, provided units are observed across enough periods around their treatment dates to construct the relative-period indicators.
Applications
- Estimating the effect of staggered state-level minimum-wage increases on employment, hours worked, and earnings.
- Evaluating hospital mergers or health policy rollouts on patient outcomes and costs across cohorts of adopting providers.
- Measuring how environmental regulations affect firm productivity, emissions, or entry and exit.
- Assessing the dynamic earnings effects of job displacement events using administrative matched employer-employee panels.
- Studying the impact of school construction or education reforms on long-run educational attainment and labour market outcomes.
- Tracing the economic effects of natural disasters, pandemics, or trade shocks on local labour markets over time.
How it works
How it works
Assemble a panel with unit identifiers, calendar time, an outcome variable, and a variable giving each unit's treatment date, or indicating that the unit is never treated. Units that are never treated, or that are treated later, form the comparison group. Staggered adoption, where different units are treated in different periods, is common in policy settings.
Include unit fixed effects, which absorb time-invariant differences between units, and time fixed effects, which absorb shocks common to all units. Add an indicator for each relative period k = t − E_i, where E_i is unit i's treatment date. Each coefficient δ_k estimates the average difference in outcomes k periods from treatment onset, measured against period k = −1 (the period just before treatment), which is normalised to zero and omitted. Caution: when treatment effects vary across cohorts or over time, the δ_k coefficients from this classical two-way regression can be biased under staggered adoption and may even have the wrong sign. In that setting, use the heterogeneity-robust estimators described under att, and treat this specification only as a benchmark.
Formula
y_{it} = \alpha_i + \lambda_t + \sum_{k \neq -1} \delta_k \cdot \mathbf{1}[t - E_i = k] + \varepsilon_{it}Inspect the pre-treatment coefficients (k < 0). Coefficients that are statistically indistinguishable from zero are consistent with parallel trends, though they do not prove it. A rising or falling pattern before treatment is a warning sign that the comparison group is not valid or that anticipation effects exist. Formal joint tests on the pre-period coefficients supplement the visual check.
With staggered adoption, heterogeneity-robust estimators such as Callaway and Sant'Anna, or Borusyak, Jaravel and Spiess, build cohort-specific effects ATT(g,t): the effect for units first treated in period g, measured at calendar time t. For post-treatment calendar times (t ≥ g), the estimate compares the change in the treated cohort between period g−1 and period t with the same change for never-treated units, so period g−1 serves as the base period for every t. Pre-treatment values ATT(g,t) with t < g are computed against the same base period and serve as placebo checks: they should be close to zero if parallel trends holds. Cohort effects are then aggregated, which avoids the negative-weighting problem of the classical two-way fixed-effects regression when effects differ across cohorts.
Formula
\widehat{ATT}(g,t) = \bar{y}_{g,t} - \bar{y}_{\text{never-treated},t} - (\bar{y}_{g,g-1} - \bar{y}_{\text{never-treated},g-1})Summarise the dynamic coefficients or cohort-specific ATTs into overall or horizon-specific averages, report confidence bands, and check whether effects differ across cohorts or subgroups. Standard errors should be clustered at the level at which treatment is assigned, usually the unit. When the number of clusters is small, a wild-cluster bootstrap is preferable to conventional clustered standard errors, which tend to understate uncertainty. Report the joint test of the pre-period coefficients alongside the post-treatment profile, so that readers can judge both.
Common pitfalls
- Running the standard two-way fixed-effects regression under staggered adoption without checking for negative weights; the Callaway and Sant'Anna or Borusyak, Jaravel and Spiess estimators are designed for this case.
- Omitting the pre-trend check and claiming causal identification without any evidence on whether treated and comparison units shared trends before treatment.
- Choosing the reference period carelessly: setting the omitted period to k = −1 is conventional, whereas setting it at the treatment date itself means every coefficient is measured against a period already affected by treatment.
- Ignoring anticipation: if treated units respond before the official policy date, pre-period coefficients will be non-zero even when parallel trends hold, and the reference period should be moved earlier.
- Using very wide event windows that include periods far from treatment, where the composition of the comparison group changes and contamination becomes more likely.
Frequently asked questions
What is the difference between a panel event study and a standard DiD?
A standard DiD produces a single average treatment effect, usually the coefficient on the treatment-by-post interaction. A panel event study estimates a separate coefficient for each relative time period around the event, giving a dynamic picture of how the effect evolves. It also provides a pre-trend check that a single DiD coefficient cannot.
Why is the classical TWFE estimator problematic with staggered adoption?
When units are treated in different periods and treatment effects vary across cohorts or over time, the two-way fixed-effects estimator can implicitly give negative weight to some cohort-period comparisons. The result can be a biased estimate, possibly with the wrong sign. Robust estimators such as Callaway and Sant'Anna, or Borusyak, Jaravel and Spiess, avoid this by constructing clean comparisons between each treated cohort and valid controls before aggregating.
How many pre-treatment periods do I need?
At least two pre-treatment periods are needed to plot a pre-trend and run a formal test. Three or more are strongly preferred, because a single pre-treatment point gives no information about the trend.
What if my pre-trend test fails?
A significant pre-trend means the comparison group was already on a different trajectory, which casts doubt on parallel trends. Options include restricting the sample to better-matched control units, conditioning on covariates with care, since adjusting for time-varying covariates can itself introduce bias, using a synthetic control as the counterfactual, or adopting a doubly robust estimator. Each option should be justified and reported transparently.
Can I use this method with a binary or count outcome?
A fixed-effects event study with a binary outcome is usually a linear probability model. Its predictions can fall outside the zero-one range, although its coefficients are often read as approximate average effects. Nonlinear fixed-effects models for binary or count outcomes exist, but in short panels they can suffer from incidental-parameters bias, so their estimates should be checked before interpretation.
Related methods
Sources
Callaway, B., & Sant'Anna, P. H. C. (2021). Difference-in-differences with multiple time periods. Journal of Econometrics, 225(2), 200-230.
Open DOI referenceBorusyak, K., Jaravel, X., & Spiess, J. (2024). Revisiting event study designs: Robust and efficient estimation. Review of Economic Studies, 91(6), 3253-3285.
Open DOI reference