Tutorials › Econometrics (Graduate) › Worked Analysis of a Staggered Policy Rollout

Difference-in-Differences and Events · Tutorial 676 of 952

Worked Analysis of a Staggered Policy Rollout

Follow a hypothetical staggered policy rollout from treatment-date definitions to interpretable event-time effects and clustered uncertainty.

Advanced 12 min read

What You'll Learn

  • Define adoption cohorts and event time for a staggered policy.
  • Choose comparison units that remain untreated through each outcome period.
  • Calculate group-time treatment effects from changes relative to a common baseline.
  • Aggregate cohort-time estimates using explicit weights.
  • Use pre-treatment comparisons as diagnostics, not proof of parallel trends.
  • Interpret cluster-based standard errors, tests, and confidence intervals in context.

From Rollout Dates to an Estimand

A staggered rollout creates a sequence of treatment cohorts: some units begin a policy earlier than others, while some may remain untreated. The central analytical task is not merely to fit a regression. It is to define when treatment begins for each unit, identify which units can provide a credible comparison at each date, and state exactly which cohort-time effects the analysis summarizes.

Consider a hypothetical policy introduced across local jurisdictions. Let \(G_i\) be the first period in which jurisdiction \(i\) is treated; set \(G_i=\infty\) for jurisdictions never treated during the observation window. Treatment is absorbing: once treated, a jurisdiction remains treated. Event time is \(k=t-G_i\), so \(k=0\) is the first treated period, \(k<0\) is a pre-treatment period, and \(k>0\) is a later period after adoption.

Definition: The group-time average treatment effect is \(ATT(g,t)=E[Y_{it}(1)-Y_{it}(0)\mid G_i=g]\), the average effect in period \(t\) for units first treated in period \(g\). Here \(Y_{it}(1)\) is the outcome under treatment in period \(t\), and \(Y_{it}(0)\) is the outcome under no treatment through period \(t\). The cohort-time effect is defined for \(t\ge g\).

The target is not automatically one universal “policy effect.” Effects may differ across adoption cohorts and across time since adoption. A group-time estimate keeps that structure visible before any summary is constructed.

Assumptions and Eligible Comparisons

Before computing a difference-in-differences contrast, specify the assumptions that give it a causal interpretation. The following are the core conditions for the simple, unconditional comparison used here.

  • Consistent treatment timing and outcomes: treatment status is correctly recorded, and the observed outcome equals the potential outcome under the treatment actually received.
  • No anticipation: before its adoption period, a cohort’s outcomes are unaffected by its future treatment. In particular, \(Y_{it}=Y_{it}(0)\) for \(t<G_i\).
  • Parallel untreated trends: for cohort \(g\) and an eligible untreated comparison group \(C_{g,t}\), the cohort and comparison group would, absent treatment, have the same average outcome change from the baseline \(g-1\) to period \(t\): \(E[Y_{it}(0)-Y_{i,g-1}(0)\mid G_i=g]=E[Y_{it}(0)-Y_{i,g-1}(0)\mid C_{g,t}=1]\).
  • Valid comparison support: an untreated comparison group exists at the relevant dates, with outcomes observed for the periods needed to form the contrast.
  • No interference: one jurisdiction’s treatment does not change another jurisdiction’s outcome in a way that invalidates its potential outcomes.

For a comparison at period \(t\), eligible controls are units not yet treated by \(t\) and units never treated. Already-treated units are not untreated controls: their outcomes may include their own treatment effects. For each cohort-time contrast, use the same baseline \(g-1\) for the treated cohort and its comparison group. If treatment is anticipated, the treatment-date definition and baseline must be revised so that the baseline is genuinely unaffected.

Group-time difference-in-differences estimator: With \(C_{g,t}=1\) denoting eligible units untreated through \(t\), the estimator is the treated cohort’s mean outcome change minus the comparison group’s mean outcome change, both measured from \(g-1\):
$$ \widehat{ATT}(g,t) = \left(\bar{Y}_{g,t}-\bar{Y}_{g,g-1}\right) - \left(\bar{Y}_{C_{g,t},t}-\bar{Y}_{C_{g,t},g-1}\right). $$

Worked Analysis of Cohort-Time Effects

The table gives hypothetical mean outcomes, measured in policy-outcome points, for three equally sized cohorts. The early cohort adopts in period 2, the late cohort adopts in period 3, and the never-treated cohort remains untreated. Periods \(-1\), 0, and 1 are untreated for all three groups.

CohortPeriod -1Period 0Period 1Period 2Period 3Adoption period
Early48505258612
Late46485052563
Never treated4547495051Never

Worked Example: Defining the Cohorts and the Period-2 Comparison

For the early cohort at \(t=2\), its baseline is \(g-1=1\). At period 2, the late and never-treated cohorts are both still untreated, so both are eligible comparison groups. Because the groups are equally sized, their mean can be obtained by averaging their reported cohort means.

The early cohort’s outcome change is \(58-52=6\) points. The eligible controls’ mean at period 1 is \((50+49)/2=49.5\), and their mean at period 2 is \((52+50)/2=51\). Their outcome change is \(51-49.5=1.5\) points.

Therefore,

$$ \widehat{ATT}(2,2)=(58-52)-\left[\frac{52+50}{2}-\frac{50+49}{2}\right] =6-1.5=4.5\text{ points}. $$

Under the stated assumptions, the estimate says that the early-adopting cohort’s average outcome in period 2 was 4.5 points higher than its estimated no-policy outcome. This contrast does not establish that the policy caused an increase unless the assumptions are credible.

Worked Example: A Later Effect and a Different Control Set

At period 3, the late cohort has adopted the policy, so it cannot serve as an untreated control for the early cohort. For the early cohort’s period-3 effect, the never-treated cohort is the eligible comparison. The baseline remains period 1, the period immediately before early adoption.

The early cohort’s change is \(61-52=9\) points. The never-treated cohort’s change over the same dates is \(51-49=2\) points. Thus,

$$ \widehat{ATT}(2,3)=(61-52)-(51-49)=9-2=7\text{ points}. $$

For the late cohort at period 3, the baseline is instead period 2, immediately before its adoption. The never-treated cohort remains eligible: its change is \(51-50=1\) point, while the late cohort’s change is \(56-52=4\) points. Therefore,

$$ \widehat{ATT}(3,3)=(56-52)-(51-50)=4-1=3\text{ points}. $$

The comparison set and baseline are part of the estimand. Reusing the period-1 baseline for the late cohort, or using the already-treated early cohort as a control in period 3, would not implement the stated group-time comparison.

Why the Difference Identifies an Effect

The identifying logic can be seen by decomposing the treated cohort’s observed change. No anticipation means its period-\(g-1\) outcome is untreated. In period \(t\ge g\), its observed change combines the change it would have experienced without treatment and its treatment effect at \(t\). Parallel untreated trends say the comparison group’s observed change estimates that first component.

$$ \begin{aligned} E[Y_{it}-Y_{i,g-1}\mid G_i=g] &=E[Y_{it}(0)-Y_{i,g-1}(0)\mid G_i=g] \\ &\quad + E[Y_{it}(1)-Y_{it}(0)\mid G_i=g],\\ E[Y_{it}-Y_{i,g-1}\mid C_{g,t}=1] &=E[Y_{it}(0)-Y_{i,g-1}(0)\mid C_{g,t}=1]. \end{aligned} $$

Subtract the second line from the first. The parallel-trends assumption makes the untreated-change terms equal, so they cancel. The remaining quantity is \(E[Y_{it}(1)-Y_{it}(0)\mid G_i=g]=ATT(g,t)\). This derivation explains both the identifying assumption and why already-treated units are inappropriate controls: their observed changes need not equal untreated changes.

Event-Time Aggregation and Pretrend Diagnostics

To describe dynamics, map group-time estimates to event time \(k=t-g\), then combine estimates at the same \(k\) using stated weights. The weights determine whose effects the summary represents. For example, if the two observed adoption cohorts are weighted equally, the event-time-zero estimate is the average of their first-period effects. In the hypothetical table, those estimates are 4.5 points for the early cohort and 3 points for the late cohort:

$$ \widehat{\theta}_{0}=\frac{1}{2}(4.5)+\frac{1}{2}(3)=3.75\text{ points}. $$

At event time \(k=1\), only the early cohort has an observed post-adoption estimate in this five-period window, so the corresponding estimate is \(\widehat{\theta}_{1}=\widehat{ATT}(2,3)=7\) points. This difference between event-time estimates could reflect changing effects, cohort composition, or both. An event-time summary should make clear which cohorts contribute at each \(k\); changing support can make adjacent estimates represent different populations.

Pre-treatment contrasts can reveal departures from the parallel-trends pattern in observed outcomes. They are diagnostics, not direct observations of the treated group’s counterfactual trend after adoption. In the table, from period \(-1\) to period 0, the early cohort changes by \(50-48=2\) points, and the late and never-treated cohorts each change by 2 points. The early cohort’s placebo difference-in-differences contrast is therefore \(2-(2+2)/2=0\) points. From period 0 to period 1, the changes are again 2 points for each group, yielding another zero contrast. These values show no discrepancy in these particular pre-period changes; they do not prove that post-treatment untreated trends would have remained parallel.

A nonzero pretrend estimate can raise concern about the design, but a noisy estimate may have little power to reveal meaningful differences. Conversely, failure to reject a pretrend test does not validate parallel trends. Use the pretrend pattern alongside institutional knowledge, the treatment-date definition, the eligible comparison groups, and sensitivity analysis for departures from parallel trends.

Clustered Inference and Interpretation

When policy assignment occurs at a jurisdiction or other group level, outcomes within an assignment cluster can share shocks and be serially correlated over time. Treating every unit-period observation as independent can understate uncertainty. Inference should account for dependence at the level at which treatment is assigned, using a cluster-robust variance estimator or an appropriate method for the number and structure of clusters. The standard error quantifies sampling uncertainty under the chosen estimator and inference procedure; it does not measure uncertainty about whether the identifying assumptions are true.

Worked Example: A Cluster-Based Test and Confidence Interval

Suppose a separate hypothetical analysis estimates an average policy effect of 3.0 outcome points, with a cluster-robust standard error of 1.0 point from 30 independent policy-assignment clusters. For illustration, use a \(t\) reference distribution with \(df=29\), and test \(H_0:\theta=0\) against \(H_a:\theta\ne0\).

The test statistic is

$$ t=\frac{3.0-0}{1.0}=3.00. $$

The two-sided p-value is \(2P(T_{29}\ge 3.00)=0.005499\). At significance level \(\alpha=0.05\), this is evidence against \(H_0\) under the stated inference approximation. The p-value is the probability, assuming the null and reference model, of a test statistic at least as extreme as the observed one; it is not the probability that the null hypothesis is true.

Using \(t_{0.975,29}\approx2.045\), the 95% confidence interval is

$$ 3.0\pm 2.045(1.0)=[0.955,\ 5.045]\text{ outcome points}. $$

Under repeated sampling and the stated inference procedure, 95% of intervals constructed this way would cover the target parameter. This interval is compatible with an average increase between about 0.955 and 5.045 points; it does not itself establish the causal assumptions. In applications with few treated clusters, conventional cluster-robust approximations can be unreliable, so the inference method must reflect the number of independent clusters and the assignment structure.

Common Pitfalls in a Staggered Rollout

  • Using already-treated units as untreated controls. Their outcomes may contain treatment effects. At each \(g,t\), restrict comparisons to units untreated through \(t\) or never treated.
  • Changing the baseline without changing the estimand. The baseline for cohort \(g\) is \(g-1\) in the contrasts defined here. Use the same baseline for treated and comparison changes.
  • Calling a clean pretrend test proof of identification. Pre-period evidence can diagnose visible discrepancies, but cannot reveal the untreated post-period outcomes of treated units.
  • Reporting an event-time average without its weights or support. State which cohorts contribute and how their effects are weighted at each event time.
  • Ignoring assignment-level dependence. Many observations do not necessarily mean many independent treatment assignments. Cluster uncertainty at an appropriate level.

The disciplined workflow is to define adoption cohorts and anticipation timing, specify the cohort-time estimand, select only valid untreated comparisons, calculate and aggregate effects with explicit weights, examine pre-treatment evidence without overstating it, and report inference that reflects the assignment structure. Each step makes a different part of the causal claim inspectable.

Check Your Understanding

Answer each question using the definitions and reasoning in this tutorial.

  1. A cohort first adopts in period 4. What is its baseline period for the group-time contrasts defined here, and what is its event time in period 6?
  2. Why is a cohort treated in period 2 not an eligible untreated comparison for a cohort-time effect in period 3?
  3. In the worked table, verify the late cohort’s period-3 estimate by identifying its baseline and the never-treated cohort’s change.
  4. What does a zero pre-treatment placebo contrast show, and what does it not establish?
  5. Why should event-time aggregation report the contributing cohorts and weights?
  6. For the cluster-based example, what does the two-sided p-value of 0.005499 quantify, and what does it not quantify?
Clinical Biostats