Averaging more users shrinks their own noise, never the city's shock
So how much can averaging a city's users help?
Predict
A city's mean has shock variance 2.25 plus user noise 4 / m. Average 50 users. About what's left?
The variance of one city's mean
0246
m = 1 user: 6.25
2.25
4
m = 4: 3.25
2.25
1
m = 10: 2.65
2.25
0.4
m = 50: 2.33
2.25
the city shock, 2.25the users' own noise, 4 / m
A city's mean is its shock plus the average of its m users' own noise. That average has variance σw2/m, so it shrinks as the city grows. The shock doesn't shrink at all, because every user in the city carries the same bg.
So the difference in means carries the average shock of the treated cities minus the average shock of the control cities. Only more cities can average that away. More users per city can't.
That's why randomizing cities changes the standard error. The noise that moves the estimate comes in city-sized pieces, and the practice data has only 40 of them.
In the editor, write city_mean_variance(city_sd, user_sd, m): the variance of one city's mean.
Pick an answer above to see the rest
Instructions
1
Write city_mean_variance(city_sd, user_sd, m): the variance of one city's mean, its shock's variance plus the average of m users' own noise.