EEconomics, Built

Act XII · The Frontier

Part 68 of 68

The Dissertation

Researchstarts at this level30 min of film18 chaptersprerequisites: Part 1, Part 4, Part 15, Part 37, Part 54, Part 67

How is a new piece of economics made?

The series ends as it began, in a city. On 5 January 2025 New York began charging $9 to drive into Manhattan below 60th Street, and the state soon reported 11% fewer vehicles. One question is carried from idea to paper on the MTA's open data: four datasets described first; year-on-year differences in differences with placebo years, which reveal that the tolled tunnels were already drifting; bus speeds and miles; a discontinuity at 9 pm and 5 am that measures retiming; the smallest model, a speed-flow curve and a demand elasticity, and the paused $15 plan with its uncertainty; the referees; the same paper on the Island. Then the accounts close: 33 of 36 Facts, 93 Dials, 65 calls, the Tableau with every pipe open, who feeds Paris now, the Queen's question, and twelve open problems.

What you need. Part 4: identification; Part 15: Pigou and Vickrey; Part 37: cities; Part 54: estimating models; Part 67: replication and the credibility of designs.

Hook
back to Paris
Ideas, models and mathematics
how research is done: a question, a design, a model, a paper carried from idea to result, the final Dials, Agora against the Facts, the Tableau's sealed boxes, the open problems
Agora gains
the thesis
Play it
the last market

What you will be able to do

Principles and the major

  • Explain what makes a research question important, answerable and open.
  • Explain why a jump at a price cutoff measures retiming rather than trips given up.
  • Explain why two honest estimates of one policy can differ: different counterfactuals.

Graduate

  • Compute a year-on-year difference in differences and subtract a placebo year.
  • Estimate a discontinuity in time from binned counts.
  • Compute the marginal external cost of a trip from a speed-flow curve.

Research

  • Calibrate a congestion model to two estimates and simulate a counterfactual with both kinds of uncertainty.
  • Derive the bias of a difference in differences when treated units' losses divert to controls.
  • Test a design on simulated data where the truth is known.

Practice

  • Write the five-paragraph introduction and the referee replies for an empirical policy paper.

Contents

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

  1. 0Who feeds Paris, and who drives into Manhattan?Principles and the major3 min
  2. 1Finding a questionPrinciples and the major1 min
  3. 2The dataPrinciples and the major2 min
  4. 3The design, and its threatsResearch2 min
  5. 4Play it: predict the resultPrinciples and the major1 min
  6. 5The estimates, and what they cannot sayResearch2 min
  7. 6The clock: a discontinuity in timeResearch1 min
  8. Intermission: entries into the zone, 2025-2026Principles and the major
  9. 7The smallest modelResearch3 min
  10. 8The counterfactual: the $15 planResearch1 min
  11. 9Writing it, and the refereesPractice2 min
  12. 10The same paper on the IslandPractice1 min
  13. 11Agora against the FactsPrinciples and the major1 min
  14. 12The Dials, finalPrinciples and the major2 min
  15. 13The TableauPrinciples and the major1 min
  16. 14Who feeds Paris now, and the Queen's questionPrinciples and the major2 min
  17. 15Frontier: twelve open problemsResearch1 min
  18. The last marketAll tracks2 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. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.

Who feeds Paris, and who drives into Manhattan?Principles and the major3 min

This series began in a city. In 1845 Frédéric Bastiat looked at Paris, a million people who would all go hungry within days if supplies stopped, and wondered why they slept peacefully. Part one's answer was prices. Sixty-six parts since have asked what else it takes: institutions, money, banks, states, and the evidence to tell which claims are true.

This part ends in a city too. On the fifth of January 2025, New York began charging nine dollars to drive into Manhattan below 60th Street in the day, two dollars twenty-five at night: the first price on entering a downtown in the United States, and William Vickrey's idea of Part fifteen, put into law. On an average weekday about 492 thousand vehicles still enter. A year in, the state said 11 percent fewer vehicles were entering, and 550 million dollars had been raised for transit. Is that right? What did the charge do, to traffic, to buses, to when people travel? This last part carries one question from an idea to a paper, with everything the series has built.

The question of the part: how is a new piece of economics made? It starts with a question that matters, can be answered, and has not been. Then the data, described before anything is estimated. A design, with its threats written down before the results are seen. A model, the smallest that speaks to the estimates, and a counterfactual: a policy that was not tried. And, because this is the last part, the series' accounts, closed.

Economics, Built. Part sixty-eight: the dissertation. Part sixty-seven asked how much of economics is true. This part makes a piece of it. By the end you will know how to choose a question, find its data and describe them first; how to choose a design and list its threats before you see a result; what New York's charge did to traffic, to buses and to the clock, and what the design cannot say; how to build the smallest model that speaks to the estimates, and carry its uncertainty into a policy that was not tried; and what the series' Facts, Dials and Tableau finally show.

What it does: Bastiat's question; the charge of 5 January 2025; objectives

1Finding a questionPrinciples and the major1 min

A dissertation question has to pass three tests, and a fourth. It must be important: congestion wastes time and fuel, and this toll moves money from drivers to the subway, so who gains and who pays matters to millions. It must be answerable: the transit authority publishes crossings, entries, miles driven and bus speeds, before and after a date fixed by law. It must not be answered already: the charge is new, and the official figure compares entries with a projection, so other comparisons are open. And it must be yours: a design you can defend, a model small enough to check, a counterfactual someone needs.

Then the literature, in one page. In 1963 William Vickrey argued that roads and transit should be priced by time and place, like electricity. Singapore sold licences to enter its centre from 1975. London began a daily charge in 2003. Stockholm ran a trial in 2006, put it to a vote, and kept it from 2007. New York is the newest case. Where prices were tried, traffic fell; the open questions are who pays, how traffic moves in time and space, and how long the effect lasts. A good question sits exactly there.

What it does: Four tests; the literature in one page

2The dataPrinciples and the major2 min

The data come first, and they are public. Hourly crossings of the transit authority's ten bridges and tunnels since 2019; two of the tunnels lead straight into the zone. Entries into the zone every ten minutes, by type of vehicle and entry point, which exist only since the charge began. Miles driven each day in the zone and on its two free highways, since 2024. And bus speeds, route by route, inside and outside the business district, since 2023. Each file was reduced by a query written down in the Data Room, so anyone can rebuild it.

Describe before estimating. Here is every day since the charge began: the vehicles entering the zone. Weekdays, in gold, sit in a band near half a million; weekends and holidays fall below. On an average weekday 492 thousand vehicles enter, and 56 percent of all entries are cars, pickups and vans. Notice what this chart cannot show: there is no before. Entries were first counted when the cameras started charging, so this file alone can never say what the charge did.

The crossings have a before. Weekday traffic by month since 2019, each group indexed to its 2019 level: in red, the two tunnels whose Manhattan-bound lanes lead into the zone; in blue, 13 directions of crossings elsewhere in the city. First the pandemic's hole in 2020, and a recovery, stronger in the tunnels. Then something to write down before estimating anything: from 2023 the tunnels' traffic slips back relative to the other crossings, two years before the charge. Whatever design we use will have to deal with it.

What it does: Four datasets; entries since 2025; crossings since 2019 and a drift before the charge

3The design, and its threatsResearch2 min

Three designs, each from earlier in the series. For crossings, a difference in differences: the two tunnels into the zone against eight crossings elsewhere, each month of 2025 against the same month a year before, so that seasons cancel. For buses, the same comparison: routes inside the business district against routes outside. For the clock, a discontinuity in time: the toll falls at nine at night and rises at five in the morning, so compare the minutes just before and just after. And for each, placebos: the same comparisons in 2023 and 2024, when there was no charge, should find nothing.

Draw the identifying assumption before using it. The other crossings, in blue, and the tunnels, in red, year by year. The difference in differences assumes that without the charge the tunnels would have moved like the other crossings: the dashed red line. The effect is the gap between it and what happened. But if the tunnels were already drifting down before the charge, the right counterfactual is the grey line, and part of the gap is the drift. The placebo years are how we find out.

Then write the threats down, before seeing a single estimate. One, a trend: the tunnels were already losing traffic. Two, diversion: drivers who avoid the tunnels may use other crossings, which would make the comparison group grow and the effect look bigger, or the free East River bridges, which are not in this data at all. Three, a smaller dose: tunnel drivers get a partial credit for the toll they already pay. Four, other news: the recovery from the pandemic, office attendance, fares and weather. Five, the clock design measures when people travel, not how many trips they gave up. A list like this, written first, is what separates a design from a story told afterwards.

What it does: Three designs and their placebos; parallel trends drawn; five threats

4Play it: predict the resultPrinciples and the major1 min

Your turn, as the dissertation's first reader. Write down your predictions before the estimates arrive; a forecast written first cannot be revised afterwards. One: in 2025, how did traffic through the two tunnels change, relative to the other crossings? Two: how did bus speeds inside the business district change, relative to routes outside? Three: on weekdays, how do car entries in the ten minutes after nine at night compare with the ten minutes before, when the toll falls from nine dollars to two twenty-five? Pause, and choose.

The answers, in the order the next chapters will earn them. One: B. Relative to the other crossings, tunnel traffic fell by 2.6 percent, and by about 1.2 percent once the tunnels' earlier drift is taken out. Two: B. Buses inside the district got 1.3 percent faster than buses outside. Three: C. Car entries jump by about 26 percent the moment the toll drops. The largest effect is not on whether people drive, but when.

What it does: Three predictions, then the answers

5The estimates, and what they cannot sayResearch2 min

The crossings first. Each bar is one month: the tunnels' year-on-year change minus the other crossings', in percent. The grey and blue bars are 2023 and 2024, before any charge: the placebos. They are not zero. The tunnels were losing ground by 1.4 percent a year before anything happened. In 2025, the red bars, the gap averages 2.6 percent. Net of the drift, the charge's effect on the tunnels is about 1.2 percent, with a standard error of 0.6 percent: small, and only just distinguishable from zero. The orange bars of 2026 compare two charged years, and look like the drift again.

Then buses and miles. At the weekday peak, buses inside the business district averaged 9.49 miles an hour in 2024 and 9.67 in 2025. Against buses outside, the gain is 1.3 percent, where the placebo year shows 0.1 percent. Miles driven in the zone fell 3.9 percent, and on its two free highways 2.4 percent. Fewer miles, slightly faster buses, a small effect on the tolled tunnels: a modest, measurable change.

So which is it? The state reported eleven percent fewer vehicles entering the zone, against a projection of what entries would have been without the charge. This study finds 3.9 percent fewer miles driven in the zone than a year before, and small effects against comparison crossings and routes. They need not conflict. Entries are not miles; a projection is a model of the counterfactual, a comparison group is another; and the free bridges are in neither. And no design here can say how many trips were given up rather than moved, who paid, or what a higher toll would do. That takes a model.

What it does: Tunnels by month with placebo years; buses and miles; the state's figure

6The clock: a discontinuity in timeResearch1 min

Now the clock. On the left, cars entering the zone every ten minutes on an average weekday, from seven to eleven at night, over 485 weekdays. The toll falls from nine dollars to two twenty-five at nine o'clock. A line through the blocks on each side, and the gap where they meet: entries jump by 26 percent the moment the toll falls. In the first hour after nine, about 2,361 more cars enter than the evening's trend predicts. On the right, the morning, when the toll rises at five. Drivers crowd in before it, and entries fall by 31 percent at the stroke of five: about 4,354 fewer cars in the next hour than the early-morning trend.

What does the clock show? It is the cleanest result in the study: nothing else changes at nine o'clock, so the jump is the price. But read it carefully. A discontinuity at a cutoff measures retiming: the driver who waits until five past nine still comes. It cannot tell how many trips were given up altogether. What it does measure is Vickrey's point: a price that varies by time of day spreads the peak.

What it does: Discontinuities at 9 pm and 5 am; retiming

Intermission: entries into the zone, 2025-2026Principles and the major

This chapter has no narration to read.

7The smallest modelResearch3 min

The designs say what happened. To ask what a different toll would do, we need a model, and the rule is to use the smallest one that speaks to the estimates. Two pieces. First, time per trip rises with traffic, along the curve road engineers have used since the 1960s. Its slope comes from the data: miles in the zone fell 3.9 percent, bus travel time fell 1.9 percent, so each percent less traffic saves about 0.48 percent of time. Second, demand for trips falls with their full price: the toll, the time, and everything else a trip costs. The numbers we do not observe are assumptions, written on the screen: 3 miles in the zone at 10 miles an hour, time worth 20 dollars an hour, half a typical wage as in Part fifty-eight, other costs of 25 dollars. Then the observed fall in traffic, when the price rose by the toll and fell a little with the faster trip, gives the elasticity: minus 0.15. Driving into Manhattan is very inelastic.

With both pieces, the model gives traffic at any toll. It passes through the one point we observed, nine dollars, by construction. Everywhere else, the model is speaking, not the data: at fifteen dollars, the original plan, traffic would be about 5.9 percent below its uncharged level at the central assumptions.

The model also prices the thing a congestion charge is for. One more car adds a little delay to every other car. Added up, that is the marginal external cost of a trip: the time elasticity, times the trip's time, times what time is worth. At the central assumptions, about 2.90 dollars a trip. That is Pigou's tax of Part fifteen, for drivers' time alone. It leaves out bus riders, whose time the faster buses save; pedestrians; safety; noise; emissions; and the peak hour, where one more car costs far more than the day's average. So the narrow model alone cannot justify nine dollars. The case rests on what it leaves out, and on the revenue for transit, which the law intended. Saying so is part of the paper.

What it does: The speed-flow curve, the demand elasticity, the marginal external cost

8The counterfactual: the $15 planResearch1 min

Good counterfactuals are ones someone needs. This one has a date. In June 2024 a fifteen-dollar charge, due to begin on the thirtieth, was paused weeks before it started. In November a nine-dollar charge was approved instead, rising to twelve dollars in 2028 and fifteen in 2031. So the question writes itself: what would fifteen dollars have done, and what will the next steps do?

And the answer must carry its uncertainty. Two kinds: the estimates themselves, each with a standard error, and the assumptions, each with a range. Draw both two thousand times, recalibrate the model each time, and report the median with the range that holds ninety percent of the draws. At fifteen dollars, traffic in the zone would be about 5.9 percent below its uncharged level, somewhere between 4.5 and 7.3 percent. Trips in the zone would be about 2.6 percent faster. And the delay a car imposes on other drivers is worth between 1.3 and 6.0 dollars, a range wide enough to say what matters: the narrow case for fifteen dollars is weaker than the case for nine, and both rest on costs the model leaves out.

What it does: The paused $15 plan, with its uncertainty

9Writing it, and the refereesPractice2 min

A paper is read from its introduction, so the introduction is the argument in miniature. First the question and why it matters. Then what the paper does. Then what it finds, with the numbers. Then the honest part: why the answer differs from the official figure, and what the designs cannot say. Then the model, the counterfactual, and what they leave out. A talk follows the same five steps, in twenty minutes, with one picture for each.

Then the referees, the colleagues an editor asks to find what is wrong. The first asks whether the tunnels' drift is the pandemic's long tail, and whether the result depends on which years are the placebos. The reply does the work: estimate the drift from 2023 and 2024, then from 2024 alone, and report both. The second asks the hardest question: how much traffic moved to the free bridges, which this data cannot see? The honest reply is that this data cannot bound it; a model can show which way the bias runs, and the paper must say so. Most of a paper's quality is made in replies like these.

And the replies, in numbers. The paper's estimate: net of the drift measured over 2023 and 2024, 1.2 percent. With the drift measured from 2024 alone, as the first referee asked, 0.9 percent. Dropping the two bridges whose traffic also flows into Manhattan from the comparison group, 1.4 percent. Every answer sits inside the main estimate's interval. The result is small and steady; what remains uncertain is diversion, and the paper says so.

What it does: The introduction as an argument; two referee reports and the replies

10The same paper on the IslandPractice1 min

This series has always checked a method where the truth is known. So run the same paper on the Island: two tolled crossings, eight others, a shared season, and a charge that truly removes four percent of the tolled crossings' traffic. When the crossings would have moved in parallel, the method finds 4 percent on average: right, though any single Island can miss by a couple of points. When thirty percent of the lost trips divert to the comparison crossings, the comparison group grows and the method overstates the effect: 4.3 percent. When the tolled crossings were already drifting down one and a half percent a year, the plain comparison finds 5.5 percent, the effect plus the drift. Subtracting the placebo year recovers 4 percent, and more precisely. That is the correction chapter five applied to New York, checked where the answer is known.

What it does: The method where the truth is known: parallel trends, diversion, a drift

11Agora against the FactsPrinciples and the major1 min

Part one fixed 36 Facts that any account of an economy has to reproduce, from Engel's law to the child penalty. Each had three columns: your guess, the data, and Agora, the economy the series built, filled in by the part that built the mechanism. Here is the whole list. 33 of the 36 are reproduced: Agora's households smooth consumption, its firms set sticky prices, its traders converge, its bidders suffer the winner's curse, its growth is flat for millennia and then takes off, its banks lend into crises, its cities and incomes follow Zipf and Pareto.

And the 3 that stayed open. Firm sizes follow Zipf's law; the random growth that produces it was built for cities in Part thirty-seven, and never run for firms. Expansions are long and recessions short; the equilibrium cycle of Part twenty-nine is symmetric, and a switching model only describes the asymmetry. The yield curve inverts before most recessions; Part fifty-seven measured it, but no part built the expectations that would produce it. Three Facts the series could show and not explain. A scorecard that admits its gaps is worth more than one that hides them.

What it does: The scorecard; the three Facts left open

12The Dials, finalPrinciples and the major2 min

The Dials, for the last time. Each act opened Dials as it met numbers the world has to supply, stacked here by act and coloured by status. Of the 93, 20 are settled within a range, 35 depend on the setting, 36 are contested and 2 cannot be identified with the data we have. Settled answers are rare in every act, never more than two Dials in three and usually far fewer; the acts on markets and on money and the cycle are the most contested, and the graduate core opened none, since it built tools rather than measured the world. Most of what economics measures depends on where and when it is measured, and saying so is not a failure of the field but its main finding.

And the series' other ledger: Called it? 65 predictions made in advance by economists, officials and markets, each put beside what happened. 12 were right, 21 partly right, 28 wrong, and 4 are too early to say. Wrong is the commonest verdict, and fewer than one call in five was simply right. The lesson is not that economists should stop forecasting, but that a forecast should come with a range, and someone should keep score.

What it does: Statuses by act; Called it? scored

13The TableauPrinciples and the major1 min

In Part one the economy was drawn as plumbing, after Quesnay's Tableau of 1758 and Phillips's water machine: five tanks, households, firms, government, banks and the rest of the world, and ten pipes between them, each sealed until a part opened it. Spending and goods in Part two; saving in Part twenty-two; labour in twenty-four; money in twenty-five; loans in twenty-six; public spending in thirty-two; capital flows in thirty-four; trade in thirty-five; taxes in forty-one. All ten are open now, and the circulation the series built runs through every one.

But the Tableau has boxes, not pipes, that no part could open fully. Expectations: how people form beliefs about the future, rationally, adaptively, or by learning. Institutions: why some countries have the rules that make markets work, and how rules change. The inside of the household: how money and time are shared within a family. And the long-run growth rate: what sets the speed at which ideas arrive, and whether it can last. Each part that touched them made progress; none could close the question.

What it does: Every pipe open; the boxes still sealed

14Who feeds Paris now, and the Queen's questionPrinciples and the major2 min

Bastiat asked who feeds Paris. Sixty-eight parts later, the answer has four layers. Prices, still: the signal and the incentive that every farmer, shipper and baker responds to. Firms and networks: supply chains and contracts, with market power and shocks that travel along them. Money, banks and states: payment, credit, property, courts, safety rules, taxes and insurance, all of which Bastiat's sleeping Parisians took for granted. And the world: trade that brings food from other continents, and the politics that can cut it off. No one plans it, and it is not unplanned: it is designed, rule by rule, and coordinated by prices.

The other question this series kept returning to was the Queen's. In November 2008, opening a building at the London School of Economics, she asked why nobody had seen the crisis coming. The British Academy's economists wrote back the next summer: a failure of the collective imagination of many bright people to understand the risks to the system as a whole. The series' answer is a little sharper. Some did notice: Part thirty-three showed that credit booms predict crises. What the profession lacked were models with banks in them, data on leverage, and the habit of keeping score. Much of that has changed: balance sheets are measured, banks are stress-tested, crises are in the models. What has not changed is that the next crisis will start where the data are thinnest.

What it does: Four layers; the British Academy's letter and the series' answer

15Frontier: twelve open problemsResearch1 min

One open problem from each act, for whoever comes next. Measure welfare when the goods are free and digital. Read welfare from choices that are not consistent. Tell when pricing algorithms collude. Design markets for data and privacy. Explain why productivity growth slowed in the rich world from the mid-2000s. Find the neutral interest rate, and learn what large central-bank balance sheets do. Price a world split into blocs, counting the ideas that stop crossing. Tax wealth that can move, and insure work that keeps changing. Value climate risks that have tipping points and fat tails. Solve models of many different agents with aggregate risk, at the scale of real economies. Keep forecasts and policy scores honest in real time. And close the three Facts this series could not: firm sizes, long expansions, and the yield curve. Each is a dissertation, and none needs anything this series did not show you how to start.

What it does: Twelve open problems, one from each act

The last marketAll tracks2 min

So: how is a new piece of economics made? From a question that matters and can be answered; data described before they are used; a design whose threats are written down first; the smallest model that speaks to the estimates; a counterfactual that carries its uncertainty; and the honesty to say what the design cannot show. Then others check it, and the record grows.

Part sixty-eight in twelve lines. A question with a date and a law. Data, described first, and a file with no before. Comparisons with placebo years. The tunnels' small effect, once their drift is removed. Slightly faster buses, fewer miles. A large jump at the minute the price changes. A very inelastic demand, and a modest cost of a car's delay. A counterfactual with its range. The method checked where the truth is known. The Facts, nearly all reproduced. The Dials, mostly open. And the calls, honestly scored.

The last problems: year-on-year differences; subtracting a placebo; what the clock measures; the external cost of a trip; the elasticity of demand; and a starred problem on the bias from diversion. Full solutions are in the part's notes.

The reading for a dissertation: William Thomson's guide for the young economist; Hal Varian on building a model in your spare time; John Cochrane's writing tips and Jesse Shapiro on giving a talk. Then the economics of congestion, from Walters and Vickrey on, and the methods. And the sixty-seven parts before this one.

The series began with a market: traders in a pit, calling bids and asks, and a price nobody chose. Demand, and supply, the two blades of Marshall's scissors that the score has carried through every part. Where they meet, a price, and behind it everything this series has tried to build: the choices, the institutions, the money and the states that make the meeting possible, and the evidence that tells us when we have it right. Sixty-eight parts, the Dials, the Facts, the calls, and one economy, built. Thank you for building it with us.

Where it goes next. This is the last part: the next economics is yours to write.

Key results

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

Placebo-adjusted effect\(\displaystyle \hat\tau = \Delta_{2025} - \Delta_{2024}\)
Marginal external cost\(\displaystyle \text{MEC} = e \cdot T \cdot \text{VOT}\)
Speed-flow curve\(\displaystyle T(V) = T_0\,(1 + a\,v^{b})\)
Diversion bias\(\displaystyle \hat\tau \approx \tau\,(1 + d\,T/C)\)

Try it

Lab 68 · The dissertation

Carry one question from data to design to model: what New York's congestion charge did, and what a higher toll would do, with every assumption in view.

Figure produced by Lab 68: The dissertation
Produced by the lab below, seed 0, in 0.2 s.
python -m videos.economics.labs 68 needs numpy, scipy, matplotlib · download lab68.py · source on GitHub
tunnels minus other crossings, year on year: 2025, placebo years, net                    -2.6%, -1.4%, -1.2%
bus speeds in the district against outside (2025, placebo 2024); miles in the zone       +1.3% (+0.1%); -3.9%
car entries at the cutoffs: 9 pm and 5 am jumps                                          +26% and -31%
the model: time elasticity, demand elasticity, a car's delay cost, the toll equal to it  0.48, -0.15, $2.90, $2.76
the Island: parallel trends, a drift, the drift net of the placebo (truth -4%)           -4.1%, -5.6%, -4.0%

A design measures against its counterfactual; the placebo years show when that counterfactual is wrong, and a model is needed for any toll that was never charged.
The code (67 lines; it asserts its own result)
"""Lab 68: the dissertation: New York's congestion charge from the MTA's open data, by year-on-year differences in
differences with placebo years, bus speeds and miles, discontinuities at 9 pm and 5 am, a calibrated congestion
model and the $15 counterfactual with its uncertainty, and the same study on the Island."""

import numpy as np

from videos.coursekit import labs
from explainer.economics import data
from explainer.economics.agora import congestion as C

TITLE = "The dissertation"
GOAL = ("Carry one question from data to design to model: what New York's congestion charge did, and what a higher "
        "toll would do, with every assumption in view.")
TASKS = [
    "Drop the Verrazzano and the RFK Bridge from the controls (pass controls=... to C.yoy_did). Does the placebo "
    "drift change, and the net effect?",
    "Fit the 9 pm discontinuity within one hour instead of two (C.time_rd(T, 21.0, width=1.0)). Is the jump robust?",
    "Make time worth $35 an hour and trips 5 miles in the zone (C.congestion_model(..., vot=35, miles=5)). What "
    "toll equals the marginal external cost now?",
]


def run(seed=0):
    lab = labs.Lab()
    P = C.crossings_panel(data.mta_crossings())
    D = C.yoy_did(P)
    net = D["effect"] - D["placebo_mean"]
    assert D["effect"] < 0 and D["placebo_mean"] < 0 and D["effect"] < net < 0      # the drift explains part
    lab.row("tunnels minus other crossings, year on year: 2025, placebo years, net",
            f"{100 * D['effect']:.1f}%, {100 * D['placebo_mean']:.1f}%, {100 * net:.1f}%")
    Bu = C.bus_speeds(data.cbd_bus())
    V = C.vmt(data.cbd_vmt())
    assert Bu["effect"] > Bu["placebo"] and V["crz_change"] < 0
    lab.row("bus speeds in the district against outside (2025, placebo 2024); miles in the zone",
            f"{100 * Bu['effect']:+.1f}% ({100 * Bu['placebo']:+.1f}%); {100 * V['crz_change']:+.1f}%")
    T = data.crz_tod()
    n9, n5 = C.time_rd(T, 21.0), C.time_rd(T, 5.0)
    assert n9["jump"] > 0 > n5["jump"]                                           # retiming around the cutoffs
    lab.row("car entries at the cutoffs: 9 pm and 5 am jumps", f"{100 * (np.exp(n9['jump']) - 1):+.0f}% and "
            f"{100 * (np.exp(n5['jump']) - 1):+.0f}%")
    bc = [r["cbd"] for r in Bu["rows"] if r["year"] == 2025]
    M = C.congestion_model(V["crz_change"], -float(np.mean(bc)), 9.0, 20.0)
    opt = C.optimal_toll(M)
    assert M["eta"] < 0 and abs(opt["toll"] - opt["mec"]) < 0.01
    lab.row("the model: time elasticity, demand elasticity, a car's delay cost, the toll equal to it",
            f"{M['e_tv']:.2f}, {M['eta']:.2f}, ${M['mec_old']:.2f}, ${opt['toll']:.2f}")
    I0, It = C.island_study(sims=150), C.island_study(pretrend=-0.015, sims=150)
    assert abs(I0["mean"] - I0["truth"]) < 0.005 and abs(It["adjusted"] - It["truth"]) < 0.005 < abs(It["bias"])
    lab.row("the Island: parallel trends, a drift, the drift net of the placebo (truth -4%)",
            f"{100 * I0['mean']:.1f}%, {100 * It['mean']:.1f}%, {100 * It['adjusted']:.1f}%")

    lab.note = ("A design measures against its counterfactual; the placebo years show when that counterfactual is "
                "wrong, and a model is needed for any toll that was never charged.")

    fig, ax = labs.figure(2, size=(11, 4.4))
    rows = [r for r in D["rows"] if r["year"] >= 2023]
    ax[0].bar(range(len(rows)), [100 * r["did"] for r in rows],
              color=["0.6" if r["year"] < 2025 else ("tab:red" if r["year"] == 2025 else labs.ORANGE) for r in rows])
    ax[0].axhline(100 * D["placebo_mean"], color="k", ls="--", lw=1)
    ax[0].set(title="tunnels minus other crossings", xlabel="month (2023-2026)", ylabel="year-on-year change, %")
    t, y = np.array(n9["t"]), np.array(n9["y"])
    m = (t >= 19) & (t <= 23)
    ax[1].scatter(t[m], y[m], s=12, color="0.4")
    ax[1].axvline(21, color="tab:red", lw=1)
    ax[1].set(title="car entries around 9 pm", xlabel="hour", ylabel="per ten minutes, average weekday")
    lab.fig = fig
    return lab

Now change it

  1. Drop the Verrazzano and the RFK Bridge from the controls (pass controls=... to C.yoy_did). Does the placebo drift change, and the net effect?
  2. Fit the 9 pm discontinuity within one hour instead of two (C.time_rd(T, 21.0, width=1.0)). Is the jump robust?
  3. Make time worth $35 an hour and trips 5 miles in the zone (C.congestion_model(..., vot=35, miles=5)). What toll equals the marginal external cost now?

Problems, with solutions

Try each problem before opening its solution.

1. Year-on-year differences: show that comparing each month with the same month a year before removes a seasonal factor common to both groups, and what it does to a linear trend specific to one group.

Solution

Write log traffic as y = a_g + s_m + b_g t + e for group g, month of year m and time t in years. The year-on-year change y(t) - y(t - 1) for the same month is b_g + (e_t - e_(t-1)): the season s_m cancels, as does the level a_g. The difference between groups is b_T - b_C plus noise: a trend specific to one group does not cancel; it becomes a constant that the placebo years measure.

2. Placebo subtraction: with a group-specific drift delta a year and an effect tau, show that the 2025 comparison estimates tau + delta and the 2024 placebo delta.

Solution

By problem 1, the treated-minus-control year-on-year change is delta in any year without a charge and delta + tau in the first year with one. So the 2024 comparison estimates delta, the 2025 comparison tau + delta, and their difference tau. In New York, -0.026 - (-0.014) = -0.012. The cost is precision: the placebo's noise adds to the estimate's.

3. The clock: explain why a jump in entries at 9 pm measures retiming, and what extra data would be needed to count the trips given up.

Solution

Just before and just after 9 pm the same people want to travel, so the jump compares the same demand at two prices; but someone who would have come at 8:50 can wait ten minutes, so the jump counts trips moved across the cutoff, not trips lost. To count trips given up one needs total trips over the day against a counterfactual day without the charge: a before, as the crossings and miles provide, or individual travel diaries.

4. The externality: with T(V) = T0(1 + a v^b), show that V T'(V) = e T with e = b s, and that the marginal external cost is e x T x the value of time.

Solution

T'(V) V = T0 a b v^b, and T = T0(1 + a v^b), so V T'/T = b a v^b/(1 + a v^b) = b s, where s is the share of the trip's time due to congestion. One more trip adds T'(V) to the time of each of the V trips, V T'(V) = e T in all, worth e x T x the value of time. With e = 0.48, T = 18 minutes and $20 an hour, about $2.90.

5. Demand: with V = A P^eta, compute eta from a 3.9% fall in traffic when the full price of a trip rises from $31 to $39.9.

Solution

eta = dlnV/dlnP = ln(1 - 0.0382)/ln(39.9/31) = -0.0389/0.2523 = -0.154: a 1% rise in the full price of a trip into the zone cuts trips by about 0.15%.

6. Diversion: if a share d of the trips lost on the tolled crossings appears on the comparison crossings, derive the bias of the difference in differences, and its sign.

Solution

With treated volume T and an effect tau (in logs), about -tau T trips are lost and -d tau T appear on the controls, whose volume C rises by a factor 1 - d tau T/C. The comparison's log change rises by about -d tau T/C, so the difference in differences is tau + d tau T/C = tau(1 + d T/C): biased away from zero, overstating the effect, by a factor that grows with the share diverted and the tolled crossings' size relative to the controls'.

Notes and sources

Sources

The studies and records the film states are listed in dials.SHOWN[68]; the facts of the charge in tables.congestion_68 and tables.literature_68. The methods are stated from the works cited in the chapters (Walters 1961, Vickrey 1963, Small and Verhoef 2007, Angrist and Pischke 2009, Cattaneo, Idrobo and Titiunik 2020, Thomson 2011, Varian 1997, Cochrane 2005, Shapiro) and computed here.

About this partfrom its README

Part 68 of a sixty-eight-part course in economics (see the series plan and the syllabus), the last of Act XII, The Frontier, and of the series. It asks how a new piece of economics is made, and answers by making one: from a question that matters and can be answered, data described before they are used, a design whose threats are written down first, the smallest model that speaks to the estimates, a counterfactual with its uncertainty, and the honesty to say what the design cannot show. Then it closes the series' accounts: the Facts, the Dials, the Calls and the Tableau.

It opens with Bastiat's question of 1845, who feeds Paris, and moves to a new city question: on 5 January 2025 New York began charging $9 (E-ZPass cars, 5 am to 9 pm on weekdays, 9 am to 9 pm at weekends; $2.25 overnight) to drive into Manhattan below 60th Street, and a year later the state reported 11% fewer vehicles entering (27 million in the year) and over $550 million of revenue. From there it covers:

  • finding a question: important, answerable, not yet answered, and yours; the literature in one page (Vickrey 1963; Singapore 1975; London 2003; Stockholm's trial of 2006 and tax from 2007);
  • the data: four public MTA datasets (crossings since 2019, zone entries since 2025, miles driven since 2024, bus speeds since 2023), each reduced by a recorded query; about 492,000 entries on an average weekday, 56% of them cars, pickups and vans; and a file with no before;
  • the design: year-on-year differences in differences for the two tunnels into the zone against thirteen directions of crossings elsewhere and for bus routes inside against outside the business district, with 2023 and 2024 as placebo years; a regression discontinuity in time at 9 pm and 5 am; five threats listed before any estimate (a trend, diversion, a smaller dose for tunnel users, other news, retiming);
  • Play it: predict the three headline results;
  • the estimates: the tunnels' traffic fell 2.6% relative to the other crossings in 2025, but they were already losing 1.4% a year in the placebo years, so the charge's effect is about -1.2% (s.e. 0.6); bus speeds inside the district rose 1.9% (9.49 to 9.67 mph at the weekday peak), 1.3% more than outside (the placebo year: 0.1%); miles driven in the zone fell 3.9%, on its free highways 2.4%; why these differ from the state's 11% (entries are not miles; a projection is a different counterfactual; the free bridges are in neither), and what no design here can say;
  • the clock: car entries jump 26% at 9 pm when the toll falls (about 2,400 extra cars in the first hour) and fall 31% at 5 am when it rises (about 4,400 fewer): retiming, measured;
  • an intermission: daily entries into the zone, as a line and a tune;
  • the smallest model: a speed-flow curve whose slope, 0.48, comes from the miles and bus-speed changes; a constant-elasticity demand for trips with an elasticity of -0.15 at the central assumptions (3 miles in the zone at 10 mph, time worth $20 an hour, other costs $25); the marginal external cost of a trip, about $2.90 in drivers' time alone, and what that leaves out (bus riders, pedestrians, safety, emissions, the peak);
  • the counterfactual: the $15 plan paused in June 2024: traffic 5.9% below its uncharged level (90% range 4.5-7.3%), trips 2.6% faster, with both the estimates and the assumptions drawn 2,000 times;
  • writing it: the introduction as an argument in five paragraphs; two referees and the replies;
  • the same paper on the Island: the method finds -4.0% for a true -4% when trends are parallel, -4.3% when 30% of the lost trips divert to the comparison crossings, -5.5% when the tolled crossings drift 1.5% a year, and -4.0% again once the placebo year is subtracted;
  • the series' accounts: the Facts (33 of 36 reproduced by Agora; firm sizes' Zipf law, the asymmetry of the cycle and the yield curve's inversions left open); the Dials (93, holding 410 estimates: 20 settled within a range, 35 depending on the setting, 36 contested, 2 not identified), by act; Called it? (65 calls: 12 right, 21 partly right, 28 wrong, 4 too early to say); the Tableau with every pipe open and four boxes still sealed (expectations, institutions, the household's inside, the long-run growth rate);
  • who feeds Paris now, and the Queen's question of November 2008, answered as well as the series can;
  • twelve open problems, one from each act; and the last market.
What is computed and built

Everything plotted is computed by compute.py with Agora's congestion module (explainer.economics.agora.congestion); the narration states the cached numbers.

  • Crossings. Weekly sums of the hourly crossings by facility and direction; full weeks only; the average weekday of each week; months as the mean of their weeks. Treated: the Queens Midtown Tunnel westbound and the Hugh L. Carey Tunnel northbound (toward Manhattan). Controls: both directions of the Bronx-Whitestone, Throgs Neck, Henry Hudson, Cross Bay and Marine Parkway bridges, the RFK Bridge's Bronx plaza both ways, and the Verrazzano westbound (13 directions). Each month's log year-on-year change, treated sum minus control sum; the 2025 mean; the 2023-2024 placebo mean and spread; the effect net of the placebo mean, with a standard error combining both.
  • Buses. Miles over hours by month, weekday peak, inside against outside the business district; year on year.
  • Miles. The GPS-based daily vehicle-miles, zone and excluded roadways, 2025 against the same months of 2024.
  • The clock. Weekday car entries per ten-minute block, summed over 485 weekdays of 2025-2026 and divided by them; lines in log entries fitted within two hours on each side of 9 pm and 5 am; the jump between them; the first hour's entries against the left line's prediction.
  • The model. T(V) = T0(1 + a v^4) anchored at 3 miles and 10 mph; e = dlnT/dlnV = 0.0188/0.0389; V = A P^eta with P = toll + value of time x T + other costs; eta from the observed change; the marginal external cost e x T x value of time; equilibria at other tolls by bisection. The counterfactual draws both estimates from their standard errors and the value of time ($14-24), the miles in the zone (2-5) and the other costs ($15-40) uniformly, 2,000 times.
  • The Island. 400 simulated cities: two tolled and eight comparison crossings, a shared season and random walk, crossing-specific trends and noise, a true effect of -4% from week 104; diversion of 30% of the lost trips; a drift of -1.5% a year; the same year-on-year estimator with and without subtracting the year before.
  • The accounts. facts.scorecard(), the Dials by the act of their first part (the plan's acts), the Calls' verdicts.
  • The intermission. Daily entries into the zone (all vehicles), a seven-day average; the melody is one note a week.
Chapter notes
# Chapter What it does
0 Who feeds Paris, and who drives into Manhattan? Bastiat's question; the charge of 5 January 2025; objectives
1 Finding a question Four tests; the literature in one page
2 The data Four datasets; entries since 2025; crossings since 2019 and a drift before the charge
3 The design, and its threats Three designs and their placebos; parallel trends drawn; five threats
4 Play it: predict the result Three predictions, then the answers
5 The estimates, and what they cannot say Tunnels by month with placebo years; buses and miles; the state's figure
6 The clock Discontinuities at 9 pm and 5 am; retiming
— Intermission Daily entries into the zone, as a line and a tune
7 The smallest model The speed-flow curve, the demand elasticity, the marginal external cost
8 The counterfactual The paused $15 plan, with its uncertainty
9 Writing it, and the referees The introduction as an argument; two referee reports and the replies
10 The same paper on the Island The method where the truth is known: parallel trends, diversion, a drift
11 Agora against the Facts The scorecard; the three Facts left open
12 The Dials, final Statuses by act; Called it? scored
13 The Tableau Every pipe open; the boxes still sealed
14 Who feeds Paris now, and the Queen's question Four layers; the British Academy's letter and the series' answer
15 Frontier Twelve open problems, one from each act
— Outro The answer; twelve lines; problems; reading; the last market
Notes
  • python -m videos.economics.labs 68: the year-on-year difference in differences with its placebo years; bus speeds and miles; the discontinuities at 9 pm and 5 am; the calibrated model and the $15 counterfactual with its uncertainty; the Island with diversion and a drift.
  • The interactive (course site): congestion. The reader sets the toll, the value of time and the elasticity of time with respect to traffic, and sees the traffic, the time per trip, the marginal external cost and the toll that would equal it.

Companion material in this repository

The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
  1. Hook: Bastiat's city today, in data; objectives.
  2. Finding a question: important, answerable, not answered. The literature in one page.
  3. The data: sources, construction, the descriptive facts first.
  4. The design: the identifying variation drawn (Part 4); threats listed before estimating.
  5. Play it: predict the result before it is shown.
  6. The estimates; robustness; what the design cannot say.
  7. The model: the smallest one that speaks to the estimates (Parts 37, 54); estimation; fit.
  8. The counterfactual: a policy that was not tried; uncertainty carried through.
  9. Writing it: the introduction as an argument; the talk; the referee reports, and the reply.
  10. The same paper on the Island: what the method would have found if the truth were known.
  11. Agora against the Facts: the scorecard, all forty rows, your guesses beside it.
  12. The Dials, final: what is settled within a range, what is contested, what was never identified.
  13. The Tableau: the pipes that are open and the boxes still sealed (expectations, institutions, distribution within the household, the long-run growth rate).
  14. Who feeds Paris now; the Queen's question, answered as well as the series can.
  15. Frontier: twelve open problems, one from each act. 15. Outro: the last market, and the score's two voices on one note.

Agora: the thesis, reproducible from one script; facts.scorecard(); dials.final(). Play it: the last market: the pit of Part 1 again, with everything the viewer now knows. Reading: the part's own source list; Cochrane, "Writing Tips for PhD Students"; Shapiro, "How to Give an Applied Micro Talk"; Varian, "How to Build an Economic Model in Your Spare Time"; Thomson, A Guide for the Young Economist.

Build the film

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

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

Build it
python -m videos.economics.econ68.compute              # every number (about a minute), into .cache/econ68/
python tools/qa_scene.py econ68 Estimates              # one chapter, silent, at 480p, with a contact sheet
EXPLAINER_TTS=silent python tools/build.py econ68 -q l   # the whole part, silent preview
python tools/build.py econ68                           # 1080p30 with narration and the series' computed score
python -m videos.economics.labs 68                     # the lab

The data are the MTA's open data on data.ny.gov, reduced to five files in the Data Room (mta_crossings.csv, crz_daily.csv, crz_tod.csv, cbd_vmt.csv, cbd_bus.csv; the queries are in the registry and data.refresh_mta_congestion() rebuilds them), registered in SOURCES.md, and the facts of the charge and the literature's dates transcribed in explainer/economics/data/tables.py (congestion_68, literature_68).