Staggered Rollout Causal Analysis: Designing a Robust Estimation
Statistics & ExperimentsModel answerLast updated
Design a staggered-adoption DiD for a phased 50-region rollout that stays valid under heterogeneous, dynamic treatment effects, from estimator choice to inference.
A product rollout is being phased across 50 geographic regions between June 1 and August 15, 2025 (a roughly 11-week staircase), with weekly revenue per user as the primary metric. You must design the causal analysis so it stays valid when treatment effects differ across cohorts and evolve over time since launch.
Address each of the following, with concrete choices and your reasoning:
(a) Explain precisely when and why a two-way fixed-effects (TWFE) regression on a treatment dummy breaks down, what quantity it actually estimates, and under which conditions it is still trustworthy.
(b) Specify a robust estimator — e.g., Callaway–Sant'Anna group-time ATTs or Sun–Abraham interacted/cohort-relative-time regression — including how group-time effects are constructed, which comparison group is used, the role of any covariates, and how cohort-level effects get aggregated into an overall and an event-time summary (state the weights).
(c) Lay out the event-study design: reference period, treatment of anticipation, event-window balancing, and how you would present the plot including uncertainty bands.
(d) Describe pre-trend diagnostics (a joint test of pre-period coefficients), the caveats of pre-testing, and remedies if pre-trends are violated.
(e) Address small-cluster and serial-correlation concerns (only ~50 clusters) — what inference procedure you would use and what else you'd report.
(f) Say how you would reconcile results with a parallel propensity-score-matching analysis.
The panel is weekly region-level; assume an adequate pre-period is available and discuss what happens if every region is eventually treated.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Modeling setup
Let region i have cohort G_i equal to the first week it is treated (∞ if it never is). About eleven weekly cohorts exist. Outcome Y_it is weekly revenue per user. Weight by active users if the estimand is revenue per user at the region level, winsorize or log to tame the heavy right tail, and pull a pre-period of roughly 12–20 weeks (from earlier in the year). The three identifying assumptions to state up front: parallel trends (possibly conditional on covariates), limited anticipation (allow δ weeks if the rollout was pre-announced), and no cross-region spillovers. Note that if all 50 regions are treated by mid-August there is no never-treated group, so the design must lean on not-yet-treated regions, and effects are only identified up to the week before the final cohort adopts.
(a) Why TWFE fails
The regression Y_it = α_i + λ_t + β·D_it + ε_it is not a single comparison. The Goodman-Bacon (2021) decomposition shows β is a weighted average of all 2x2 DiDs: treated vs never-treated and earlier vs later cohorts (both "clean") plus late vs early-treated after the early cohort is already treated — "forbidden" comparisons in which the already-treated group serves as the control and its evolving effect gets subtracted. β equals the ATT only if effects are constant across cohorts and flat in exposure time. If effects grow with exposure (user learning) or differ by cohort (high-value regions launch first), forbidden comparisons get negative weights, and β can be the wrong sign even when every unit-level effect is positive (de Chaisemartin & D'Haultfœuille, 2020). Weights also depend on cohort size and treatment-timing variance, over-weighting mid-panel adopters. The dynamic TWFE event study inherits the contamination: each lead/lag coefficient absorbs effects from other relative periods and cohorts (Sun & Abraham, 2021).
(b) Callaway–Sant'Anna
For cohort g and week t ≥ g − δ with base period g − 1 − δ:
ATT(g,t) = E[Y_t − Y_{g−1} | G = g] − E[Y_t − Y_{g−1} | C_{g,t}]
where C_{g,t} is never-treated regions, or not-yet-treated regions with G > max(t, g−1) + δ. Covariates (pre-period ARPU, user base, platform mix — pre-treatment values only) enter through the doubly robust estimator (Sant'Anna & Zhao) combining outcome regression and inverse-propensity weighting.
Aggregations use cohort-share weights w_g = P(G = g | ...):
- Event-time:
θ(e) = Σ_g 1{g+e ≤ T} · P(G = g | G+e ≤ T) · ATT(g, g+e) - Overall:
θ = Σ_g θ(g) · P(G = g), withθ(g)the mean ofATT(g,t)overt ≥ g— the headline number. - Calendar-time: average across cohorts already treated by week t.
Sun–Abraham is an equivalent-in-spirit alternative: a saturated regression with unit and time fixed effects plus cohort × relative-time interactions, using never-treated (or last-treated) as control, then cohort-share-weighted averaging. Below, a minimal CS implementation:
import numpy as np
import pandas as pd
def att_gt(df, y="y", unit="region", time="week", cohort="g", control="notyet"):
wide = df.pivot(index=unit, columns=time, values=y)
g_of = df.groupby(unit)[cohort].first()
weeks = sorted(wide.columns)
rows = []
for g in sorted(c for c in g_of.unique() if np.isfinite(c)):
treated = g_of.index[g_of == g]
for t in weeks:
base = g - 1 if t >= g else t - 1
if base not in wide.columns:
continue
if control == "never":
ctrl = g_of.index[~np.isfinite(g_of)]
else:
ctrl = g_of.index[g_of > max(t, base)]
if len(ctrl) == 0:
continue
d_tr = (wide.loc[treated, t] - wide.loc[treated, base]).mean()
d_c = (wide.loc[ctrl, t] - wide.loc[ctrl, base]).mean()
rows.append({"g": g, "t": t, "e": t - g, "att": d_tr - d_c, "n_g": len(treated)})
return pd.DataFrame(rows)
def event_study(gt):
return (gt.assign(w=lambda d: d.n_g / d.groupby("e").n_g.transform("sum"))
.assign(wa=lambda d: d.w * d.att)
.groupby("e").wa.sum())
In practice use did/csdid (R) or csdid/differences (Python) for the doubly robust version and bootstrap.
(c) Event-study design
Use a universal base period (always g − 1, or g − 1 − δ with anticipation) rather than the CS default varying base, so pre and post coefficients sit on the same scale. Restrict to a balanced window, e.g., e ∈ [−8, +6], so cohort composition is stable across e; otherwise long lags rest only on early cohorts, confounding dynamics with heterogeneity (with ~11 cohorts, say so explicitly). Plot θ(e) against e with simultaneous 95% bands from a multiplier bootstrap (not pointwise intervals), a vertical line at the reference period, a horizontal zero line, and annotations of contributing cohort counts. Overlay the naive TWFE event study as a diagnostic.
(d) Pre-trend testing and remedies
Test H0: θ(e) = 0 ∀ e < −1 (excluding the reference) with the Wald statistic W = θ̂_preᵀ V̂⁻¹ θ̂_pre, compared to F(K, G−1) or via bootstrap. Caveats: with 50 regions power is low, so passing is not proof of parallel trends; conditioning on a pre-test distorts inference (Roth, 2022). Report the minimum detectable pre-trend. Remedies if violated: conditional parallel trends via DR-DiD with pre-period covariates; switch the comparison group (never vs not-yet-treated) or drop idiosyncratic regions; add region-specific linear trends (interpretation changes); consider synthetic-control-style alternatives. Whatever you choose, report sensitivity rather than silently switching.
(e) Inference with few clusters
With ~50 clusters and weekly serial correlation, use cluster-robust SEs at the region level plus wild cluster bootstrap (Rademacher weights) p-values/CI, since asymptotics are shaky. Use simultaneous bands from the multiplier bootstrap for the event study. Report cluster count, any small-cluster correction, and sensitivity to clustering by week.
(f) Reconciling with PSM
Run PSM as a complementary design, not a competitor: match treated to control regions on pre-period covariates and compare post-period outcome changes (a matched DiD) on the common support. If PSM and CS-DiD agree, confidence rises; if they diverge, diagnose covariate imbalance, support violations, and whether PSM's assumption (conditional independence on observables) is doing work the DiD does not need. Report both with their assumptions spelled out, and treat the DiD-with-not-yet-treated estimate as primary because it relies on parallel trends rather than selection-on-observables alone.