8/36
Part 1 of 6 · Two unitsLearn and do

On the practice data, the naive interval misses the true effect

On the practice data, that formula gives a confident, wrong answer.

The practice data, two 95% intervals around the estimate
true effect 0.5
naive -0.37 to 0.06
clustered -1.06 to 0.75
-1-0.500.51

The practice data was built with a true effect of 0.5. Its treated cities happened to draw shocks 0.61 lower than the control cities on average, so the estimate came out at -0.155.

The naive interval, -0.37 to 0.06, is narrow and confident, and it misses 0.5. The clustered standard error is 0.446, four times the naive 0.108. Its interval, -1.06 to 0.75, covers the truth. It uses a cutoff of 2.023 instead of 1.96, for a reason Part 4, Few cities, explains.

One data set could be bad luck, so a later step runs this design with no true effect at all. A 5% test built on the naive standard error calls about two of every three runs significant.

In the editor, write naive_se(y, treat) from the formula, with no matrices.