NYC congestion pricing · Jan 2023 – Sep 2026

Did congestion pricing cut Uber and Lyft trips?

Naive before/after comparison
−15.9%

Counts a decline that began two years before the toll.

Trend-adjusted estimate
−1.4%

Small, and the 95% interval nearly reaches zero.

An analysis of 1.06 billion NYC taxi and Uber/Lyft trips using causal inference, demand forecasting, experiment simulation and a production ML service.

The obvious answer is wrong

Trips inside the zone were already falling

Compare Uber/Lyft pickups in the 37 tolled zones with 207 zones elsewhere in the city, month by month. If the toll caused a drop, the line should break at January 2025.

Monthly difference in log pickups, inside vs outside zones, relative to December 2024 (two-way fixed effects, 95% intervals clustered by zone). The dotted line is the straight-line trend fitted to the 24 months before tolling.

The gap shrinks about 8% a year from the start of 2023 and keeps going at the same pace after tolling begins. A simple before/after comparison treats all of that decline as the toll's effect. Economists call this a pre-trend: the treated and comparison groups were already drifting apart before the policy.

The main estimator learns that trend, plus the zone's own seasonal pattern, from the pre-policy months only, then asks how far actual trips fell below that path.

Inside-zone pickups vs the trend- and season-adjusted counterfactual, each month since tolling began. The orange line is the average over all post-policy months.

From raw trips to evidence

One billion trips, four steps

Monthly trip files from the NYC Taxi & Limousine Commission are aggregated with DuckDB into small hourly tables. The tolled zones are identified from the fee actually charged on each trip, not from a hand-drawn map.

STEP 1

Download

90 monthly parquet files, yellow taxi and Uber/Lyft, 24.9 GB.

STEP 2

Find the zone

Zones where 95–99% of local trips paid the fee are inside; 6 straddling 60th St are set aside.

STEP 3

Aggregate

DuckDB turns 1.06B trips into zone-by-hour counts in about 4 minutes.

STEP 4

Build panels

Zone-by-month for causal work, zone-by-hour for forecasting.

1.06B
trips analysed
24.9 GB
raw data
37
tolled zones
207
comparison zones
80
forecast zones
11.7%
forecast error (WAPE)

Evidence and robustness

Every method points to a small effect

Each estimate is a percentage change in Uber/Lyft pickups inside the zone compared with what the model expects without tolling. Intervals come from resampling whole zones 1,000 times, so correlation within a zone over time is respected.

MethodEstimate95% intervalReading

Two ways to average.

Forecasting

Tomorrow's demand, hour by hour

Every evening, a LightGBM model forecasts each hour of the next day for the 80 busiest zones. Every input is at least 24 hours old, and tests enforce that rule, so the backtest reflects what the model could really do. Below is one week it never saw during training.

Actual pickups Forecast (median) 80% band (p10–p90)

Rolling-origin backtest over April–September 2026: train on everything before a month, forecast that month. WAPE is total absolute error divided by total trips.

Experiment design

How to test a price change when riders share drivers

Randomizing riders breaks down in a marketplace: treated and control riders compete for the same drivers. A switchback randomizes time blocks instead, switching the whole area between treatment and control. The block length is the key decision, so it was tested by injecting a known −2% effect into 12 weeks of real Manhattan demand and replaying 500 random schedules per design.

Bias (percentage points) Error, RMSE (percentage points)
Estimator: hour-of-week fixed effects, plus a 1-hour burn-in for blocks of 2 hours or more. Carryover half-life 1 hour.

Recommended design: four-hour blocks, hour-of-week fixed effects and a one-hour burn-in. Even so, power to detect a 2% change in 12 weeks is only about 43%; reaching 80% would take roughly 30 weeks. Running the simulation before launch is what reveals that.

Production readiness

More than a notebook

FastAPI service

Day-ahead forecasts with p10/p50/p90 bands; refuses dates the data cannot support.

Docker

One image for the API, with model and data mounted at run time.

MLflow

Every backtest month, interval check and final model is logged and versioned.

Drift monitoring

Monthly PSI against the same month of 2024, so seasons are not mistaken for drift.

Honest validation

Rolling-origin backtests, leakage tests, placebo tests, bootstrap intervals.

CI

Ruff and 19 tests on every push; estimators are tested on fake data with a known answer.

GET /forecast?zone=161&date=2026-10-01

{ "zone": 161, "date": "2026-10-01",
  "hours": [ { "hour": 8,  "p10": 205.2, "p50": 247.1, "p90": 291.2 },
             { "hour": 18, "p10": 557.2, "p50": 691.4, "p90": 797.9 }, ... ] }