Nature's coin flips

How economists find experiments that nobody meant to run. A birthday a few days before New Year, an election year, a state line: each one can separate a cause from everything that usually travels with it.

The key: find two groups that are the same in every way except one, where an accident decided which group each person landed in. Then any difference between the groups must come from that one thing. Two kids born three days apart are the same age, but a calendar cutoff can put them a whole year apart in school.

How to read the pictures: time always runs left to right. A taller child is an older child. A stack of books shows years of school. Red dashed lines mark the cutoff. You never have to reason about what comes "before" something in your head, because the picture puts it on the left.

1 · Two kids, three days apart

Here's the problem. We want to know how much a year of school teaches, separately from what a child picks up just by getting older. Normally the two always come together: every second grader is a year older than every first grader. The school cutoff pulls them apart.

Watchthe "Right now" box at the end. Ana and Ben are almost the same height, since they were born only 5 days apart. But Ana has a whole extra stack of books.

Trydrag Ben's birthday back to before New Year (to December 2019). He lands in Ana's class and the book stacks match. Now drag it past New Year again, and he drops a whole grade. A few days of birthday makes a year of school.

Whythe rule draws a line in the calendar, and nature puts each birthday on one side or the other. Ana didn't get into school early because she's brighter or because her parents pushed. She got in early because her birthday happened to fall on the near side of the line. That's the "coin flip".

2 · A whole class: slope and jump

One pair of kids proves nothing, so now look at 240 of them, all taking the same test on the same spring day. Older children sit further right, and a higher mark means a better score. This is a simulation: you set the true effects with the sliders, then check whether the method recovers them.

Watchtwo things. Inside each grade the cloud tilts upward a little: that tilt is what getting older adds. At the red cutoff the cloud jumps. Just left of the line are the oldest first graders; just right are the youngest second graders. They're the same age, so the jump can only come from school.

Tryset A year of school adds to 0. The jump disappears but the tilt stays, so school isn't doing anything. Set growing up to 0 instead and the tilt goes flat while the jump stays. The method recovers what you set: jump 10, slope 5, while the naive gap is 15.

Whythe naive comparison (all 2nd graders minus all 1st graders) mixes one year of school plus one year of age, so it's too big. The jump compares children the same age, so it holds age still. This is called a regression discontinuity. Cahan & Cohen ran it on Israeli schoolchildren in 1989 and found a year of school added about twice as much to test scores as a year of age. Carlsson, Dahl, Öckert & Rooth (2015) did the same with Swedish 18-year-olds, whose military test dates were as good as random. Ten extra days of school raised vocabulary and knowledge scores measurably. Ten extra days of age did almost nothing.

3 · The famous one: Angrist & Krueger's age-16 gate

A small correction first. The birthday-cutoff paper is by Joshua Angrist and Alan Krueger (1991). David Card and Krueger are the pair behind the minimum-wage study further down. Angrist and Krueger asked a harder question: how much does an extra year of school raise your pay? People who stay in school longer differ in a hundred ways, so you can't just compare them. Their trick combines two rules that have nothing to do with pay: when you start school, and the law that says you may quit on your 16th birthday.

Watchthe two flags. The classmates walk through the grades side by side, but the January-born child turns 16 earlier in their schooling, in the middle of 10th grade. The December-born child turns 16 in 11th grade. The kids who would quit the moment it's legal peel off at their flag, so the January group loses almost a year more school.

Trymove Share who'd quit up and down. Both gaps grow and shrink, but the steepness of the red ramp stays locked to the true pay-off. Then switch on the critique: a sliver of extra pay difference gets divided by a tiny school gap, and the measured answer goes badly wrong. It gets worse when the share is small.

Whybeing born in January only changes your pay through the schooling it costs you. So pay gap ÷ school gap = pay per year of school. The real gaps were tiny, about 6 weeks of school, which is why they needed census records on hundreds of thousands of men. They got about 7–8% more pay per year. Later papers pushed back. Bound, Jaeger & Baker (1995) showed that such a weak nudge can produce answers that look precise even from pure noise. Buckles & Hungerman (2013) found that the mothers of January babies differ on average, which is exactly the "other way" the toggle switches on.

4 · Levitt: do more police cut crime?

If you just look at the data, cities with more police have more crime. That isn't because police cause crime. It's because cities hire police after crime goes up. The cause and the effect point in both directions at once. In 1997 Steven Levitt went looking for police hiring that happened for a reason unrelated to crime, and he found it in the election calendar: mayors and governors hire more police in election years.

Watchthe dashed line tilts up, which would mean more police go with more crime. Then the two big dots appear, one for the average election year and one for the average other year, and the red line between them tilts down.

Tryslide Cities hire after crime waves to "barely". The naive line flattens, because the reverse arrow was what tilted it. The red line doesn't move. Its slope (−0.40) follows the true effect you set, while the naive slope reads +0.09.

Whyelection years add police for political reasons, and crime doesn't know what year the mayor's term ends. So if crime drops more in election years, the extra police caused the drop. One honest footnote: in 2002 Justin McCrary found a coding error in the original data, and after fixing it the election-year estimate was too imprecise to settle the question by itself. Later studies with other natural experiments did find that police cut crime. Examples are federal COPS hiring grants (Evans & Owens 2007) and guards posted outside Jewish buildings in Buenos Aires after a 1994 bombing, where car thefts fell on the guarded blocks (Di Tella & Schargrodsky 2004).

5 · The recipe, and how it breaks

Every natural experiment on this page has the same shape. A nudge pushes the cause around for reasons that have nothing to do with the outcome. Hidden factors (talent, family, a crime wave) push both the cause and the outcome, and they ruin naive comparisons. The nudge works only if it reaches the outcome only through the cause.

Watchthe three bars. With no toggles on, the natural experiment lands exactly on the true effect and the naive comparison overshoots.

Tryturn on back door. The nudge now reaches the outcome another way, like birth month affecting health directly, and the natural experiment goes wrong too. Turn on tied, like elections that are timed around crime, and it breaks again.

Whythese are the two rules: the nudge must be as good as random, and it must work only through the cause. Most fights in this field are about whether some nudge really obeys both. The second rule can never be proven from the data. You have to argue it.

More famous coin flips

Card & Krueger (1994), the minimum wage. In April 1992 New Jersey raised its minimum wage, and neighbouring Pennsylvania didn't. They surveyed fast-food restaurants on both sides of the border before and after. Theory predicted New Jersey would lose jobs, but it didn't. The nudge was which side of a state line a restaurant stood on. This method is called difference-in-differences.

Card (1990), the Mariel boatlift. In 1980 about 125,000 Cubans arrived in Miami within a few months, so Miami's workforce grew by about 7%. Wages of Miami's existing workers barely moved compared with similar cities. (Researchers still argue about this one.)

Angrist (1990), the Vietnam draft lottery. Birthdays drawn from a drum decided who was drafted. Years later, men who were drafted earned less, and that measures the cost of military service.

The Oregon Medicaid lottery (2008). The state had money for only some applicants, so it drew names. Winners used more health care, had less financial strain and less depression, and showed no detectable change in blood pressure within two years.

Lee (2008), close elections. Candidates who win by 0.1% are basically coin-flip winners, which isolates the advantage of being the incumbent.

Card shared the 2021 Nobel Prize in economics with Angrist and Guido Imbens for this way of thinking. Krueger died in 2019.

6 · New ones we could run

The method is to look for a rule, a calendar or a line on a map that pushes some cause around for no good reason, and then check public data. Here are five ideas built on data that anyone can download. I haven't checked whether any of them is already published, so search Google Scholar before calling one new.

1 · Obituary crowd-outNudge: dying on a heavy news day, when a much more famous person died too or a huge story broke. Cause: a shorter, later or missing NYT obituary. Outcome: how much the person is remembered a year later, measured by Wikipedia page views, library holds and reprints. Data: NYT Article Search API, Wikidata death dates, Wikimedia page-view API. Catch: check that people who die on busy days aren't less famous to begin with, using their page views before they died.

2 · The prize-eligibility cutoffThis is the school-cutoff design applied to books. Literary prizes only accept books published inside a window. A novel published a week after the window closes waits almost a year and competes against a different field. Nudge: publication date just before vs just after the cutoff. Outcome: shortlists, sales rank, library holdings. Catch: publishers may time releases on purpose. Test for that by checking whether publication dates bunch up just before the cutoff (the McCrary density test, by the same McCrary).

3 · Speed-camera zonesNew York's school-zone speed cameras may only sit within a fixed distance of a school. Nudge: a street just inside vs just outside that radius. Cause: camera enforcement. Outcome: crashes and injuries. Data: NYC Open Data crash records, school locations, camera locations. This is a spatial regression discontinuity, and it bears on your own driving.

4 · Street-cleaning holidaysAlternate-side parking is suspended on a fixed list of holidays, which are set by the calendar rather than by how dirty the streets are. Nudge: a holiday on your block's cleaning day vs a non-cleaning day. Outcome: 311 litter and dirty-street complaints over the next few days, and parking tickets. Catch: holidays change other things too, so compare against blocks whose cleaning day isn't the holiday.

5 · Index-cutoff stocks (finance)Each year the Russell indexes split companies by size rank at a fixed line. A company ranked just inside the Russell 2000 instead of just outside gets a flood of index-fund buying. This is a well-known design (Chang, Hong & Liskovich 2015), and it's a good one to reproduce first, to learn the tools, before trying 1–4.