- 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?
The dynamic panel event study is a quasi-experimental method that uses panel data to trace how a treatment effect evolves around a defining event.
It estimates a regression with separate coefficients for each period before and after the treatment date, so that pre-treatment coefficients can serve as a test of parallel trends and post-treatment coefficients show the profile of the effect over time.
The intuition behind the method
Instead of summarising a treatment effect as one number, the dynamic event study asks whether the effect appears immediately, grows, or fades. It centres each unit's timeline on its own treatment date and estimates a separate coefficient for each period relative to that date. Pre-treatment coefficients act as a falsification check: if the parallel-trends assumption holds, they should be close to zero. Post-treatment coefficients show whether the impact is sudden, gradual, persistent or temporary, which is often the most useful part of the output for interpreting a policy.
History
Event-study regressions were developed in empirical finance and economics to measure abnormal outcomes around announcement dates, and they were later adapted to panel data with unit and time fixed effects and a full set of lead and lag indicators. This panel form became standard in applied microeconometrics over the following decades. Around 2018 to 2021, methodological work showed that the conventional two-way fixed effects implementation can be biased when treatment is staggered and effects vary across cohorts, which led to the corrected estimators of Callaway and Sant'Anna (2021) and Sun and Abraham (2021). Both corrected estimators appear in volume 225 of the Journal of Econometrics (2021), although bibliographic records list 2020 as their year, so either year may be encountered.
When to use it
Choose this design when you have panel data with several periods observed both before and after an event, when units are treated at different calendar times (staggered adoption), and when the question concerns how the effect unfolds over time rather than a single average. It is also appropriate when you want a visible test of pre-trends. It needs comparison observations at each event time, so untreated or not-yet-treated units should be present. Do not use it when there is only one post-treatment period or no pre-treatment observations, because neither the dynamic profile nor the pre-trend test can be computed. Avoid the conventional two-way fixed effects version when adoption is staggered and effects may differ across cohorts, and use the corrected estimators instead.
Limitations and considerations
- The dynamic profile cannot be identified with only two periods; several periods on both sides of the event are needed.
- With staggered timing and heterogeneous effects, the conventional two-way fixed effects estimates can be contaminated by effects from other cohorts unless corrected, as Sun and Abraham (2021) and Callaway and Sant'Anna (2021) discuss.
- Estimates become less precise at the ends of the event-time window, where fewer units contribute, so distant leads and lags are noisier.
- The design assumes no anticipation: if units change behaviour before the official treatment date, the pre-treatment coefficients will not be zero even when parallel trends hold.
- The choice of how many leads and lags to include, and whether to bin or trim the outer periods, is left to the researcher and can change the estimates.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Shows the full profile of the treatment effect, including onset, growth, plateau or decay, rather than collapsing it into a single coefficient.
- Pre-treatment lead coefficients give a visible check of the parallel-trends assumption without a separate design.
- Can accommodate staggered treatment adoption across units without requiring a single common treatment date, provided the corrected estimators are used when effects differ across cohorts.
- Unit and time fixed effects absorb time-invariant differences between units and common shocks in each period at the same time.
- The event-time plot is easy to explain to non-specialist audiences who want to know when effects appear.
Applications
- Tracing employment and wage changes after a minimum-wage or labour-market reform, using multi-year firm or individual panel data.
- Measuring how the effect of a trade shock or tariff change on industry outcomes builds up over successive quarters.
- Evaluating health-system or public-health policies, such as Medicaid expansions, that were adopted in different states at different times.
- Assessing how firm investment or innovation responds to a tax incentive in the periods before and after eligibility begins.
- Studying educational programme roll-outs across school districts that adopted in different academic years.
How it works
How it works
Each unit's calendar time is re-expressed as event time l = t minus the unit's treatment date. This aligns all units around their own treatment date, so that units treated at different calendar times can be compared.
Formula
\text{Let } \ell = t - E_i \text{ denote event time, where } E_i \text{ is unit } i\text{'s treatment date.}The outcome is regressed on unit fixed effects (absorbing time-invariant differences between units), time fixed effects (absorbing shocks common to all units in a period), and a full set of event-time indicators for each lead and lag. The period immediately before treatment (l = -1) is left out and serves as the baseline, because including it together with the fixed effects would make the indicators perfectly collinear.
Formula
y_{it} = \alpha_i + \lambda_t + \sum_{\ell \neq -1} \delta_\ell \cdot \mathbf{1}[t - E_i = \ell] + \varepsilon_{it}Coefficients on pre-treatment leads (l < 0) should be statistically indistinguishable from zero. A joint test of these coefficients is the usual check of the parallel-trends assumption. Significant pre-treatment coefficients suggest that treated and comparison units were already diverging before the event.
Formula
H_0: \delta_\ell = 0 \quad \forall \, \ell < 0
Each post-treatment lag coefficient (l >= 0) estimates the average effect at that distance from the event. Plotting these estimates with confidence bands gives an event-time plot that shows when the effect starts, how large it becomes, and how long it persists.
Formula
\hat{\delta}_\ell \text{ for } \ell \geq 0 \text{ traces the treatment effect trajectory over post-event time.}For a single summary figure, the period-specific estimates can be combined with weights into an overall ATT or horizon-specific averages. The weights depend on the estimator and are not given here. Under staggered timing with heterogeneous effects, the conventional two-way fixed-effects coefficients can be contaminated by effects from other cohorts, so a weighted sum of them need not equal the ATT. Callaway and Sant'Anna (2021) and Sun and Abraham (2021) set out corrected ways of doing this, and the aggregation can be interpreted as an ATT only when those corrected estimators are used.
Formula
\widehat{ATT} = \sum_{\ell \geq 0} w_\ell \hat{\delta}_\ellCommon pitfalls
- Using the conventional two-way fixed effects specification with staggered adoption and heterogeneous effects, which can produce biased or sign-reversed estimates for some cohorts; the corrected estimators of Sun and Abraham (2021) and Callaway and Sant'Anna (2021) are the alternatives to use instead.
- Inspecting the event-study graph visually without a joint test of the pre-treatment coefficients, which leaves the parallel-trends check incomplete.
- Including too few pre-treatment periods to detect gradual divergence between treated and comparison units before the event.
- Ignoring anticipation: if units adjust before the official date, the pre-period coefficients can show effects that look like pre-trends.
- Reading the omitted period (l = -1) as a true zero effect. It is a baseline by construction, and all other coefficients are measured relative to it.
Frequently asked questions
How is the dynamic panel event study different from a standard DiD?
Standard DiD collapses all post-treatment periods into one interaction coefficient, giving a single average effect. The dynamic event study estimates a separate coefficient for each period before and after treatment, which shows when effects start and how they evolve, and it provides a test of pre-trends through the pre-treatment leads.
Why is the period l = -1 omitted from the regression?
One event-time indicator must be dropped to avoid perfect collinearity with the unit and time fixed effects. The period immediately before treatment (l = -1) is the conventional baseline, so every coefficient is interpreted relative to outcomes in that period.
What do I do if my pre-treatment coefficients are not zero?
Significant pre-treatment coefficients call the parallel-trends assumption into question, so the comparison units may not provide a valid counterfactual. Check whether the treated and comparison groups differ in composition. Covariate adjustment or matching may help if the divergence reflects observed differences between the groups, but neither guarantees that parallel trends hold, and either can introduce new bias. Report the violation and its implications for the estimates rather than treating the design as validated.
Does staggered treatment timing require a special estimator?
Yes, when adoption is staggered and effects differ across cohorts. The conventional two-way fixed effects estimator can then produce biased or sign-reversed estimates. The interaction-weighted estimator of Sun and Abraham (2021) and the group-time ATT aggregation of Callaway and Sant'Anna (2021) are the recommended alternatives.
How many periods do I need before and after the event?
At least two or three pre-treatment periods are needed for a meaningful pre-trend test, since a single pre-period gives no way to check for a pre-existing trend. Include as many post-treatment periods as are substantively relevant and the data allow, but expect less precision at the edges of the event-time window, where fewer treated units contribute.
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 referenceSun, 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