Data Science in the Wild · Peter Liu
Is difference-in-differences broken? Brown economist Peter Hull used AI agents to replicate 1,346 staggered-adoption results from 108 papers: TWFE and modern DiD estimates correlate about 0.9, and significant sign flips are rare. Key takeaways: The worry. In staggered rollouts, two-way fixed effects (TWFE) can put negative weights on some treated observations, so a policy that helps everyone could in theory look harmful. The test. AI agents (OpenAI Codex) screened 16,094 records from ten economics journals, with the author overseeing. TWFE was compared with DiD-averaging (Callaway and Sant'Anna) and imputation (Borusyak, Jaravel and Spiess). Results. Correlations are 0.88 and 0.93. Signs flip in 14.5% and 10.8% of pairs, but only 3.5% and 2.2% flip with a significant difference. Negative weights carry a median 1.4% of TWFE's weight; modern standard errors are 47% and 14% larger. Noise removed. A hierarchical model gives 0.91–0.98 estimand correlations and a 2.1% and 0.6% chance of a significant wrong-signed TWFE estimate. More always-treated units mean more flips. Our caveats. The paper doesn't say these rates justify skipping modern estimators, and parallel-trends failures aren't tested. Chapters: 00:00 Cold open: can DiD flip the sign? 00:55 The paper: Peter Hull's meta-analysis 02:03 Staggered adoption and negative weights 02:49 Analogy: a staggered software rollout 07:01 AI agents build the replication sample 09:44 Results: correlations and sign flips 11:51 Why flips are rare: tiny negative weights 13:02 The precision tradeoff 14:18 What predicts a flip 16:04 Hierarchical model: estimates vs. estimands 18:05 What's new and related work 21:59 Recap and closing question Sources: How Different are Different Differences-in-Differences? A Large-Scale Meta-Analysis (Peter Hull (Brown University); arXiv, Oct 29, 2026) Difference-in-Differences with Multiple Time Periods (Callaway and Sant'Anna; J. Econometrics 2021) Revisiting Event Study Designs: Robust and Efficient Estimation (Borusyak, Jaravel, Spiess; REStud 2024) Enjoyed it? Follow Data Science in the Wild (one real production ML/AI system or paper per episode, hosted by Peter Liu) and rate it on Apple Podcasts or Spotify. Also from Peter: The GenAI Evolution Atlas, Wednesday AI deep dives and Friday news roundups. Made with AI-generated voices; curated by Peter Liu from the sources above.
0:00This is Data Science in the Wild, deep dives
0:03into how teams like Netflix, Airbnb, and MetaBuild
0:07machine learning and AI in production. Hosted
0:10by Peter Liu, produced with AI Voices. So what
0:14if I told you that the mathematical formula economists
0:17have used for, I mean, decades to prove whether
0:21a law saves lives or a corporate policy creates
0:24jobs might actually be hardwired to tell you
0:27the exact opposite of the truth? That's a pretty
0:31terrifying thought if you're a researcher. Right.
0:34I mean, you spend years gathering data to show
0:37a policy was a success, and the math just spits
0:40out a result saying it was a total failure. Today,
0:43we are taking a deep dive into a very real crisis
0:46of faith in applied microeconomics, specifically