19/36
Part 4 of 6 · Few citiesLearn and do

The correction's extra percent roughly doubles each time the cities halve

How much the correction matters depends on how many cities you have.

Cities GG, 50 users eachc\sqrt{c}Standard error grows by
1001.0050.5%
401.0131.3%
201.0262.6%
101.0555.5%
61.0979.7%
41.15815.8%

The second factor, (N−1)/(N−K)(N - 1)/(N - K), is close to 1 whenever NN is large. The first one, G/(G−1)G/(G - 1), is the one that matters, and it matters most when cities are few.

In the editor, finish cluster_se(y, treat, cluster): cr0_se, corrected by the factor c.