Multi-period Difference-in-Differences (Staggered DiD)

Statistics
Introduced by
Callaway & Sant'Anna; Goodman-Bacon
Year
2021
Type
Causal inference / panel regression
Family
Quasi-experimental / causal inference

What does it do?

Multi-period Difference-in-Differences extends the classic two-period DiD framework to settings where units adopt treatment at different points in time.

Callaway and Sant'Anna (2021) formalise the estimation of group-time average treatment effects, ATT(g,t), for staggered adoption. Goodman-Bacon (2021) shows that the conventional two-way fixed-effects estimator in such designs is a weighted average of 2x2 DiD comparisons, some of which can carry negative weights. Estimating ATT(g,t) separately for each cohort and period avoids this problem.

The intuition behind the method

In a classic DiD, one group is treated and another is never treated, with a single before-after comparison. In reality, policies often roll out gradually: some units are treated in year 1, others in year 2, and so on. A two-way fixed-effects regression in this setting can be biased, because earlier treated units can serve as controls for later treated ones, and with heterogeneous effects this contaminates the estimate. Multi-period DiD addresses this by separately estimating the treatment effect for each cohort (defined by when they first received treatment) and each calendar period, then aggregating those cohort-time estimates into an interpretable summary.

History

Concerns about two-way fixed effects under staggered treatment timing were raised in several papers appearing around the time of Callaway and Sant'Anna (2021) and Goodman-Bacon (2021). Callaway and Sant'Anna proposed the group-time ATT framework together with estimators and aggregation schemes. Goodman-Bacon decomposed the two-way fixed-effects coefficient into a weighted average of all possible 2x2 DiD comparisons and showed that some of these can receive negative weights. Other alternative estimators for staggered designs have since been proposed, and the methods were taken up quickly in applied work across several fields.

When to use it

Use multi-period DiD when panel data record units that receive the same intervention at different calendar dates and the aim is a causal effect that is not distorted by comparisons with already-treated units. It suits designs with several treatment cohorts and, in each post-treatment period, a clean comparison group of never-treated units or, under the stronger assumptions noted in the FAQ, not-yet-treated units. Do not use it when virtually all units are treated at the same time, because a standard DiD is then sufficient. Avoid it when the panel has only one pre-treatment period, which leaves no way to check pre-trends, and when treatment timing is driven by the outcome itself, since the cohort definition then loses its meaning.

Limitations and considerations

  • Requires a sufficient number of never-treated or not-yet-treated units; if nearly all units are eventually treated, the control group shrinks and precision falls.
  • With many cohorts and many time periods, the number of ATT(g,t) cells grows rapidly, and some cells may have too few observations for reliable estimation.
  • The parallel-trends assumption must hold separately within each cohort, which is a stronger requirement than in a single-cohort design.
  • Aggregation of cohort-time effects into a summary ATT involves weighting choices that must be made explicit and defended.
  • Software implementation (e.g., csdid in Stata, did package in R) is more complex than a standard two-way fixed-effects regression.

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

Strengths

  • Corrects the well-documented negative-weighting bias of two-way fixed-effects regressions applied to staggered adoption designs.
  • Produces group-time treatment effects that reveal treatment effect heterogeneity across cohorts and over time since adoption.
  • Event-study plots of cohort-specific dynamics make anticipation effects and effect build-up directly visible.
  • Uses never-treated and not-yet-treated units as clean controls, avoiding the invalid use of already-treated units as a comparison.
  • Callaway-Sant'Anna estimator allows both unconditional and conditional (covariate-adjusted) parallel-trends assumptions.

Applications

  • Evaluating labour market policies rolled out across states or countries at different times, such as minimum wage increases or unemployment insurance reforms.
  • Assessing the staggered adoption of health-care programmes, public health mandates, or hospital regulations across regions.
  • Measuring the effects of environmental regulations, carbon taxes, or pollution standards that take effect in different jurisdictions at different dates.
  • Studying the staggered expansion of educational programmes, school reforms, or access to higher education across school districts.
  • Examining the staggered entry of firms into treatment (e.g., certification, subsidy eligibility) using firm-level panel data.
  • Re-examining published TWFE results to verify robustness once staggered-adoption bias is corrected.

How it works

How it works

1

Units are grouped into treatment cohorts g based on the calendar period in which they first receive the treatment. Units that never receive treatment form the clean comparison group. This cohort structure prevents contaminated comparisons between differently-timed treated groups. Treatment is assumed absorbing: once a unit is treated it stays treated.

2

For each cohort g and each post-treatment period t, the group-time average treatment effect ATT(g,t) = E[Y_t(g) - Y_t(∞) | G = g] is estimated. Here Y_t(g) is the potential outcome in period t if first treated in period g, and Y_t(∞) is the untreated potential outcome (the unit is never treated). The untreated outcome path of cohort g is recovered from the change in outcomes of a clean control group, either never-treated or not-yet-treated units, over the same interval, relative to a pre-treatment base period.

Formula
ATT(g,t) = E[Y_t(g) - Y_t(\infty) \mid G = g]
3

Individual ATT(g,t) estimates are aggregated with explicit weights w(g,t) to produce summary parameters. Typical summaries are an overall ATT, an event-study of dynamic effects by relative time, and group-specific or calendar-period-specific averages. Different weighting schemes answer different questions (for example, weights based on cohort size give more influence to larger cohorts), so state which summary is reported and how it is weighted.

Formula
\theta = \sum_{g} \sum_{t \geq g} w(g,t)\, ATT(g,t)
4

Pre-treatment trends are examined for each cohort separately against the chosen comparison group. Plotting cohort-specific pre-period ATT(g,t) estimates provides a visual and statistical check of the parallel-trends assumption. Such checks are informative but do not prove that parallel trends holds in the post-treatment periods.

5

Standard errors account for clustering at the unit level. For simultaneous (uniform) confidence bands across many group-time cells, the Callaway and Sant'Anna implementation uses a multiplier bootstrap. Because many ATT(g,t) estimates are combined, the variance of an aggregated estimator must reflect the covariance across cells. Cells containing few units can make inference unstable.

Common pitfalls

  • Running a standard two-way fixed-effects regression and labelling it multi-period DiD without addressing staggered-adoption bias — this produces estimates that can be the wrong sign.
  • Ignoring anticipation effects: if units change behaviour before the official treatment date, pre-period estimates will be contaminated and the cohort definition must be shifted back.
  • Using already-treated units as controls for later-treated cohorts, which reintroduces the contamination problem the method was designed to solve.
  • Reporting only the overall aggregated ATT without presenting the event-study plot, which hides heterogeneity and dynamic patterns that are essential for interpretation.
  • Failing to check cohort-specific pre-trends and relying on a single pooled pre-trend test, which can miss cohort-level violations of parallel trends.

Frequently asked questions

Why does standard two-way fixed effects fail with staggered treatment?

TWFE uses all available 2x2 DiD comparisons, including ones where already-treated units serve as controls for later-treated cohorts. When treatment effects are heterogeneous across cohorts or evolve over time, some of these comparisons can receive negative weights, and the TWFE coefficient can be far from any reasonable average treatment effect, and can even have the wrong sign.

What is a treatment cohort?

A cohort groups all units that first receive treatment in the same calendar period. Units treated in 2010 form one cohort, units treated in 2012 form another, and so on. Never-treated units form a separate group used as a clean comparison.

What comparison group should I use?

Never-treated units are the cleanest comparison, because they are untreated in every period. If no never-treated units exist, not-yet-treated units (those not yet treated as of period t) can serve as a comparison, though this requires stronger assumptions, namely that parallel trends and no anticipation hold for those units in the periods before they are treated.

How do I present results from a multi-period DiD?

Report both the aggregated overall ATT and an event-study plot showing effects by relative time to treatment adoption. The pre-period estimates serve as a parallel-trends check, and the post-period dynamics reveal whether effects grow, shrink, or persist.

Which software implements multi-period DiD?

The csdid command in Stata and the did package in R implement the group-time ATT estimator. Other staggered-adoption estimators are also available; check the documentation of the software you use.

What assumptions does the method need?

Following Callaway and Sant'Anna (2021): (1) no anticipation, so outcomes before the first treatment date g are unaffected by treatment; (2) parallel trends between each cohort g and the chosen comparison group (never-treated or not-yet-treated), conditional on covariates if these are used; (3) absorbing treatment, so a unit treated once stays treated; and (4) no interference between units. Using not-yet-treated units as controls requires the parallel-trends and no-anticipation conditions to hold for those units too.

Related methods

Sources

  1. 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
  2. Goodman-Bacon, A. (2021). Difference-in-differences with variation in treatment timing. Journal of Econometrics, 225(2), 254-277.

    Open DOI reference