Run every method on the six cities from the start.
Six cities of four users, with their residuals and city totals
City
Users
Mean
Residuals
Eg
A
1, 4, 2, 5
3
-5, -2, -4, -1
-12
B
8, 4, 7, 5
6
2, -2, 1, -1
0
C
7, 10, 11, 8
9
1, 4, 5, 2
12
D
5, 8, 4, 7
6
-4, -1, -5, -2
-12
E
10, 7, 11, 8
9
1, -2, 2, -1
0
F
14, 10, 13, 11
12
5, 1, 4, 2
12
These are the six cities from the start: A, B and C are control, and D, E and F are treated. The residuals are each user's value minus their arm's mean, 6 for control and 9 for treated. Eg is their total. The estimate is 9−6=3.
estimate 3.000naive SE 1.243clustered 2.240city means 2.449
Predict
Six cities: the naive test gives p = 0.025. What do you expect from the clustered test?
By hand: the naive test says p = 0.025, the clustered test 0.24 and the city means 0.29
Naive. The squared residuals add up to 204. 60 of it comes from users around their own city's mean. 144 comes from four city means that sit 3 away from their arm's mean: 4 users times 9, in each of those four cities. So s2=204/22=9.27, and
SEnaive=9.27(121+121)=1.243
t=3/1.243=2.41. With 22 degrees of freedom the cutoff is 2.074, so p=0.025, and the 95% interval runs from 0.42 to 5.58. Ship it?
Clustered. Only cities A, C, D and F have a nonzero residual total, and each one squares to 122=144:
V^CR0=122144+144+122144+144=4
The correction is c=56⋅2223=1.2545, so SE=4×1.2545=2.240, and t drops to 1.34. With G−1=5 degrees of freedom the cutoff is 2.571. So p is 0.24, and the interval runs from -2.76 to 8.76.
City means. The treated means are 6, 9 and 12, and the control means 3, 6 and 9. Each arm has variance 9. So SE=9/3+9/3=2.449 and t=1.22. With 4 degrees of freedom the cutoff is 2.776, so p=0.29, and the interval runs from -3.80 to 9.80.
The six cities, three 95% intervals around the estimate, 3
0
naive0.42 to 5.58
clustered-2.76 to 8.76
city means-3.80 to 9.80
-4-20246810
Only the naive interval leaves out 0.
Same data, opposite conclusions: report the city means
The clustered standard error is 1.80 times the naive one, 2.240 against 1.243. That's a design effect of 3.25 in this sample. So the 24 users carry about as much information as 7 independent ones.
The formula agrees. The between-city variance is about 8.17 and the within-city variance 3.33, an ICC of 0.71, and 1+3×0.71=3.13.
Six cities is where the table says even the corrected sandwich runs hot, 8.3% at a nominal 5%. So the city-means test is the one to report.