Cluster the standard errors by city
The regression's standard error has the cluster lesson's problem.
Over 2,000 simulated runs, the placebo came out significant in 38% of runs with the OLS standard error, and in about 4% clustered by city.
The practice data has 480 rows, but not 480 independent observations. A city having a good month has it in four rows. And the treatment doesn't vary at all within a city's post weeks. The usual OLS standard error treats every row as new information, and with panel data that's usually far too confident.
Bertrand, Duflo and Mullainathan showed how far by adding fake laws to real state-level data: "we find an 'effect' significant at the 5 percent level for up to 45 percent of the placebo interventions."
You can reproduce it, and the bars above come from that run:
- Simulate 30 cities over 16 weeks with no effect.
- Give each city weekly shocks that carry over, with a correlation of 0.8 from one week to the next.
- Assign a placebo launch to half the cities at week 8, and fit two-way fixed effects.
Across 2,000 runs, the estimate's true standard deviation is 0.53. The usual OLS standard error averages 0.24, and the placebo comes out significant at 5% in 38% of runs. Clustered by city, the standard error averages 0.55, and the false-positive rate is about 4%.