Difference-in-differences uses the untreated group’s change to estimate how the treated group would have changed without intervention. Starting levels may differ. The key assumption is that without intervention the groups would, on average, change similarly on the chosen outcome scale.
An American state raises its minimum wage, and fast-food owners now have to pay more for every hour. You might expect them to schedule fewer shifts or hire fewer people. A few months later, the headcount has barely moved. Can you say the raise had no effect?
Think about what else might have happened over those months. A stronger economy could have meant more jobs anyway, or a weaker one could have meant fewer. Two visits to the same restaurant won't tell you what would have happened without the raise.
Difference-in-differences uses the change in a group that stayed under the old rules to estimate what would have happened without the new ones. Two economists went out and counted fast-food jobs. Let's work through what they found and what they had to assume.
How it works
Start with the two comparisons you could make without much effort. Compare one state before and after, and anything that happened over those months comes along for the ride. Compare both states afterward, and you keep any differences they started with.
In the spring of 1992, New Jersey raised its minimum wage from four dollars and twenty-five cents an hour to five dollars and five cents. Across the border, eastern Pennsylvania had a similar economy, and its minimum wage stayed the same. David Card and Alan Krueger surveyed a total of 410 restaurants across the two states before and after the raise.
- 01 · Fill four cells Record both groups’ before and after outcomes on the same basis.
- 02 · Compute each change Subtract each group’s own before value from its after value.
- +1 more mechanism steps & animation in the app
When it fails & limits
When you try this yourself, look carefully at the group you're using for comparison. The calculation can be exactly right and still give credit in the wrong place.
Unlock the full Difference-in-Differences lesson in ConceptFlow
You’ve read the core idea and opening case. Get the ConceptFlow app to continue through the full breakdown, failure modes, 5-minute audio lesson, and decision practice.
- ▸5-minute English & Mandarin audio lesson
- ▸6 more deep-dive case & mechanism insights
- ▸All 5 failure boundaries & counter-examples
- ▸4-point decision checklist + 6-step practice
Tap a store button on mobile, or scan with your phone camera on desktop.