A cluster randomised trial allocates groups, not individuals: schools, villages or clinics are randomised to intervention or control, and outcomes are then collected from the people within them [1]. There are usually practical reasons. Some interventions can only be delivered to everyone at once, such as a radio programme for a whole village; others would "contaminate" the control group if only some pupils in a school received them; and sometimes organising data collection by cluster is cheaper, or no list of individuals exists [1].
The unit of randomisation and the unit of measurement differ
A cluster trial has two levels. Randomisation happens at the cluster level: whether a school gets the new teaching scheme is decided by the toss of a coin. Outcomes are usually measured at the individual level: each pupil's test score. The control arm is also made of whole clusters, for instance schools keeping their usual teaching. The analysis cannot treat all pupils as independent observations, because only the schools were independently allocated.
Pupils in the same school share teachers, intake and surroundings, so their scores tend to be close. This similarity is measured by the intraclass correlation coefficient (ICC), which describes how strongly units in the same group resemble each other [3]. The larger the ICC, the less new information each extra person in a cluster adds [1].
How the ICC inflates the sample size
The ICC is turned into a sample size through the design effect proposed by Kish in 1965: with m people per cluster, Deff = 1 + (m − 1) × ICC [2]. It is the ratio of the variance of the mean under the cluster design to its variance under a simple random sample of the same size [2]. To size a trial, first compute the number per arm for an individually randomised trial, multiply by Deff to get the number of people per arm under the cluster design, then divide by m to get the number of clusters. When clusters differ in size, the average cluster size is commonly used, which makes the design effect a conservative upper bound [2].
A worked example
The following illustrative settings show the process. Suppose two teaching schemes are compared and we want to detect a difference of 0.3 standard deviations with two-sided α = 0.05 and 80% power. Comparing two means under individual randomisation needs 2 × (1.96 + 0.84)² ÷ 0.3² ≈ 175 pupils per arm. Now randomise by school instead, with 20 pupils sampled per school:
| ICC | Design effect | Pupils per arm | Schools per arm |
|---|---|---|---|
| 0.01 | 1.19 | 209 | 11 |
| 0.05 | 1.95 | 342 | 18 |
| 0.10 | 2.90 | 508 | 26 |
With the same 20 pupils per school, raising the ICC from 0.01 to 0.10 increases the schools needed per arm from 11 to 26; at ICC = 0.10 the total number of pupils is 2.9 times that of individual randomisation. A seemingly small ICC has a large effect once multiplied by m − 1, and more so the larger the clusters.
More schools beat more pupils per school
How many independent people is a cluster of m worth? The answer is m ÷ Deff = m ÷ [1 + (m − 1) × ICC]. As m grows this approaches 1 ÷ ICC but never reaches it. At ICC = 0.05, 20 pupils in a school are worth about 10.3 independent pupils, 100 pupils about 16.8, and no number of pupils is worth more than 20.

Figure: How many independent people a cluster is worth as it grows.
Fixing the ICC at 0.05 and keeping the settings above, change only the number of pupils sampled per school:
| Pupils per school m | Design effect | Schools per arm | Pupils per arm |
|---|---|---|---|
| 10 | 1.45 | 26 | 260 |
| 20 | 1.95 | 18 | 360 |
| 40 | 2.95 | 13 | 520 |
| 80 | 4.95 | 11 | 880 |
Going from 10 to 80 pupils per school saves only 15 schools but adds 620 pupils. A real design weighs two costs: recruiting one more school, and measuring one more pupil in a school already recruited. Wherever recruiting schools is feasible, adding clusters usually raises power more than enlarging each cluster.
Steps in design and analysis
- Choose the unit of randomisation. Decide whether to randomise schools, classes or villages from how the intervention is delivered and whether it could contaminate, and set up the control arm accordingly.
- Estimate the ICC in advance. Give an ICC estimate before the trial starts and state where it comes from, such as values reported by similar studies or pilot data; when unsure, compute the sample size for several ICC values to see how sensitive it is.
- Compute the number of clusters from the design effect. Take the individually randomised number, multiply by Deff, divide by the cluster size and round up; with unequal clusters use the average size, which errs on the conservative side.
- Account for clustering in the analysis. Ignoring within-cluster correlation harms both statistical power and the control of type I errors, and a large share of cluster trials fail to account for it [1].