Difference-in-differences
Difference-in-differences measures a policy's effect by comparing how much a treated group changed against how much an untreated group changed over the same period. Subtracting the second change from the first removes anything that was moving for both — a new test, a good year, a national trend — and leaves what the policy added.
A worked case: one state raises its school starting age and a neighboring state does not. Test scores rise in both, because the test was rescaled. The state that changed its policy rose four points; the state that did not rose one. The difference-in-differences estimate is three points. The design's power is that the two groups did not have to be alike to begin with — only their trends have to have been alike.
That assumption is the whole design, and it is not testable for the period that matters. You can check that the groups moved in parallel before the policy, which is the standard evidence offered, but the claim is about how the untreated group would have moved after — and that is unobservable. When something else hits one group at the same moment, the estimate absorbs it silently.
This archive grades a difference-in-differences study as B when the shock is clean: a sharp policy change, a clear untreated comparison, and parallel pre-trends actually shown. That puts it alongside regression discontinuity and within-family designs, below a randomized trial but well above ordinary observational work, which cannot rule out selection at all.