Dynamic Event Study Design

Statistics
Introduced by
Sun & Abraham (2021); Callaway & Sant'Anna (2021) — building on earlier event-study traditions in finance and economics
Year
2021 (canonical treatment); practice since 1990s)
Type
Quasi-experimental / causal inference
Family
Quasi-experimental / causal inference

What does it do?

The dynamic event study design extends the standard difference-in-differences framework by estimating treatment effects at each period before and after the event, rather than collapsing everything into a single post-treatment coefficient.

By plotting lead and lag coefficients against relative event time, researchers can simultaneously test for pre-existing trends and trace how the causal effect evolves over multiple post-treatment periods.

The intuition behind the method

Standard DiD produces one number: did outcomes rise after treatment, relative to control units? The dynamic version asks whether treated and control units were already moving apart before treatment and, if not, how quickly effects appeared and whether they persisted, faded or grew. Relative-time indicators measure how far each observation is from the unit's own treatment date. Coefficients on negative relative times serve as a check on the parallel-trends assumption, and post-treatment coefficients trace the path of the estimated effect. A flat pre-period is consistent with parallel trends but does not prove them, and a rising post-period by itself does not establish that the estimated effect is causal.

History

Event studies were first widely used in finance, where they measured stock-price reactions around announcements. Economists later adapted the approach to panel data to evaluate policies and programs with known implementation dates. Work on heterogeneous treatment timing led to the corrections of Sun and Abraham (2021) and Callaway and Sant'Anna (2021).

When to use it

Use a dynamic event study when you have panel data, a clearly defined treatment event with known timing, and you need to (a) verify the parallel-trends assumption empirically via pre-trends, or (b) document whether effects appear immediately or build over time. It is most valuable when effect dynamics are substantively important — for example, when assessing whether a policy's impact fades as firms adapt or grows as adoption spreads. Do not use it when you have only two time periods (the static DiD suffices), when treatment dates are entirely unknown, or when panel length is too short to estimate multiple relative-time cells with adequate precision. Avoid the naive pooled specification in staggered adoption settings without cohort-specific corrections, as heterogeneous treatment timing can produce severely misleading estimates.

Limitations and considerations

  • Requires sufficient panel length to populate multiple pre- and post-treatment periods per unit; short panels yield imprecisely estimated lag coefficients.
  • With staggered treatment timing, the naive OLS specification conflates cohort effects and produces biased estimates if treatment effects are heterogeneous — requiring additional estimators.
  • Many relative-time cells with small within-cell sample sizes inflate standard errors and reduce statistical power.
  • The method cannot recover the counterfactual if no valid never-treated or not-yet-treated control units exist.
  • Binning choices for extreme leads and lags are researcher degrees of freedom that can meaningfully affect the shape of the estimated event-study plot.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Provides a visual falsification test of parallel trends through pre-treatment lead coefficients. A flat pre-period is consistent with the assumption but cannot confirm it.
  • Reveals the time path of causal effects, including onset, peak, persistence, or reversal, which a single DiD coefficient cannot capture.
  • In staggered adoption designs, cohort-specific estimators such as those of Sun and Abraham and of Callaway and Sant'Anna avoid mixing comparisons across cohorts, under parallel trends and no anticipation.
  • Flexible: researchers can trim extreme relative-time bins, bin distant lags, and test for anticipation effects.
  • The plot of coefficients by relative time shows the timing of effects alongside the main DiD estimate, which makes the dynamics visible to readers.

Applications

  • Labor economics: tracing the month-by-month employment effects of a minimum-wage increase after state adoption.
  • Health policy: mapping how hospital readmission rates evolve in the years following a pay-for-performance reform.
  • Finance and corporate governance: documenting stock or accounting responses across quarters around a regulatory shock.
  • Education research: estimating whether test-score gains from a school intervention persist, fade, or compound over school years.
  • Environmental economics: measuring pollution trajectories before and after an emissions regulation takes effect.
  • Regional economics: evaluating how local labor markets respond to plant openings or closures over multi-year horizons.

How it works

How it works

1

Assign each unit-period observation a relative event time K = t minus the unit's first treatment period. Never-treated units serve as the reference group, or all units with very distant relative times may be pooled into a single bin.

Formula
K_{it} = t - E_i, \quad E_i = \text{treatment cohort (first treated period) for unit } i
2

Regress the outcome on unit fixed effects, calendar-time fixed effects, and a full set of relative-time indicators, omitting the period just before treatment (K = -1) as the baseline. Unit fixed effects absorb time-invariant differences across units, and calendar-time effects absorb common shocks that affect all units in the same period.

Formula
y_{it} = \alpha_i + \lambda_t + \sum_{k \neq -1} \beta_k \cdot \mathbf{1}[K_{it} = k] + \varepsilon_{it}
3

Test whether all pre-treatment lead coefficients for K ≤ -2 are jointly indistinguishable from zero. K = -1 is the omitted baseline and is not estimated, so it is not part of the test. Rejection signals that treated and control units were on diverging paths before treatment, which undermines the parallel-trends identification assumption. Failure to reject is weaker evidence: it does not show that parallel trends hold.

Formula
H_0: \beta_k = 0 \text{ for all } k < 0 \quad (\text{pre-treatment leads})
4

Under parallel trends, no anticipation, and a common effect across treatment cohorts, each post-treatment lag coefficient estimates the average treatment effect on the treated at that relative period. When treatment timing is staggered and effects differ across cohorts or over time, the pooled coefficient can mix effects from different comparisons, so it equals ATT(k) only under those conditions. In that setting, cohort-specific estimators are needed.

Formula
\hat{\beta}_k = \text{ATT}(k) \quad \text{average treatment effect at relative period } k \geq 0
5

The overall average θ̂ is a weighted average of the post-treatment estimates β̂_k over k ≥ 0. The pooled specification does not report θ̂ directly, so the weights must be chosen and stated explicitly, for example equal weights across post-treatment periods or weights proportional to the number of treated observations in each period. When treatment is staggered, the Sun-Abraham interaction-weighted estimator estimates cohort-specific effects at each relative period, using never-treated units (or, if none exist, the last-treated cohort) as controls. It then averages these cohort-specific effects with weights equal to each cohort's share of treated units at that relative period. The Callaway-Sant'Anna approach first estimates group-time ATTs from comparisons with never-treated or not-yet-treated units, then aggregates them to event time with weights proportional to group size. Both avoid the cross-cohort comparisons of the pooled specification, provided the usual identification assumptions hold.

Formula
\hat{\theta} = \sum_{k \geq 0} w_k \hat{\beta}_k \quad (\text{weighted average of dynamic ATTs})

Common pitfalls

  • Failing to bin or drop distant relative-time periods, which leads to sparse cells, erratic coefficient estimates, and misleading plots.
  • Using the pooled two-way fixed-effects specification without cohort corrections in a staggered adoption design — heterogeneity in treatment timing causes the dynamic coefficients to mix ATTs from different cohorts with potentially different signs.
  • Omitting a reference period or choosing an inappropriate baseline (e.g., K = 0 instead of K = -1), which shifts all coefficients and distorts the pre-trend picture.
  • Interpreting a statistically non-significant pre-trend as proof of parallel trends without reporting joint F-test results or confidence intervals around the leads.
  • Ignoring anticipation: if units change behavior before the official treatment date, pre-treatment leads will be non-zero even when identification is otherwise valid — requiring the baseline to be shifted further back.

Frequently asked questions

How is a dynamic event study different from a standard DiD?

Standard DiD collapses all post-treatment periods into a single dummy and produces one treatment effect estimate. The dynamic event study replaces that dummy with a full set of relative-time indicators, yielding a separate estimate for each lead and lag. This lets you check pre-trends and trace the time path of effects.

Why does staggered treatment timing cause problems, and what corrects it?

When units are treated at different calendar times, the two-way fixed-effects estimator implicitly uses early-treated units as controls for later-treated ones. If treatment effects differ across cohorts or grow over time, these implicit comparisons can be negatively weighted, biasing the estimates. The Sun-Abraham interaction-weighted estimator and Callaway-Sant'Anna group-time ATT approach correct this by estimating effects within cohorts and then aggregating.

Which period should I omit as the baseline?

The conventional choice is K = -1 (one period before treatment). Omitting K = 0 or a different period shifts the entire coefficient plot and distorts the pre-trend picture. If anticipation effects are suspected, with units changing behavior before the official date, shift the baseline to K = -2 or further.

How do I handle units that are never treated?

Never-treated units are the ideal comparison group, as they are free from any treatment contamination. If all units are eventually treated, you can use not-yet-treated units at each relative-time cell as controls. This requires two further assumptions: no spillovers, so that treatment of one unit does not affect not-yet-treated units, and no anticipation, so that not-yet-treated units do not change their behavior before their own treatment dates. Their pre-period outcomes should be checked for trends in the same way as those of any other control group.

How many pre-treatment periods do I need for a credible test?

At least two to three pre-treatment periods are standard, enabling a visual and formal joint test. More pre-periods increase power for detecting violations. If the panel is short, you may have only one usable pre-period, which limits your ability to credibly test parallel trends.

Related methods

Sources

  1. 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 reference
  2. Callaway, B., & Sant'Anna, P. H. C. (2021). Difference-in-differences with multiple time periods. Journal of Econometrics, 225(2), 200-230.

    Open DOI reference