Difference-in-Differences and Its One Assumption
Today let's look at one of the simplest ways to work out what a change actually did: track two groups, one that got the change and one that did not, before and after it happened.
Here is that comparison already drawn, for a short setup checklist a software product turned on for half its new signups.
The blue line follows the group that got the checklist and the orange line follows the group that did not, both measured before and after. The dashed segment is where the blue group would have landed without the checklist, and the number on the right, 6, is the gap between what it actually did and that dashed line.
Two groups, one checklist, and a comparison that looks obvious
Say a software product adds a short setup checklist for new signups. Starting in month 2, a random half of new signups see the checklist, the treated group, and the rest do not, the control group. The outcome tracked is the percent of new teams that finish setup within their first week.
| Month 1 (before) | Month 2 (after) | |
|---|---|---|
| Treated | 18% | 30% |
| Control | 20% | 26% |
The obvious thing to do is compare the two groups after the checklist shipped: 30% for treated against 26% for control, a gap of 4 percentage points. It is tempting to call that 4-point gap the checklist's effect.
But look at month 1, before the checklist existed for anyone. Treated was already at 18%, two points behind control's 20%. The two groups did not start even, for reasons that have nothing to do with a checklist that had not shipped yet. So part of that 4-point gap after the checklist is really just the 2-point gap the groups started with, not anything the checklist did.