PP5001 · Week 8 · Martinmas 2026
A policy begins at a particular time in a particular place. We observe outcomes before and after its introduction.
The before–after change combines:
We need a comparison that tells us about that second component.
Use the change in the control group to estimate the change the treated group would have experienced without treatment.
\widehat\delta_{DiD}= \left(\bar Y_{T,post}-\bar Y_{T,pre}\right) -\left(\bar Y_{C,post}-\bar Y_{C,pre}\right).
Taking each group’s change removes its fixed level. Subtracting the control group’s change removes the common change over time.
| Group | Before | After | Change |
|---|---|---|---|
| Treatment | \alpha+\gamma | \alpha+\gamma+\tau+\delta | \tau+\delta |
| Control | \alpha | \alpha+\tau | \tau |
| Treatment minus control | \gamma | \gamma+\delta | \delta |
\alpha: control-group baseline. \gamma: initial group difference.
\tau: common time change. \delta: the additional change in the treated group.
Let T_i=1 identify membership in the treatment group and Post_t=1 identify the post-policy period.
Y_{it}=\alpha+\gamma T_i+\tau Post_t +\delta\left(T_i\times Post_t\right)+u_{it}.
With an intercept and these three indicators, OLS fits all four cell means:
\begin{aligned} \hat\alpha&=\bar Y_{C,pre},\\ \hat\gamma&=\bar Y_{T,pre}-\bar Y_{C,pre},\\ \hat\tau&=\bar Y_{C,post}-\bar Y_{C,pre},\\ \hat\delta&=\bar Y_{T,post}-\hat\alpha-\hat\gamma-\hat\tau. \end{aligned}
Substituting the first three expressions into the last gives the difference-in-differences estimator.
Let Y_{it}^1 and Y_{it}^0 denote outcomes with and without treatment.
The effect of interest is
ATT=E\left[Y_{i,post}^1-Y_{i,post}^0\mid T_i=1\right].
We observe Y_{i,post}^1 for the treatment group. Its mean untreated outcome after the policy is the missing counterfactual.
Assume no anticipation and no spillovers to the control group.
In the absence of treatment, the two groups would have experienced the same average change:
E\left[Y_{i,post}^0-Y_{i,pre}^0\mid T_i=1\right] = E\left[Y_{i,post}^0-Y_{i,pre}^0\mid T_i=0\right].
The groups may start at different levels. The assumption concerns their changes in untreated potential outcomes.
Parallel trends implies
\begin{aligned} E\left[Y_{i,post}^0\mid T_i=1\right] ={}&E\left[Y_{i,pre}^0\mid T_i=1\right]\\ &+E\left[Y_{i,post}^0-Y_{i,pre}^0\mid T_i=0\right]. \end{aligned}
Treated group’s baseline + control group’s change = treated group’s counterfactual post-policy mean.
Substitute that counterfactual into the definition of the ATT:
\begin{aligned} ATT={}&E\left[Y_{i,post}\mid T_i=1\right] -E\left[Y_{i,pre}\mid T_i=1\right]\\ &-\left(E\left[Y_{i,post}\mid T_i=0\right] -E\left[Y_{i,pre}\mid T_i=0\right]\right). \end{aligned}
Use the analogy principle to replace the four population conditional means with their sample counterparts.
For discussion: What changed in New Jersey? Who was surveyed, when, and why is eastern Pennsylvania a plausible control group? State the identifying assumption in this setting.
Card and Krueger (1994), Figure 1.
For discussion: Explain columns (i)–(iii), including the DiD. Why do rows 3 and 4 differ? What is a full-time-equivalent employee?
Let X_{ik} be pre-treatment characteristics held fixed across the two periods.
\begin{aligned} Y_{it}={}&\alpha+\gamma T_i+\tau Post_t +\delta\left(T_i\times Post_t\right)\\ &+\sum_{k=1}^{K}\beta_k X_{ik} +\sum_{k=1}^{K}\theta_k\left(X_{ik}\times Post_t\right)+u_{it}. \end{aligned}
For the same unit, subtract the pre-period equation from the post-period equation:
\Delta Y_i=\tau+\delta T_i +\sum_{k=1}^{K}\theta_k X_{ik}+\Delta u_i.
For discussion: Compare columns (i) and (ii). Why might chain and ownership matter? Separate the change in sample from the effect of adding controls.
E-ZPass allows electronic toll collection, reducing stops and queues at toll plazas. The study asks whether the resulting changes improve infant health nearby.
For discussion: Define the treatment and control groups, the timing of treatment, and the birth outcomes. Why compare mothers near the same road network? State parallel trends for this design.
Currie and Walker (2011), Figure 1.
For discussion: Interpret the prematurity and low-birth-weight estimates in Panel 1. Distinguish percentage points from percentages. How do the estimates change when maternal characteristics are included?
For discussion: Could changes in who lives near toll plazas explain the health results? What does this table tell us, and what uncertainty remains?
For discussion: Compare the two pollutants. How does this evidence support the proposed mechanism? What does having only one monitor near a toll plaza imply?
Use institutional knowledge to motivate the comparison. Examine earlier trends when the data allow it.
Choose controls with a clear role in the design. Variables affected by the policy may remove part of the effect we want to estimate or introduce selection.
Many individuals can share the same policy and the same shocks.
The number of observations is different from the number of independent policy comparisons.
With the same units observed twice, subtract each unit’s pre-period equation from its post-period equation:
\Delta Y_i=\tau+\delta T_i+\Delta u_i.
The intercept is the control group’s average change. The coefficient on T_i is the difference between the groups’ changes.
The control group supplies the change used to construct the treated group’s counterfactual.
Card, D., and A. B. Krueger (1994). Minimum Wages and Employment: A Case Study of the Fast-Food Industry in New Jersey and Pennsylvania. American Economic Review, 84(4), 772–793.
Currie, J., and R. Walker (2011). Traffic Congestion and Infant Health: Evidence from E-ZPass. American Economic Journal: Applied Economics, 3(1), 65–90.