EEconomics, Built

Act I · The Question

Part 4 of 68

The Evidence

Principles and the majorstarts at this level45 min of film16 chaptersprerequisites: none

When can data answer an economic question?

The part opens in 1914, when Henry Moore fitted a line through the prices and quantities of pig iron, found it sloping up, and called it a new law of demand; Philip Wright's review explained that business booms had moved demand along supply. The viewer then tries to find the demand curve in the Island's fish market, 240 days of prices and catches: the best-fitting line slopes up (+8.3 fish per dollar), and the planted demand (-66.7) is a line nothing in the cloud singles out. Simultaneity explains why (least squares converges to a weighted mixture of the two slopes), and storms, which move supply alone, trace demand (-65.2), as feasts trace supply; Wright's Appendix B (1928) had the idea, and Haavelmo (1944) made identification a question to ask first. Ability inflates the return to schooling on the Island (10.1% against a planted 8%) until a new school serves as an instrument. Leamer's con (1983) and LaLonde's test (1986) show the methods of the day missing an experiment's answer, sometimes in sign. After an intermission on the draft lottery of 1969, which was not even fair, the part follows the credibility revolution (the draft lottery, quarter of birth, New Jersey against Pennsylvania), experiments run on purpose (the Island's apprenticeship by choice and by lottery, the negative income tax, PROGRESA), the Lucas critique on the Island, structure against design and the local average treatment effect, a new dial for the return to a year of school (eleven natural experiments), weak instruments, how to plan and power a trial, and a frontier on spillovers: within-village effects against what a whole policy delivers.

What you need. School algebra; means, variances and covariances; a least-squares line. Two-stage least squares and the omitted-variable formula are derived on screen; the problems use a square root and one ratio of covariances.

Hook
Working's cloud of dots, 1927
Ideas, models and mathematics
simultaneity, Philip Wright's instrument (1928), Haavelmo, omitted variables, Leamer's "con", LaLonde's test, natural experiments, randomized trials, the Lucas critique, structural and reduced-form, forecasts as tests
Agora gains
the Island's econometrician; the Dials
Play it
draw the demand curve through the cloud

What you will be able to do

Principles and the major

  • Explain why a line through equilibrium prices and quantities need not be demand or supply, and compute the probability limit of least squares when both curves shift.
  • Compute a Wald (instrumental-variable) estimate from group means, and state the relevance and exclusion conditions it needs.
  • Compute the omitted-variable bias of a regression, and say why randomization removes it.

Graduate

  • Derive the local average treatment effect: what an instrument estimates when effects differ, and who the compliers are.
  • Show how a difference in differences depends on parallel trends, using LaLonde's data.
  • Compute the minimum detectable effect of a trial and how take-up changes the sample it needs.

Research

  • Explain the Lucas critique with a model in which only surprises move output, and say which parameters could survive a change of policy.
  • Design a randomized-saturation trial that separates a direct effect from a spillover, and say what sets its power.

Practice

  • Plan an evaluation: the estimand, the power calculation, the pre-analysis plan, balance and attrition, and an honest report.
  • Read a natural-experiment study and say what moved, for whom, and whether the answer travels.

Contents

Each chapter has a home level. Choose a track to see what to read and watch: Principles and the major 38 min · Graduate 41 min · Research 45 min · Practice 41 min.

  1. 0When can data answer an economic question?Principles and the major3 min
  2. 1Play it: find the demand curvePrinciples and the major1 min
  3. 2Two curves, one cloudPrinciples and the major2 min
  4. 3The instrumentPrinciples and the major3 min
  5. 4Haavelmo: identificationPrinciples and the major2 min
  6. 5Omitted variables and selectionPrinciples and the major3 min
  7. 6The con, and LaLonde's testPrinciples and the major4 min
  8. Intermission: the lottery of 1969Principles and the major
  9. 7The credibility revolutionPrinciples and the major3 min
  10. 8ExperimentsPrinciples and the major4 min
  11. 9The Lucas critiquePrinciples and the major3 min
  12. 10Structure and designPrinciples and the major3 min
  13. 11The Dials: what is a year of school worth?Principles and the major3 min
  14. 12In practice: who evaluates for a livingPractice3 min
  15. 13Frontier: when treatments spill overResearch3 min
  16. Recap, problems, and the road aheadAll tracks3 min

Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · Build the film.

Lecture

The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film.

When can data answer an economic question?Principles and the major3 min

In 1914 an economist at Columbia University, Henry Moore, did something new. He took the actual prices and quantities of goods, year by year, and fitted lines through them, which he called statistical laws of demand. For crops like corn and potatoes, his lines sloped down, as demand curves should. For pig iron, the raw material of steel, his line sloped up. Moore didn't flinch. Unlike the law of demand for the crops, he wrote, the law of demand for a producers' good is such that as the supply increases the price rises. A new kind of demand curve, discovered in the data.

A year later an economist named Philip Wright reviewed Moore's book and saw the trouble. Rain moves the supply of crops, so a crop's prices and quantities slide along its demand curve. But the same weather, through the whole state of business, moves the demand for pig iron, so iron's points slide along its supply curve. Moore's upward-sloping law of demand was a supply curve. The data had answered a different question from the one he asked.

The Island can make the same mistake. Here is a season of the fish market, two hundred and forty days, each dot one day's price and the number of fish sold. Put the best straight line through them, and it slopes upward: about 8 more fish sold for every dollar on the price. Do the islanders want more fish when fish is dearer? Of course not. In 1927 an agricultural economist, Elmer Working, asked the question in its general form: what do statistical demand curves show? The answer turned out to be the foundation of modern empirical economics.

This part is about one question: when can data answer an economic question? When does a cloud of prices and quantities tell you about demand? When can you tell whether a programme worked, rather than that the people in it were different? And when will a pattern found in the past survive a government that tries to use it?

Economics, Built. Part four: the evidence. Part four: the evidence. You'll try to find the demand curve in the Island's cloud, and see why the obvious line fails. Then the fix that Philip Wright found in 1928: an instrument, something like the weather that moves one curve and not the other. We'll meet omitted variables and self-selection, and a famous test in which the methods of the day were checked against an experiment. Then the credibility revolution: draft lotteries, birthdays, state borders and experiments in the field. And we'll finish with the Lucas critique, the argument between structure and design, and what a year of school is worth.

What it does: Moore (1914): crops slope down, pig iron slopes up, "as the supply increases the price rises"; Wright's review (1915): rain moves the supply of crops, business conditions the demand for pig iron; the Island's 240 days and a line through them, +8.3 fish per dollar; Working (1927); the question; the title; objectives

1Play it: find the demand curvePrinciples and the major1 min

Your turn. Here is the season again: every dot a day. Four lines go through the middle of the cloud. A is the line that fits the dots best. B is steep: buyers who hardly respond to the price. C is in between. D is flat: buyers who respond a great deal. One of them is the islanders' true demand for fish: we planted it, so there is a right answer. Which one? And before you answer, ask yourself: what in the picture could tell you? Pause, and pick.

Here is the truth. The islanders' demand is line C: every dollar on the price costs about 67 fish a day. And here is the supply curve we planted, sloping up. The line that fits the dots best, A, is neither. If you chose C, you were lucky, or you guessed what a demand curve usually looks like. Nothing in the cloud could have told you. The same dots could have come from a steep demand curve, or a flat one, if the curves had moved differently. To find out which, you need to know why the dots are where they are.

What it does: Four lines through the cloud (A the best fit, B steep, C in between, D flat); a countdown; the truth: demand −66.7 fish per dollar (C), supply +88.9, the best fit +8.3, neither

2Two curves, one cloudPrinciples and the major2 min

Every day in the market, two lines meet. The islanders' demand, and the fishers' supply. The day's price and catch are where they cross: one dot. On a feast day the islanders want more fish at every price, so demand moves out, and the dot slides up along the supply curve. On a stormy day some boats stay in, supply moves in, and the dot slides up along the demand curve. Some days have both. And every day has small shocks of its own to each curve. The season's cloud is the record of all of this, every dot an intersection, and no dot belongs to either curve alone.

Sort the days by what happened. Here is the average day of each kind: ordinary days, feasts, storms, and the few days with both. Going from the ordinary days to the stormy ones, only supply moved, so the step runs along the demand curve. Going to the feast days, only demand moved, so the step runs along supply. A line fitted to all the days mixes the two steps, and leans toward whichever curve moved less: this season there were more feasts than storms, so the cloud leans like supply.

In symbols, which is what Working wrote in words. Demand and supply are two equations with shocks, u and v. The least-squares slope settles, in a long season, on a weighted mixture of the two curves' slopes, weighted by how much each curve moves. With the Island's planted numbers it comes to about plus fifteen; this season's dots gave plus 8. If only demand moved, the cloud would trace supply; if only supply moved, it would trace demand. Since both move, it traces nothing. This is the identification problem, and it is not a problem of too little data. A million more days would give a more precise wrong answer.

What it does: An ordinary day, a feast, a storm, both; 164 ordinary days, 45 feasts, 23 storms, 8 with both; the average day of each kind; plim of least squares = (d σ²ᵤ − b σ²ᵥ)/(σ²ᵤ + σ²ᵥ) = (88.9 × 1063 − 66.7 × 960)/(1063 + 960) = +15.1; which curve each kind of shift reveals

3The instrumentPrinciples and the major3 min

To find demand, we need days on which only supply moved: something that shifts supply, and has nothing to do with demand. The Island has one: the weather. A storm keeps boats in harbour. It doesn't make anyone hungrier for fish, or less hungry. Colour the season by the weather: 31 stormy days, and the rest calm.

Now compare. On the calm days, the average price and catch sit here. On the stormy days, here: fewer fish, at a higher price. Between the two, only supply has moved, so the step from one to the other runs along the demand curve. Divide the change in the catch by the change in the price, and you have demand's slope: about 65 fish for every dollar. The planted truth is 66.7. The storm has done what no amount of data could: it separated the curves. This ratio is the Wald estimator, and the storm is called an instrument. It works on two conditions. It must move the price, which it does: a storm adds about 56 cents to the price of fish. And it must have no other route to the catch, except through supply. That second condition can't be checked in the data. It's an argument about the world.

The idea is almost a hundred years old. In 1928 Philip Wright published a book on the tariff on animal and vegetable oils, and at the back of it, in Appendix B, he solved Moore's problem. To find the demand for butter and for flaxseed, he used factors that move one curve and not the other, such as the weather where the crop was grown. It was the first instrumental variable estimator. The picture he had in mind was this: the weather has an arrow into supply, supply and demand together make the price and quantity, and there is no arrow from the weather to demand. For decades people wondered whether the appendix was really written by his son, Sewall Wright, a famous geneticist who had invented a method of drawing just such arrows. In 2003 James Stock and Francesco Trebbi compared its style with both men's writing, and concluded it was the father's.

The same trick finds the other curve. Feasts move the islanders' demand and do nothing to the boats. So the step from ordinary days to feast days runs along supply, and its slope is about 90 fish per dollar, against a planted 89. Each curve needs its own instrument: something that moves the other curve, and only the other curve.

What it does: 31 stormy days, 209 calm; the Wald ratio (182.3 − 218.6)/(3.50 − 2.95) = −65.2 against the planted −66.7; two-stage least squares −65.2 (s.e. 9.5), first stage +56 cents; Wright's Appendix B (1928), the arrows, no arrow from the weather to demand; Stock and Trebbi (2003): Philip, not Sewall; feasts trace supply, +90.2 against +88.9

4Haavelmo: identificationPrinciples and the major2 min

In 1944 a Norwegian economist, Trygve Haavelmo, turned Working's and Wright's insight into a programme. Economic data, he argued, are produced by a system of equations, each with random shocks: demand and supply, consumption and investment. Before estimating anything, ask which of the system's parameters the data could reveal even in principle. That question has a name: identification. A group of economists at the Cowles Commission in Chicago worked out its rules, and built some of the first statistical models of whole economies. Haavelmo received the Nobel prize for it in 1989.

On the Island the rules are easy to see. Write the two curves with everything that moves them. The storm appears in supply and is left out of demand, so demand is identified: the storm can trace it. The feast appears in demand and is left out of supply, so supply is identified. In a bigger system the rule becomes a count: each equation needs at least as many variables left out of it as it has variables determined inside the system, less one. But every exclusion is an assumption: that storms don't change appetite, that feasts don't change the catch. The data can't confirm them. The argument of the next forty years was about which assumptions to believe.

What it does: The Probability Approach in Econometrics (1944); a system with random shocks, the data, what the data could reveal; the Cowles Commission; Nobel 1989; the two equations with feast and storm; exclusions; the order condition

5Omitted variables and selectionPrinciples and the major3 min

The same problem has a second form, and it's everywhere. Here are the Island's school records: every islander's years of schooling and earnings. The best line says each extra year of school goes with about 10 percent higher earnings. Is that what a year of school does? Ask who stays in school longer. On the Island, as everywhere, it's partly the able: the ones who find school easier, and who would earn more whatever their schooling. Colour each islander by ability, which we planted and the statistician can't see, and the able sit high and to the right. Part of the line is ability, not school.

The size of the mistake has a formula, the omitted-variable bias. Suppose earnings depend on schooling and on ability. Leave ability out, and the schooling coefficient picks up ability's effect, times how strongly ability and schooling move together. With the Island's numbers, the line should overstate the return by almost three points. This sample's line says 0.101; the planted return is 0.08. If we could measure ability and hold it fixed, the bias would go. But ability is exactly what we can't measure.

An instrument can rescue us here too. Twenty years ago the Island built a second school, on its east side. Islanders who grew up near it stayed in school about two years longer than those across the Island, 2.0 years on average. And their earnings are higher, by 0.161 in logs. Divide one by the other: 0.080, almost exactly the planted eight percent. It works because where the school was built changed how much schooling islanders could get, and nothing about how able they were. That, again, is an argument, not a fact in the data. Real studies have used distance to a college, changes in the school-leaving age and new school buildings in exactly this way.

The deepest form of the problem is choice. Think of a training programme for the unemployed. Who signs up? People whose earnings have just dropped: Orley Ashenfelter noticed in 1978 that trainees' earnings dip in the year before they enrol, and recover afterwards whether or not the training helped. People who expect to gain the most. And people with less going for them to begin with. Compare trainees with everyone else, and you're comparing different people. Economists in the 1970s had a toolkit of regressions and corrections for exactly this. The next chapter is the test of that toolkit.

What it does: 1,200 islanders' schooling and earnings: least squares 10.1%; ability planted; plim = ρ + γ cov(S, A)/var(S) = 0.080 + 0.10 × 1.48/5.44 = 0.107; holding ability fixed 0.074; the new school: 11.00 against 8.99 years, log earnings 1.890 against 1.729, Wald 0.161/2.01 = 0.080 (2SLS 0.080, s.e. 0.011); who signs up for training; Ashenfelter's dip (schematic)

6The con, and LaLonde's testPrinciples and the major4 min

By the early 1980s many economists had lost faith in their own regressions. In 1983 Edward Leamer of UCLA published an article called Let's Take the Con out of Econometrics. Hardly anyone takes data analyses seriously, he wrote. Or perhaps more accurately, hardly anyone takes anyone else's data analyses seriously. His complaint was that results depended on which controls the researcher chose to include, and researchers reported only the specifications they liked: like elaborately plumed birds, he wrote, we preen and strut and display our t-values.

Three years later came the test. In the mid-1970s the United States ran a training programme called the National Supported Work Demonstration, which guaranteed hard-to-employ workers a job for nine to eighteen months, working in small crews. And it was run as an experiment: applicants were assigned by lottery, so those who got the programme and those who didn't were alike in every way but one. For men, the programme raised 1978 earnings by 886 dollars, in the dollars of 1982. Robert LaLonde, a young economist, asked a devastating question. Suppose there had been no lottery. Suppose an evaluator had compared the trainees with men from the big national surveys, as evaluators normally did, and applied the methods of the day. Would they have found the answer?

Here is the answer, from his table for the men. The dashed line is the truth the experiment found. Compare the trainees with men from the Panel Study of Income Dynamics, and the programme seems to have cut their earnings by 15,578 dollars: the trainees were simply poorer to begin with. Adjust by regression for age, schooling and race, and it still cuts them by 8,067. The other methods of the day scatter around the truth, some near it, some thousands of dollars away, with comparison groups from the census's survey just as bad. Worse, LaLonde found that the standard specification tests couldn't tell the good estimates from the bad. Without the experiment, an honest evaluator would not have known which number to believe.

The story has a sequel. In 1999 Rajeev Dehejia and Sadek Wahba went back to LaLonde's data. Here are the trainees, the lottery losers and a group of survey men, in the subsample they used. The trainees and the lottery losers look alike. The survey men are older, far more often married, and earned more than twice as much before the programme. In this subsample the experiment says the programme added about 1,800 dollars. The raw comparison with the survey men gets even the sign wrong. But compare like with like, holding past earnings fixed, and the estimate comes close: about 1,500. So careful methods can work. The catch is the one LaLonde found: we only know this one worked because the experiment was there to check it.

Called it? The series keeps score of predictions, and this one is clear. The standard evaluation of the day said the programme cut men's earnings by about eight thousand dollars. The lottery said it raised them by about nine hundred. Wrong, and wrong in sign. What came next was a change of strategy. If experiments give answers that regressions can't, then find the experiments: the lotteries, accidents and rules that the world runs anyway.

What it does: Leamer (1983), p. 37: "hardly anyone takes anyone else's data analyses seriously", the plumed birds; the National Supported Work Demonstration; the lottery's +$886 for men; LaLonde's table 5: PSID −$15,578 raw, −$8,067 adjusted, CPS −$8,870 and −$4,416, differences in differences +$425 and +$1,714, narrower groups −$509 and +$224; Dehejia and Wahba's subsample: 185 trainees, 260 controls, 429 PSID men; experiment +$1,794, raw −$635, adjusted +$1,548; Called it?: wrong

Intermission: the lottery of 1969Principles and the major

This chapter has no narration to read.

7The credibility revolutionPrinciples and the major3 min

The intermission's lottery was a real one, and it became one of the most famous instruments in economics. Your birthday's number decided how likely you were to be drafted to Vietnam. Men with low numbers were more likely to serve. And the number itself, a capsule drawn from a glass jar, could affect a man's later earnings only through whether he served. In 1990 Joshua Angrist used it with Social Security earnings records, and found that in the early 1980s white veterans earned about fifteen percent less than they would have otherwise, the equivalent of losing two years of work experience. For non-white veterans he found no lasting loss. Simply comparing veterans with non-veterans could never have told him this, because the men who served differed from those who didn't in many other ways.

Other instruments came from the oddities of law. American children start school in the year they turn six, and may leave when they turn sixteen. So a boy born in January is older when he starts school than one born in December, and reaches the leaving age having sat through a little less of it. In 1991 Joshua Angrist and Alan Krueger used the quarter of birth as an instrument for schooling. Their estimates of the return to a year of school came out about as large as the plain least-squares ones, or larger: little sign of the ability bias that everyone had feared. A birthday isn't an experiment, but it isn't a choice either.

A third kind of natural experiment is a border. On the first of April 1992 New Jersey raised its minimum wage from four dollars twenty-five to five dollars and five cents. Next door, eastern Pennsylvania didn't. David Card and Alan Krueger surveyed fast-food restaurants on both sides, before and after. In New Jersey, employment per restaurant rose slightly. In Pennsylvania, it fell. If New Jersey had followed Pennsylvania's path, it would have ended here. The gap between that and what happened is the difference in differences: about two and three-quarter workers per restaurant, more, not fewer. The finding upended a textbook prediction, and it has been argued over ever since. Part 38 takes up the argument.

By 2010 Joshua Angrist and Jörn-Steffen Pischke could call it the credibility revolution, and say it had taken the con out of econometrics. Its tools are designs. Instruments: something that moves the cause and nothing else. Differences in differences: a group that changed beside one that didn't. Regression discontinuities: a rule with a cutoff, comparing people just above it with people just below. And, where possible, a lottery run on purpose. In 2021 the Nobel prize went to Card, and to Angrist and Guido Imbens, who showed exactly what an instrument identifies. The statistics of these designs is in Statistics, Built, Parts 35 to 37.

What it does: Angrist (1990): the lottery number, service, earnings; white veterans about 15% lower in the early 1980s; quarter of birth (Angrist and Krueger 1991): OLS 0.070, 0.063, 0.052 against IV 0.101, 0.060, 0.078 for men born in the 1920s, 30s and 40s; Card and Krueger (1994): New Jersey 20.44 → 21.03, Pennsylvania 23.33 → 21.17, difference in differences +2.76 (s.e. 1.36); instruments, differences in differences, discontinuities, experiments; Angrist and Pischke (2010); Nobel 2021

8ExperimentsPrinciples and the major4 min

Why does a lottery work when careful regressions fail? Watch it on the Island. The boatwrights offer a year's apprenticeship, and we've planted its effect: it raises a young islander's earnings by ten percent. First, let the islanders choose. Those with the poorest prospects are keenest to sign up. Here is their ability, which we planted and nobody can see: the ones who signed up sit to the left of the ones who stayed out. Compare their earnings, and the apprenticeship seems to cut them, by 15 percent. Wrong in sign, like the survey comparisons in LaLonde's test. Now give the places by lottery. The winners and the losers are alike in ability, not because anyone measured it, but because a coin can't tell who is able. And the gap in earnings is 11 percent, within its margin of the truth. That is what randomization buys: balance on everything, including what no one can see.

Economists began running such lotteries on purpose in the late 1960s, on the biggest question in welfare policy. Milton Friedman had proposed a negative income tax: give every family a guaranteed income, and as the family earns more, take back part of each dollar, until at the break-even point the payment runs out. The worry was obvious. If each dollar you earn keeps only fifty cents, will you work less? Nobody's regressions could settle it. So from 1968 about thirteen hundred and fifty low-income families in New Jersey and Pennsylvania were assigned at random to eight different plans, or to none, with guarantees from half the poverty line to one and a quarter times it, and tax rates of thirty, fifty or seventy percent. Larger trials followed, the biggest in Seattle and Denver. Their answer: people did work somewhat less, husbands a little, wives and single mothers more. Some of the fall turned out to be earnings that families simply didn't report, which is its own lesson in measurement.

The idea travelled. In 1997 Mexico launched PROGRESA, which paid mothers in poor rural villages if their children went to school and the family kept its visits to the clinic. Its designer, the economist Santiago Levy, then deputy finance minister, wanted proof that would outlast the government. Five hundred and six villages were chosen for the evaluation. There wasn't money to start everywhere at once, so a lottery decided the order: three hundred and twenty villages began first, and the other one hundred and eighty-six about two years later. The comparison was clean. Enrolment rose, most at the step from primary into secondary school, and most for girls. When a new government took office, the programme survived under a new name, and versions of it now run in dozens of countries.

Experiments in economics now come in four kinds. In the laboratory, people trade and bargain for real money: Vernon Smith's double auctions, which you saw in Part 2, won him a Nobel prize in 2002. In the field, experiments run in real markets, with the people who trade there, sometimes without their knowing they are in one. Policy trials test programmes before they are scaled up: textbooks and deworming pills in Kenyan schools, microcredit in Indian cities. Michael Kremer, Abhijit Banerjee and Esther Duflo shared the 2019 prize for this approach. And inside online firms, thousands of small experiments run every day; chapter twelve meets the people who run them. But an experiment has a limit built in. It answers the question it asked, in the place and time it asked it. Whether the answer travels is a different question, and the next two chapters are about it.

What it does: The apprenticeship (planted +0.10): by choice −0.146 (s.e. 0.018), the choosers' ability 0.94 SD lower; by lottery +0.107 (s.e. 0.019), the groups alike; the negative income tax (Friedman 1962): the guarantee, the break-even, 50 cents of each dollar; New Jersey and Pennsylvania 1968–72, about 1,350 families, eight plans; Seattle–Denver; what they found; PROGRESA (1997): 506 villages, 320 first and 186 about two years later; Levy; enrolment; Oportunidades; the lab, the field, policy trials (Nobel 2019), A/B tests

9The Lucas critiquePrinciples and the major3 min

The last warning in this part is about time. Through the 1960s, American unemployment and inflation moved like a seesaw: as unemployment fell, year by year, inflation rose. In 1960 Paul Samuelson and Robert Solow had called such a curve a menu of choice: pick less unemployment, and pay for it in inflation. Milton Friedman and Edmund Phelps argued that the menu would vanish as soon as anyone ordered from it. Once people came to expect the inflation, they'd build it into their wages and prices, and it would buy nothing. The 1970s proved them right. Inflation and unemployment rose together. Part 28 tells that story in full. Here the question is what it means for evidence.

Here is the same thing on the Island, where we know the rules. For thirty years the Island's council left inflation to chance. In years when prices rose faster than people expected, fishers mistook higher prices for better demand and worked harder, so output rose. Collect the thirty years, and a statistician finds a reliable pattern: each point of inflation goes with 0.86 points of extra output. The council reads this as a menu. Hold inflation at 8 percent, and output should reach 105. So it tries. The first year works: output jumps. Then it falls back, year after year, to where it started. The reason is in people's heads. The islanders learn to expect eight percent, and once they expect it, it fools no one. Nothing in the thirty calm years was wrong. The pattern was real. It just described how people behaved under one policy, and the council changed the policy.

In 1976 Robert Lucas turned this into a principle that changed macroeconomics. The relations in an econometric model, he argued, are summaries of people's decisions; their decisions depend on the policies they expect; so any change in policy will systematically alter the structure of econometric models. What moves are the patterns that summarize behaviour under one policy. What may stay put are the things underneath: what people want, what technology allows, how they form their expectations. Haavelmo had a word for relations that survive a change of regime: autonomous. The search for them is the subject of the next chapter.

What it does: US unemployment and CPI inflation 1961–79; Samuelson and Solow's menu (1960); Friedman and Phelps; the 1970s; the Island's thirty calm years, slope 0.86; the council's 8%: the menu says 105.2, the first year 105.6, the last ten years 99.9; expected inflation catches up; Lucas (1976), p. 41; deep parameters; Haavelmo's autonomy

10Structure and designPrinciples and the major3 min

Before the debate, a precise question: what exactly does an instrument estimate? Think of the men in the draft lottery as three kinds. Some volunteered, and would have served whatever their number. Some would never serve: exempt, unfit, or unwilling, whatever their number. And some served only because their number was called. Assume nobody was so contrary that he served only if his number was not called. Then the lottery changes what happens only to the third group, the compliers. The other two do the same thing either way, so the comparison by lottery number can only reflect the compliers' experience. In 1994 Guido Imbens and Joshua Angrist proved it: an instrument estimates the average effect for the people it moves. They called it the local average treatment effect. Angrist's fifteen percent is the cost of service for men who served because they were drafted, not for volunteers.

In 2010 one issue of the Journal of Economic Literature carried the argument. Angus Deaton warned that the people an instrument moves may not be the people a policy would move, and that an experiment tells you what happened without telling you why. Without the why, he argued, results don't travel. Guido Imbens replied that a credible answer to a narrow question beats an incredible answer to a broad one, and that experiments can be repeated where the policy is headed. James Heckman asked for a bridge: use the designs to pin down the parameters of an economic model, and let the model answer the new question. The stakes are concrete. The PROGRESA trial showed what the grants did in rural Mexico in 1998. Would they do the same in a city, at twice the size, or ten years later?

Here is the trade. A design gives you an effect: of this change, on these people. A structural model gives you parameters, such as how much people value leisure, or how they form expectations. The design assumes little, and says exactly what. The model assumes more: the shape of its equations, how people decide. The design can only speak to a policy like the one it tested. The model can speak to any policy, if it's right. And the Lucas critique cuts the design and is the model's whole reason to exist, provided its parameters really are the deep ones. Most good work today builds bridges. Raj Chetty showed in 2009 that many welfare questions need only a few well-identified elasticities, sufficient statistics, rather than a whole model. And in macroeconomics, where experiments are rare, Emi Nakamura and Jón Steinsson argued in 2018 for using natural experiments to pin down facts that any model must match. The Island has both. Its structure is planted, and every design in this series will be graded against it.

What it does: Volunteers, never-serves and compliers; no defiers; the local average treatment effect (Imbens and Angrist 1994); Deaton, Imbens and Heckman in the JEL (2010); would PROGRESA travel?; design against structure; sufficient statistics (Chetty 2009); identified moments (Nakamura and Steinsson 2018)

11The Dials: what is a year of school worth?Principles and the major3 min

This part enters a second dial: the return to a year of school, the proportional rise in earnings it brings. Its estimates come from natural experiments, each set beside the plain regression on the same data, as David Card collected them in 2001. Angrist and Krueger's three cohorts, with quarter of birth, and Staiger and Stock's sharper version. Tuition and distance to college for American women; a four-year college nearby for American men; growing up in a Finnish university town. Britain's changes in the school-leaving age; a programme for Canadian veterans; distance to school in the rural Philippines; and Indonesia's great school-building programme of the 1970s, studied by Esther Duflo. Look at the squares and the dots. The regressions cluster between five and nine percent. The natural experiments spread wider, and in 9 studies of 11 they sit above the regression on the same data.

Some instruments in that table are weak: they move schooling only a little. In 1995 John Bound, David Jaeger and Regina Baker showed why that matters with a startling experiment. They replaced the real quarters of birth with random ones, and got estimates much like the published ones. Try it on the Island. Take 60 instruments of pure noise, coin flips with nothing to do with schooling or pay, and run two-stage least squares. Do it 400 times. The estimates don't scatter around zero. They pile up around the least-squares answer, bias and all. With many weak instruments, the first stage fits noise, and the noise brings the endogeneity back in. The real instrument, the new school, gives 0.080, and its first stage is strong. Douglas Staiger and James Stock's rule of thumb followed: report the first-stage F statistic, and worry when it is below about ten.

Why would the natural experiments find more than the regressions, when we feared the regressions were too high? Card weighed several explanations. Here are four. The ability bias may simply be small. Reported schooling contains errors, and errors pull least squares down, offsetting the ability bias. The people an instrument moves, those who'd have left school early without a college nearby or a stricter law, may gain more from a year than the average person: Imbens and Angrist's local effect, at work. And journals may favour large, significant estimates: Orley Ashenfelter and his coauthors found signs of exactly that. The dial's status is settled within a range. A year of school raises earnings by something like six to fifteen percent, a return few investments match. Part 38 comes back to it.

What it does: The new dial from Card (2001), table 2: eleven natural experiments, each beside least squares on the same data (least squares 0.052–0.085, instruments 0.060–0.164; the instrument higher in 9 of 11); weak instruments: 60 instruments of pure noise, 400 times, median first-stage F 1.0, median estimate 0.100 where least squares was 0.101; the real instrument 0.080 (F = 272); Staiger and Stock's F of 10; four explanations; status: settled within a range

12In practice: who evaluates for a livingPractice3 min

Who does this for a living? Evaluation firms. MDRC was founded in 1974 to run the Supported Work demonstration, the experiment behind LaLonde's test, and firms like it still run many of the government's trials. Development labs such as J-PAL and Innovations for Poverty Action, which have run field trials in dozens of countries. Evaluation offices inside governments, which ask whether a programme is worth its budget. Experimentation teams at online firms, running thousands of controlled experiments a year, on platforms built to stop engineers from stopping a test the moment it looks good. Expert witnesses, whose regressions are cross-examined in discrimination, antitrust and damages cases. And researchers at central banks, who must identify the effect of an interest-rate change when every change is a deliberate choice. Part 55 is theirs.

Here is how a trial is planned, step by step. First the question, and the one number that will answer it. The effect of offering the apprenticeship is not the effect of taking it up, and the plan must say which. Then the size: enough people to see the effect if it's there. Then a plan written and registered before any data arrive: the outcome, the comparison, the controls. Since 2013 economists register their trials with the American Economic Association. Leamer's complaint was about choices made after seeing the data; a plan takes them away. Randomize, and check that the groups are alike on everything measured beforehand. Run it, and count who drops out: if the losers of the lottery leave more often than the winners, the lottery is broken again. And analyse as planned, reporting every outcome, the dull ones included.

The second step deserves a picture. The smallest effect a trial can reliably detect shrinks with the square root of its size. Reliably means: with a five percent false-alarm rate, it finds a real effect of that size four times in five. On the Island, earnings vary with a spread of about 0.39 in logs, and half the people are offered the apprenticeship. To detect its planted ten percent you need about 480 islanders. With four hundred, a simulation finds it 71 times in a hundred. With the sixteen hundred we used, almost always. The square root is a hard master: to see an effect half the size, you need four times as many people. Many published trials were too small to see the effects they were looking for, which is one reason their findings so often fail to repeat.

What it does: Evaluation firms (MDRC, 1974), development labs, government units, experimentation teams, expert witnesses, central bank researchers; planning a trial in six steps; the minimum detectable effect, σ = 0.39: about 480 islanders for +0.10, power 71% with 400 (simulated), 100% with 1,600

13Frontier: when treatments spill overResearch3 min

Every design in this part rests on an assumption so natural that it's easy to miss: one person's treatment doesn't change anyone else's outcome. In a market it often fails. Take the Island's apprenticeship again, and suppose every apprentice takes a little of the boatwrights' work from the other young islanders in the same village. Run the trial in 100 villages, and let a lottery decide not just who gets a place, but what share of each village does: none, a quarter, a half, three quarters or all. Inside each village, those offered a place earn about ten percent more than their neighbours. That's what an ordinary trial would report. But look across villages. The more of a village is offered a place, the less everyone in it earns, including those who weren't. So the effect of the policy, a place for everyone against a place for no one, is a small fraction of what the trial said. The gain was partly taken from the neighbours.

The best evidence now comes from trials that randomize the share treated, as we just did. In France, Bruno Crépon, Esther Duflo and their coauthors offered job counselling to young job seekers, with the share offered drawn at random across two hundred and thirty-five labour markets. Those offered help found stable jobs sooner, but partly at the expense of those who weren't, and the net gain was small. In Kenya, Dennis Egger and his coauthors followed cash transfers of about a thousand dollars to more than ten thousand households in 653 villages. Each dollar raised local spending and income by about two and a half, with little inflation. In India, Karthik Muralidharan, Paul Niehaus and Sandip Sukhtankar found that a better-run job guarantee raised the earnings of poor households by about fourteen percent, mostly through higher wages in private jobs, not through the programme itself. So the spillover can shrink an effect, multiply it, or be most of it. A trial that can't see it can't tell you which.

What is not known? Above all, when the effect a trial finds will survive being scaled to a whole market, and how to tell before spending the money. The statistics are being built: designs that randomize at two levels, as in Michael Hudgens and Elizabeth Halloran's work, and Peter Aronow and Cyrus Samii's exposure mappings, which say exactly which neighbours' treatments can reach you. The same problem now costs online platforms money every day: when buyers and sellers share a market, a test on some of them changes the market for the rest. And here is the research problem for this part. Design the Island's next trial: how many villages, at what shares, to detect a spillover half the size of this one? The problem set has the place to start.

What it does: 100 villages, the share offered a place drawn from 0 to 100%: within villages +0.106 (s.e. 0.018, planted +0.10), the not-offered lose −0.097 per unit share (planted −0.08), everyone against no one +0.031 (planted +0.02); Crépon et al. (2013), Egger et al. (2022), Muralidharan, Niehaus and Sukhtankar (2023); what is not known; the research problem

Recap, problems, and the road aheadAll tracks3 min

So: when can data answer an economic question? When something moved one thing and nothing else: a storm, a lottery, a birthday, a border. Find such a thing, or make one. Say exactly what it moved, and for whom. And ask whether the answer will survive the policy it informs.

Part four in eleven lines. A cloud of prices and quantities traces whichever curve moved less; on the Island the best line even sloped up. A storm, which moves only supply, traced demand, and a feast traced supply. Haavelmo taught us to ask first what the data could reveal, and to see that every exclusion is an assumption. Ability that raises both schooling and pay inflates the regression, and a new school undid the bias. LaLonde showed the methods of the day missing an experiment's answer, sometimes in sign. The lottery of 1969 wasn't even fair, yet it still made a usable instrument. A border found more fast-food jobs, not fewer, after a minimum wage rise. Chosen freely, the apprenticeship looked harmful; by lottery, it paid. A pattern the council leaned on vanished. A year of school is worth something like six to fifteen percent. And when treatments spill over, a trial can overstate what a policy delivers.

The problems. The probability limit of a regression through a cloud; a storm that also keeps buyers at home; ability bias meeting measurement error; LaLonde's data with two before-and-after comparisons that disagree; the Wald estimate of a lottery; the council's four years; how many people a trial needs; and a research problem, marked with a star, on designing a trial that can see spillovers. Full solutions are in the part's notes.

The reading for this part: Angrist and Pischke's two books, Mostly Harmless Econometrics and Mastering Metrics; the instrumental-variables chapters of Stock and Watson; Scott Cunningham's Mixtape, free online; and the evidence chapter of Acemoglu, Laibson and List. Then the papers, from Working's cloud and Wright's appendix to the trials that randomize whole villages.

Act One ends here: what an economy is, what a market does, how it's measured, and what the evidence can say. Act Two turns to the people inside it. In 1938 Paul Samuelson, still in his early twenties, tried to rebuild the theory of demand from nothing but what can be observed: the choices people make. Part five: what people want. Can you tell what someone wants from what they buy?

Where it goes next. Part 5 begins Act II with what people want, the choices behind every demand curve. The designs return in the minimum-wage debate (Part 38), demand estimation with instruments (Part 43), field experiments (Part 45), trials in development (Part 46), identification in macroeconomics (Part 55), the courtroom (Part 59) and the platforms' experiments (Part 61); the Lucas critique in inflation and expectations (Part 28).

Key results

The part's results in one place, for revision.

Least squares through a cloud\(\displaystyle \operatorname{plim}\hat\beta=\frac{d\,\sigma_u^2-b\,\sigma_v^2}{\sigma_u^2+\sigma_v^2}\)
The Wald estimator\(\displaystyle \hat\beta_{IV}=\frac{\bar y_1-\bar y_0}{\bar x_1-\bar x_0}\)
Omitted-variable bias\(\displaystyle \operatorname{plim}\hat\rho=\rho+\gamma\,\frac{\operatorname{cov}(S,A)}{\operatorname{var}(S)}\)
The local average treatment effect\(\displaystyle \frac{E[Y|Z=1]-E[Y|Z=0]}{E[D|Z=1]-E[D|Z=0]}=E[Y_1-Y_0\mid\text{complier}]\)
Difference in differences\(\displaystyle (\bar y^{T}_{1}-\bar y^{T}_{0})-(\bar y^{C}_{1}-\bar y^{C}_{0})\)
The minimum detectable effect\(\displaystyle \mathrm{MDE}=(z_{1-\alpha/2}+z_{1-\beta})\,\frac{\sigma}{\sqrt{p(1-p)N}}\)

Try it

Lab 4 · The evidence: simultaneity, instruments, selection, lotteries and the Lucas critique

Simulate the Island's fish market many times and compare least squares with its probability limit and with the storm and feast instruments; check the omitted-variable formula on the school records and recover the planted return with the new school; see that choice biases the apprenticeship and a lottery does not; watch the council's menu fail once it is used; and find how many villages a trial needs to see a spillover.

Figure produced by Lab 4: The evidence: simultaneity, instruments, selection, lotteries and the Lucas critique
Produced by the lab below, seed 0, in 1.3 s.
python -m videos.economics.labs 4 needs numpy, scipy, matplotlib · download lab04.py · source on GitHub
least squares, mean of 300 seasons                         +14.8 fish per dollar (plim +15.1)
storm instrument (demand, planted -66.7)                   median -68.0
feast instrument (supply, planted +88.9)                   median 89.9
schooling: least squares / truth + formula's bias          0.1072 / 0.1073
the new school as instrument                               0.0780 (first-stage F 13584)
apprenticeship by choice: mean of 300                      -0.154 (planted +0.10)
by lottery: mean, and 95% interval coverage                +0.101, 96%
the menu's slope, and its promise at 8%                    0.86; output 105.2
output: first year of the push / last ten years            105.6 / 99.9
40 villages: spillover estimate (mean, sd), total effect   -0.080 (0.064), +0.023
100 villages: spillover estimate (mean, sd), total effect  -0.087 (0.037), +0.021
400 villages: spillover estimate (mean, sd), total effect  -0.080 (0.019), +0.021

Least squares through an equilibrium cloud converges to a mixture of the two slopes; an instrument that moves one curve recovers the other; the omitted-variable formula predicts the regression's bias exactly; a lottery's estimate is centred on the truth with honest intervals; a menu estimated in calm years fails once it is used; and a spillover is seen only across villages, so its precision grows with the number of villages.
The code (118 lines; it asserts its own result)
"""Lab 4: regress through a cloud, instrument it, omit ability, run a lottery, push the council, and scale a trial."""

import numpy as np

from videos.coursekit import labs
from explainer.economics.agora import econometrician as em
from explainer.economics.island import truths

TITLE = "The evidence: simultaneity, instruments, selection, lotteries and the Lucas critique"
GOAL = ("Simulate the Island's fish market many times and compare least squares with its probability limit and with "
        "the storm and feast instruments; check the omitted-variable formula on the school records and recover the "
        "planted return with the new school; see that choice biases the apprenticeship and a lottery does not; watch "
        "the council's menu fail once it is used; and find how many villages a trial needs to see a spillover.")
TASKS = [
    "Make feasts as variable as storms (or remove them). Which curve does least squares now find, and why does its "
    "probability limit say so?",
    "In the school records, make the new school move schooling by only 0.2 years. What happens to the first-stage F, "
    "to the spread of the IV estimate over many samples, and to its median?",
    "Make the Island's expectations rational (E = 8 from the first year of the push). What does output do now?",
]


def run(seed=0):
    lab = labs.Lab()
    T = truths(4)

    # simultaneity: least squares converges to the weighted mixture, not to either curve
    s = dict(T["season"])
    b, d = s["b"], s["d"]
    slopes, storms, feasts = [], [], []
    for k in range(300):
        s["seed"] = 10_000 + 7 * k + seed
        x = em.fish_season(**s)
        slopes.append(em.ols(x["q"], x["p"])["slope"])
        storms.append(em.wald(x["q"], x["p"], x["storm"])["estimate"])
        feasts.append(em.wald(x["q"], x["p"], x["feast"])["estimate"])
    # the variances of the two curves' total shifts (shocks plus feasts or storms)
    fp, F = s["feast"]
    sp, S = s["storm"]
    var_u = s["noise"][0] ** 2 + F ** 2 * fp * (1 - fp)
    var_v = s["noise"][1] ** 2 + S ** 2 * sp * (1 - sp)
    plim = em.simultaneity_slope(b, d, var_u, var_v)
    lab.row("least squares, mean of 300 seasons", f"{np.mean(slopes):+.1f} fish per dollar (plim {plim:+.1f})")
    lab.row("storm instrument (demand, planted -66.7)", f"median {np.median(storms):.1f}")
    lab.row("feast instrument (supply, planted +88.9)", f"median {np.median(feasts):.1f}")
    assert abs(np.mean(slopes) - plim) < 2.0
    assert abs(np.median(storms) + b) < 3 and abs(np.median(feasts) - d) < 3

    # omitted ability: the formula, and the instrument
    sc = dict(T["schooling"], n=60_000)
    sc["return_"] = sc.pop("return")
    r = em.schooling_records(**sc)
    bias = em.ovb(sc["ability_on_wage"], np.cov(r["school"], r["ability"])[0, 1], r["school"].var())
    ols = em.ols(r["logw"], r["school"])["slope"]
    iv = em.iv(r["logw"], r["school"], r["near"])
    lab.row("schooling: least squares / truth + formula's bias", f"{ols:.4f} / {sc['return_'] + bias:.4f}")
    lab.row("the new school as instrument", f"{iv['estimate']:.4f} (first-stage F {iv['F']:.0f})")
    assert abs(ols - (sc["return_"] + bias)) < 0.003 and abs(iv["estimate"] - sc["return_"]) < 0.01

    # the apprenticeship: by choice and by lottery, many times
    a = dict(T["apprentice"])
    chose, lot, cover = [], [], 0
    reps = 300
    for k in range(reps):
        a["seed"] = 20_000 + k + seed
        x = em.apprenticeship(**a)
        chose.append(x["by_choice"]["diff"])
        lt = x["by_lottery"]
        lot.append(lt["diff"])
        cover += abs(lt["diff"] - a["effect"]) <= 1.96 * lt["se"]
    lab.row("apprenticeship by choice: mean of 300", f"{np.mean(chose):+.3f} (planted {a['effect']:+.2f})")
    lab.row("by lottery: mean, and 95% interval coverage", f"{np.mean(lot):+.3f}, {100 * cover / reps:.0f}%")
    assert np.mean(chose) < 0 and abs(np.mean(lot) - a["effect"]) < 0.01 and 0.9 < cover / reps < 0.99

    # Lucas: the calm years' menu, and what happens when the council uses it
    L = em.lucas_islands(**T["lucas"])
    c = L["calm"]
    menu = em.ols(L["y"][c], L["pi"][c])
    promise = menu["beta"][0] + menu["slope"] * T["lucas"]["pi_push"]
    lab.row("the menu's slope, and its promise at 8%", f"{menu['slope']:.2f}; output {promise:.1f}")
    lab.row("output: first year of the push / last ten years", f"{L['y'][~c][0]:.1f} / {L['y'][~c][-10:].mean():.1f}")
    assert abs(L["y"][~c][-10:].mean() - L["ystar"]) < 0.5

    # spillovers: within-village estimates against the policy's total effect, and the power of more villages
    v = dict(T["villages"])
    out = {}
    for G in (40, 100, 400):
        sp_hat, tot = [], []
        for k in range(100):
            v.update(villages=G, seed=30_000 + 13 * k + G + seed)
            x = em.village_trial(**v)
            sp_hat.append(x["spill_hat"])
            tot.append(x["total"])
        out[G] = (np.mean(sp_hat), np.std(sp_hat), np.mean(tot))
        lab.row(f"{G} villages: spillover estimate (mean, sd), total effect",
                f"{out[G][0]:+.3f} ({out[G][1]:.3f}), {out[G][2]:+.3f}")
    assert out[400][1] < out[40][1] / 2.5
    lab.note = ("Least squares through an equilibrium cloud converges to a mixture of the two slopes; an instrument "
                "that moves one curve recovers the other; the omitted-variable formula predicts the regression's "
                "bias exactly; a lottery's estimate is centred on the truth with honest intervals; a menu estimated "
                "in calm years fails once it is used; and a spillover is seen only across villages, so its precision "
                "grows with the number of villages.")

    fig, ax = labs.figure(2, size=(11, 4.2))
    ax[0].hist(slopes, bins=30, color="#C9A0FF", alpha=0.8, label="least squares")
    ax[0].hist(storms, bins=30, color="#7EC8F5", alpha=0.8, label="storm instrument")
    ax[0].hist(feasts, bins=30, color="#F2B84B", alpha=0.8, label="feast instrument")
    for val, col in ((-b, "#7BD88F"), (d, "#7BD88F")):
        ax[0].axvline(val, color=col, lw=2, ls="--")
    ax[0].set(title="300 seasons of the fish market", xlabel="estimated slope, fish per dollar", ylabel="seasons")
    ax[0].legend()
    ax[1].hist(chose, bins=30, color=labs.ORANGE, alpha=0.8, label="by choice")
    ax[1].hist(lot, bins=30, color="#7BD88F", alpha=0.8, label="by lottery")
    ax[1].axvline(a["effect"], color="white", lw=2, ls="--", label="planted")
    ax[1].set(title="The apprenticeship, 300 times", xlabel="difference in mean log earnings", ylabel="samples")
    ax[1].legend()
    lab.fig = fig
    return lab

Now change it

  1. Make feasts as variable as storms (or remove them). Which curve does least squares now find, and why does its probability limit say so?
  2. In the school records, make the new school move schooling by only 0.2 years. What happens to the first-stage F, to the spread of the IV estimate over many samples, and to its median?
  3. Make the Island's expectations rational (E = 8 from the first year of the push). What does output do now?

Problems, with solutions

Try each problem before opening its solution.

1. Demand is q = 100 − 2p + u and supply q = 20 + 3p + v, with var(u) = 4 and var(v) = 1, independent. To what does the least-squares slope of q on p converge? Which curve would it find if u never moved?

Solution

With b = 2 and d = 3, the slope converges to (d σ²ᵤ − b σ²ᵥ)/(σ²ᵤ + σ²ᵥ) = (3·4 − 2·1)/(4 + 1) = 2: a positive slope, closer to supply's 3 than to demand's −2, because demand moves more. If u never moved, only supply would shift, every point would lie on the demand curve, and the slope would converge to −b = −2.

2. Storms cut the Island's supply by 80 fish at every price, and also keep 10 fish' worth of buyers at home. With demand dq/dp = −66.7 and supply dq/dp = 88.9, what does the storm's Wald ratio estimate? Which assumption failed?

Solution

The price rises by (80 − 10)/(66.7 + 88.9) = 70/155.6 = 0.45 dollars, and the quantity falls by 66.7 × 0.45 + 10 = 40.0 fish (check on supply: 88.9 × 0.45 − 80 = −40.0). The Wald ratio is −40.0/0.45 = −88.9, a third more elastic than the true −66.7. The exclusion restriction failed: the instrument moved demand too, so part of the fall in quantity is the storm's direct effect on buyers, credited to the price.

3. log w = α + 0.08 S + 0.10 A + e, cov(S, A) = 1.5, var(S) = 5.5. Find the probability limit of least squares. Now years of school are reported with an error of variance 1. What does least squares find now?

Solution

0.08 + 0.10 × 1.5/5.5 = 0.08 + 0.027 = 0.107. With reported schooling S + m, the covariance with log w is unchanged, 0.08 × 5.5 + 0.10 × 1.5 = 0.59, but the variance rises to 6.5, so least squares finds 0.59/6.5 = 0.091. The two biases pull in opposite directions; here ability wins, but by less. This is one of Card's reasons why instruments, which fix measurement error too, can come out above least squares.

4. NSW trainees earned $2,096 in 1974, $1,532 in 1975 and $6,349 in 1978; the survey men $5,619, $2,466 and $6,984. Compute the raw comparison, and two differences in differences, from 1974 and from 1975. The experiment said $1,794. What went wrong?

Solution

Raw: 6,349 − 6,984 = −$635. From 1974: (6,349 − 2,096) − (6,984 − 5,619) = 4,253 − 1,365 = +$2,888. From 1975: (6,349 − 1,532) − (6,984 − 2,466) = 4,817 − 4,518 = +$299. The answers straddle the experiment's $1,794, and the choice of base year moves the estimate by $2,600. Difference in differences assumes the two groups' earnings would have moved in parallel; their paths before the programme already differ (1974 to 1975: trainees −$564, survey men −$3,153), so the assumption fails, and nothing in the 1978 data can say by how much.

5. A low lottery number raises the chance of serving from 0.20 to 0.36, and lowers average earnings by $400. Estimate the effect of service. For whom is it the effect?

Solution

The Wald estimate is −400/(0.36 − 0.20) = −$2,500. Under the assumptions that the number affects earnings only through service and that nobody serves only because his number was not called, it is the average effect for the compliers, the 16% of men who served because of a low number; not for volunteers, nor for men who would never have served.

6. y = 100 + 0.8(π − Eπ), E_t = E_{t−1} + 0.5(π_{t−1} − E_{t−1}), E = 2 in the calm years. The council holds π = 8 from now on. Find output in each of the first four years, and compare the menu's promise.

Solution

In the calm years y = 100 + 0.8(π − 2) = 98.4 + 0.8π, which promises 104.8 at π = 8, every year. Year 1: E = 2, y = 104.8. Year 2: E = 2 + 0.5 × 6 = 5, y = 102.4. Year 3: E = 6.5, y = 101.2. Year 4: E = 7.25, y = 100.6. The gap halves each year and output returns to 100; the menu held only while inflation surprised.

7. Earnings have σ = 0.4; half the sample is offered a place. How many people do you need to detect an effect of 0.05 with 80% power at the 5% level? And if only 30% of those offered take it up?

Solution

N = ((1.96 + 0.84) σ/MDE)²/(p(1 − p)) = (2.80 × 0.4/0.05)²/0.25 = 22.4² × 4 ≈ 2,007. If only 30% take it up (and the offer does nothing to the rest), the effect of the offer is 0.3 × 0.05 = 0.015, and N grows by 1/0.3² ≈ 11, to about 22,300. Take-up is the most expensive number in a trial's plan.

8. ★ Design the Island's next village trial: how many villages, at what shares, to detect a spillover of −0.04 per unit share with 80% power? (Research problem.)

Solution

Solution sketch. The spillover is identified only by variation in the share across villages, so precision is set by the number of villages and the spread of their shares, not by the number of people. The mean earnings of a village's untreated members have variance σ²_village + σ²/n_untreated (here 0.04² + 0.39²/n); the slope's standard error is roughly that standard deviation over √G·sd(share). With 40 people per village and shares spread over 0 to 75% for the untreated (sd about 0.28), a spillover of −0.04 needs a standard error near 0.014, which takes several hundred villages; larger villages help only until the village shock dominates. Extreme shares (0 and 100%) maximize the spread but leave no untreated people at 100% and no within-village comparison, so the direct effect and the spillover compete for the design. Baird, Bohren, McIntosh and Özler (Review of Economics and Statistics, 2018) derive the power of these randomized-saturation designs; start from econometrician.village_trial and simulate the power of each candidate design, as chapter 12 did for the apprenticeship. Open questions: designs when the spillover travels between villages, and when the shares that matter are not the ones assigned.

Notes and sources

Where it comes back

Idea Where
choice, observed: what demand curves are made of Part 5, What People Want
the Phillips curve and expectations Part 28, Inflation and Expectations
the minimum wage, at the border and since Part 38, Work and Wages
demand estimation with instruments (BLP) Part 43, Measuring Market Power
field experiments and behaviour Part 45, Behavioural Economics
trials in development Part 46, Development
identifying a monetary shock Part 55, Identifying Macro
a regression in court Part 59, The Expert Witness
experiments in markets Part 61, Economics at the Platforms

Sources

Primary texts.

  • H. L. Moore, Economic Cycles: Their Law and Cause (1914), p. 126, as quoted in the editorial of The Econometrics Journal 28(1) (2025), arXiv 2501.16395.
  • P. G. Wright, "Moore's Economic Cycles", Quarterly Journal of Economics 29(2) (1915) 631–641; The Tariff on Animal and Vegetable Oils (1928), Appendix B.
  • E. J. Working, "What Do Statistical 'Demand Curves' Show?", Quarterly Journal of Economics 41(2) (1927) 212–235.
  • T. Haavelmo, "The Probability Approach in Econometrics", Econometrica 12, supplement (1944).
  • R. E. Lucas, Jr., "Econometric Policy Evaluation: A Critique", Carnegie-Rochester Conference Series on Public Policy 1 (1976) 19–46, p. 41 (the sentence as quoted with its page in the secondary literature).
  • Selective Service System, the lottery of 1 December 1969, in the Journal of Statistics Education data archive (draft70yr), after S. E. Fienberg, "Randomization and Social Affairs: The 1970 Draft Lottery", Science 171 (1971) 255–261.

Papers.

  • J. H. Stock and F. Trebbi, "Who Invented Instrumental Variable Regression?", Journal of Economic Perspectives 17(3) (2003) 177–194.
  • E. E. Leamer, "Let's Take the Con out of Econometrics", American Economic Review 73(1) (1983) 31–43.
  • R. J. LaLonde, "Evaluating the Econometric Evaluations of Training Programs with Experimental Data", American Economic Review 76(4) (1986) 604–620, table 5; R. H. Dehejia and S. Wahba, JASA 94 (1999) 1053–1062.
  • O. Ashenfelter, "Estimating the Effect of Training Programs on Earnings", Review of Economics and Statistics 60(1) (1978) 47–57.
  • J. D. Angrist, "Lifetime Earnings and the Vietnam Era Draft Lottery", American Economic Review 80(3) (1990) 313–336; J. D. Angrist and A. B. Krueger, "Does Compulsory School Attendance Affect Schooling and Earnings?", Quarterly Journal of Economics 106(4) (1991) 979–1014.
  • D. Card and A. B. Krueger, "Minimum Wages and Employment", American Economic Review 84(4) (1994) 772–793, table 3.
  • G. W. Imbens and J. D. Angrist, "Identification and Estimation of Local Average Treatment Effects", Econometrica 62(2) (1994) 467–475.
  • J. Bound, D. A. Jaeger and R. M. Baker, JASA 90 (1995) 443–450; D. Staiger and J. H. Stock, Econometrica 65(3) (1997) 557–586.
  • D. Card, "Estimating the Return to Schooling: Progress on Some Persistent Econometric Problems", Econometrica 69(5) (2001) 1127–1160, table 2; O. Ashenfelter, C. Harmon and H. Oosterbeek, Labour Economics 6 (1999) 453–470.
  • J. D. Angrist and J.-S. Pischke, "The Credibility Revolution in Empirical Economics", Journal of Economic Perspectives 24(2) (2010) 3–30.
  • A. Deaton, "Instruments, Randomization, and Learning about Development"; G. W. Imbens, "Better LATE Than Nothing"; J. J. Heckman, "Building Bridges between Structural and Program Evaluation Approaches to Evaluating Policy": Journal of Economic Literature 48(2) (2010).
  • R. Chetty, "Sufficient Statistics for Welfare Analysis", Annual Review of Economics 1 (2009) 451–488; E. Nakamura and J. Steinsson, "Identification in Macroeconomics", Journal of Economic Perspectives 32(3) (2018) 59–86.
  • M. Friedman, Capitalism and Freedom (1962), ch. 12; A. H. Munnell, ed., Lessons from the Income Maintenance Experiments (Federal Reserve Bank of Boston, 1986).
  • T. P. Schultz, "School Subsidies for the Poor: Evaluating the Mexican Progresa Poverty Program", Journal of Development Economics 74 (2004) 199–250; E. Skoufias, PROGRESA and Its Impacts (IFPRI, 2005); S. Levy, Progress against Poverty (Brookings, 2006).
  • B. Crépon, E. Duflo, M. Gurgand, R. Rathelot and P. Zamora, "Do Labor Market Policies Have Displacement Effects?", Quarterly Journal of Economics 128(2) (2013) 531–580.
  • D. Egger, J. Haushofer, E. Miguel, P. Niehaus and M. Walker, "General Equilibrium Effects of Cash Transfers", Econometrica 90(6) (2022) 2603–2643.
  • K. Muralidharan, P. Niehaus and S. Sukhtankar, "General Equilibrium Effects of (Improving) Public Employment Programs", Econometrica 91(4) (2023) 1261–1295.
  • M. G. Hudgens and M. E. Halloran, JASA 103 (2008) 832–842; P. M. Aronow and C. Samii, Annals of Applied Statistics 11(4) (2017) 1912–1947; S. Baird, J. A. Bohren, C. McIntosh and B. Özler, Review of Economics and Statistics 100(5) (2018) 844–860.
  • B. A. Olken, "Promises and Perils of Pre-Analysis Plans", Journal of Economic Perspectives 29(3) (2015) 61–80.

Textbooks. Angrist and Pischke, Mostly Harmless Econometrics (2009) and Mastering 'Metrics (2014); Stock and Watson, Introduction to Econometrics, chs. 1–3, 12–13; Cunningham, Causal Inference: The Mixtape (2021); Acemoglu, Laibson and List, Economics, ch. 2.

About this partfrom its README

Part 4 of a sixty-eight-part course in economics (see the series plan and the syllabus), the last of Act I, The Question. It asks when data can answer an economic question, and answers: when something moved one thing and nothing else (a storm, a lottery, a birthday, a border), found in the world or made on purpose; when you can say what it moved and for whom; and when the answer will survive the policy it informs.

It opens in 1914, when Henry Moore fitted lines through the prices and quantities of pig iron, found that his "law of demand" sloped up, and called it a new kind of demand curve; Philip Wright's review the next year explained what had happened, and Elmer Working's question of 1927 (what do statistical demand curves show?) frames the part. From there it covers:

  • a game: the Island's fish market, 240 days of prices and quantities, four candidate lines, and the planted truth;
  • simultaneity: each day where two shifting lines cross; the four kinds of day; the probability limit of least squares as a weighted mixture of the two slopes;
  • the instrument: storms move supply and trace demand, feasts move demand and trace supply; the Wald ratio and two- stage least squares; Wright's Appendix B (1928), its arrows, and Stock and Trebbi's stylometry (2003);
  • Haavelmo (1944) and the Cowles Commission: systems of equations, identification, exclusions as assumptions;
  • omitted variables and selection: the Island's school records, the omitted-variable bias by formula, a new school as an instrument, and Ashenfelter's dip;
  • Leamer's "con" (1983) and LaLonde's test (1986): the National Supported Work experiment against the methods of the day, and Dehejia and Wahba's sequel; Called it?: wrong, and wrong in sign;
  • an intermission without narration: the draft lottery of 1 December 1969, capsule by capsule, under each birthday's month as a pitch;
  • the credibility revolution: Angrist's draft lottery (1990), quarter of birth (1991), Card and Krueger's border (1994), the designs, and the 2021 Nobel prize;
  • experiments: the Island's apprenticeship by choice and by lottery, the negative income tax trials, PROGRESA, and the laboratory, the field, policy trials and A/B tests;
  • the Lucas critique: the American Phillips curve of the 1960s and 1970s, the Island's council and its menu, Lucas (1976) and Haavelmo's autonomy;
  • structure and design: the local average treatment effect, the 2010 debate in the Journal of Economic Literature, and the bridges between them;
  • a new dial (the return to a year of school, from eleven natural experiments), weak instruments on the Island, the people who evaluate for a living, how to plan a trial and how many people it needs, and a frontier chapter on spillovers and general equilibrium.
What is computed and built

Everything plotted is computed by compute.py from Agora's econometrician (explainer.economics.agora.econometrician, over statkit's quasi.tsls), with the Island's Part 4 truths in explainer.economics.island, or from the Data Room, the Museum or a transcribed table; the narration states the cached numbers.

  • The fish market (fish_season, planted): 240 days; demand q = a − b p + 70·feast + u with b = 66.7, supply q = c + d p − 80·storm + v with d = 88.9; feasts on 25% of days, storms on 15%; shocks N(0, 12²); seed 1927. The probability limit uses the variances of the total shifts, (d σ²ᵤ − b σ²ᵥ)/(σ²ᵤ + σ²ᵥ).
  • The instrument: the Wald ratio is the difference in mean quantity over the difference in mean price between stormy and calm days (or feast and ordinary days); two-stage least squares and the first-stage F from statkit.
  • The school records (schooling_records, planted): 1,200 islanders; ability N(0, 1); schooling 9 + 1.5·ability
    • 2·(grew up near the new school) + N(0, 1.5²); log earnings with a return of 0.08 and 0.10 per unit of ability (noise 0.35); seed 1991. The scatter shows 300 of them.
  • LaLonde: table 5 of LaLonde (1986) for men, from tables.LALONDE_1986; the subsample comparisons are differences in mean 1978 earnings and least squares on age, schooling, race, ethnicity, marriage, no degree and 1974–75 earnings.
  • The draft lottery: each day's draw order from the Selective Service's 1969 lottery; the correlation between day of the year and draw order; a permutation test with 20,000 shuffles (seed 1969). The film places capsule k at 1.5 + 36·k/366 seconds; each month's bar is 1 − (mean place − 1)/(k − 1) among the k drawn so far, so a fair draw keeps every bar near the middle; the data melody maps each capsule's month to a pitch.
  • The apprenticeship (apprenticeship, planted): 1,600 young islanders; effect 0.10; by choice, each signs up with probability logistic(−1.4·ability); by lottery, half at random; ability moves log earnings by 0.25 per SD; seed 2019. Power: MDE = (z.975 + z.80)·σ/√(p(1 − p)N), and 400 fresh trials at each size.
  • The negative income tax: income = max(earnings, G + (1 − t)·earnings), in units of the poverty line, with New Jersey's guarantees (0.5 to 1.25) and tax rates (0.3, 0.5, 0.7).
  • Lucas's islands (lucas_islands, planted): output = 100 + 0.8·(π − Eπ) + N(0, 0.4²); thirty calm years with π ~ N(2, 2²), then twenty at 8% (± 0.5); expected inflation adapts halfway each year; seed 1976.
  • The Phillips curve: annual means of the unemployment rate (UNRATE) and year-on-year changes in the annual mean of the CPI-U (CPIAUCSL), 1961–79.
  • The Dial: Card (2001), table 2, from tables.CARD_2001, intervals ±1.96 standard errors; the weak-instrument experiment uses the school records with 60 columns of fair coin flips as instruments, 400 times (seed 1995).
  • The villages (village_trial, planted): 100 villages of 40; shares 0, 25, 50, 75 or 100% in equal numbers, randomly assigned; direct effect 0.10, spillover −0.08 times the village's share for everyone, village shocks N(0, 0.04²); the within-village estimate averages each mixed village's difference; seed 2013.
  • The score (explainer/economics/score.py): the scissors theme, chapter stings, beds under the pauses, and the close; the intermission's melody. Synthesized from sines; nothing recorded.
Chapter notes
# Chapter What it does
0 When can data answer an economic question? Moore (1914): crops slope down, pig iron slopes up, "as the supply increases the price rises"; Wright's review (1915): rain moves the supply of crops, business conditions the demand for pig iron; the Island's 240 days and a line through them, +8.3 fish per dollar; Working (1927); the question; the title; objectives
1 Play it: find the demand curve Four lines through the cloud (A the best fit, B steep, C in between, D flat); a countdown; the truth: demand −66.7 fish per dollar (C), supply +88.9, the best fit +8.3, neither
2 Two curves, one cloud An ordinary day, a feast, a storm, both; 164 ordinary days, 45 feasts, 23 storms, 8 with both; the average day of each kind; plim of least squares = (d σ²ᵤ − b σ²ᵥ)/(σ²ᵤ + σ²ᵥ) = (88.9 × 1063 − 66.7 × 960)/(1063 + 960) = +15.1; which curve each kind of shift reveals
3 The instrument 31 stormy days, 209 calm; the Wald ratio (182.3 − 218.6)/(3.50 − 2.95) = −65.2 against the planted −66.7; two-stage least squares −65.2 (s.e. 9.5), first stage +56 cents; Wright's Appendix B (1928), the arrows, no arrow from the weather to demand; Stock and Trebbi (2003): Philip, not Sewall; feasts trace supply, +90.2 against +88.9
4 Haavelmo: identification The Probability Approach in Econometrics (1944); a system with random shocks, the data, what the data could reveal; the Cowles Commission; Nobel 1989; the two equations with feast and storm; exclusions; the order condition
5 Omitted variables and selection 1,200 islanders' schooling and earnings: least squares 10.1%; ability planted; plim = ρ + γ cov(S, A)/var(S) = 0.080 + 0.10 × 1.48/5.44 = 0.107; holding ability fixed 0.074; the new school: 11.00 against 8.99 years, log earnings 1.890 against 1.729, Wald 0.161/2.01 = 0.080 (2SLS 0.080, s.e. 0.011); who signs up for training; Ashenfelter's dip (schematic)
6 The con, and LaLonde's test Leamer (1983), p. 37: "hardly anyone takes anyone else's data analyses seriously", the plumed birds; the National Supported Work Demonstration; the lottery's +$886 for men; LaLonde's table 5: PSID −$15,578 raw, −$8,067 adjusted, CPS −$8,870 and −$4,416, differences in differences +$425 and +$1,714, narrower groups −$509 and +$224; Dehejia and Wahba's subsample: 185 trainees, 260 controls, 429 PSID men; experiment +$1,794, raw −$635, adjusted +$1,548; Called it?: wrong
Intermission: the lottery of 1969 No narration: the 366 capsules in the order drawn, by birthday; each month's average place against the draws so far; correlation −0.23 between birthday and draw order, 1 of 20,000 fair shuffles as far; under it, each capsule's month as a pitch; the story so far
7 The credibility revolution Angrist (1990): the lottery number, service, earnings; white veterans about 15% lower in the early 1980s; quarter of birth (Angrist and Krueger 1991): OLS 0.070, 0.063, 0.052 against IV 0.101, 0.060, 0.078 for men born in the 1920s, 30s and 40s; Card and Krueger (1994): New Jersey 20.44 → 21.03, Pennsylvania 23.33 → 21.17, difference in differences +2.76 (s.e. 1.36); instruments, differences in differences, discontinuities, experiments; Angrist and Pischke (2010); Nobel 2021
8 Experiments The apprenticeship (planted +0.10): by choice −0.146 (s.e. 0.018), the choosers' ability 0.94 SD lower; by lottery +0.107 (s.e. 0.019), the groups alike; the negative income tax (Friedman 1962): the guarantee, the break-even, 50 cents of each dollar; New Jersey and Pennsylvania 1968–72, about 1,350 families, eight plans; Seattle–Denver; what they found; PROGRESA (1997): 506 villages, 320 first and 186 about two years later; Levy; enrolment; Oportunidades; the lab, the field, policy trials (Nobel 2019), A/B tests
9 The Lucas critique US unemployment and CPI inflation 1961–79; Samuelson and Solow's menu (1960); Friedman and Phelps; the 1970s; the Island's thirty calm years, slope 0.86; the council's 8%: the menu says 105.2, the first year 105.6, the last ten years 99.9; expected inflation catches up; Lucas (1976), p. 41; deep parameters; Haavelmo's autonomy
10 Structure and design Volunteers, never-serves and compliers; no defiers; the local average treatment effect (Imbens and Angrist 1994); Deaton, Imbens and Heckman in the JEL (2010); would PROGRESA travel?; design against structure; sufficient statistics (Chetty 2009); identified moments (Nakamura and Steinsson 2018)
11 The Dials: what is a year of school worth? The new dial from Card (2001), table 2: eleven natural experiments, each beside least squares on the same data (least squares 0.052–0.085, instruments 0.060–0.164; the instrument higher in 9 of 11); weak instruments: 60 instruments of pure noise, 400 times, median first-stage F 1.0, median estimate 0.100 where least squares was 0.101; the real instrument 0.080 (F = 272); Staiger and Stock's F of 10; four explanations; status: settled within a range
12 In practice: who evaluates for a living Evaluation firms (MDRC, 1974), development labs, government units, experimentation teams, expert witnesses, central bank researchers; planning a trial in six steps; the minimum detectable effect, σ = 0.39: about 480 islanders for +0.10, power 71% with 400 (simulated), 100% with 1,600
13 Frontier: when treatments spill over 100 villages, the share offered a place drawn from 0 to 100%: within villages +0.106 (s.e. 0.018, planted +0.10), the not-offered lose −0.097 per unit share (planted −0.08), everyone against no one +0.031 (planted +0.02); Crépon et al. (2013), Egger et al. (2022), Muralidharan, Niehaus and Sukhtankar (2023); what is not known; the research problem
Recap, problems, and the road ahead The answer; eleven lines; problems; reading; the end of Act I; Samuelson (1938) and Part 5

Companion material in this repository

The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
  1. Hook: Moore's pig iron and Wright's reply; the Island's cloud; Working's question; objectives.
  2. Play it: four lines through the Island's fish-market data; the truth appears in dashed green.
  3. Simultaneity: both curves shift; four kinds of day; the probability limit of least squares.
  4. The instrument: storms move supply only and trace demand, feasts trace supply; the Wald ratio and 2SLS; Wright (1928) and his arrows.
  5. Haavelmo (1944) and the Cowles Commission: systems of equations; identification; the order condition.
  6. Omitted variables and selection: schooling and ability, the formula, a new school as instrument; who signs up for training (Ashenfelter's dip).
  7. Leamer's "Let's take the con out of econometrics" (1983); LaLonde's test (1986) and Dehejia and Wahba's sequel; Called it?
  8. Intermission: the draft lottery of 1969, capsule by capsule, as a data melody.
  9. The credibility revolution: the draft lottery (Angrist 1990), quarters of birth, two states and a border; the designs (pointers to Statistics, Built 35–37); Nobel 2021.
  10. Experiments: the Island's apprenticeship by choice and by lottery; the negative income tax trials; PROGRESA; the lab, the field, policy trials, A/B tests.
  11. The Lucas critique (1976): the American Phillips curve of the 1960s and 1970s; the Island's council and its menu.
  12. Structure and design: the local average treatment effect; Deaton, Imbens and Heckman (2010); sufficient statistics; identified moments.
  13. The Dials: the return to a year of school from eleven natural experiments; weak instruments on the Island.
  14. In practice: who evaluates for a living; planning a trial; power. 14. Frontier: spillovers and general equilibrium in randomized-saturation trials.

Agora: the Island's econometrician (agora.econometrician): every Island dataset comes with its planted truth; OLS, Wald and 2SLS over statkit's quasi; omitted ability; the apprenticeship; Lucas's islands; the village trial. dials.py's second dial. Play it: the cloud; on the site, choose an instrument from four candidates and see which recovers the truth. Called it? LaLonde's non-experimental estimates against the experiment. Reading: Moore 1914; Wright 1915, 1928 (and Stock & Trebbi 2003); Working 1927; Haavelmo 1944; Leamer 1983; LaLonde 1986; Dehejia & Wahba 1999; Angrist 1990; Angrist & Krueger 1991; Card & Krueger 1994; Imbens & Angrist 1994; Bound, Jaeger & Baker 1995; Staiger & Stock 1997; Card 2001; Lucas 1976; Angrist & Pischke 2009, 2010; Deaton 2010; Imbens 2010; Heckman 2010; Chetty 2009; Nakamura & Steinsson 2018; Crépon et al. 2013; Egger et al. 2022; Muralidharan, Niehaus & Sukhtankar 2023; Stock & Watson, Introduction to Econometrics, chs 1–3, 12–13; Cunningham, The Mixtape; Acemoglu, Laibson & List ch 2.

Build the film

python -m videos.economics.econ4.compute        # the part's numbers, into .cache/econ4
python tools/build.py econ4                  # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py econ4 Hook   # one chapter, silent, with a contact sheet

Scenes: videos/economics/econ4. Setup: see the course page. Source of these notes: the README and the scenes' narration.

Build it
python -m videos.economics.econ4.compute              # every number (a few seconds), into .cache/econ4/
python tools/qa_scene.py econ4 PlayIt                 # one chapter, silent, at 480p, with a contact sheet
EXPLAINER_TTS=silent python tools/build.py econ4 -q l   # the whole part, silent preview
python tools/build.py econ4                           # 1080p30 with narration and the series' computed score
python -m explainer.economics.data --refresh draft1970 fred   # the data again, with a report of changes
python -m videos.economics.labs 4                     # the lab

The data are frozen extracts in explainer/economics/data/, registered in SOURCES.md: the Selective Service System's lottery of 1 December 1969 (from the Journal of Statistics Education's data archive) and FRED's unemployment rate and consumer price index, retrieved on 19 November 2026. LaLonde's National Supported Work data, in Dehejia and Wahba's subsample with 429 PSID comparison men, and Card and Krueger's table 3 come from the Museum of Statistics, Built (explainer/stats/museum.py). Passages and tables transcribed from publications (Moore 1914, Leamer 1983, LaLonde 1986, Card 2001, Lucas 1976) are in explainer/economics/data/tables.py, each with where it was read and the date it was checked.