Medical AtlasPROJECT IMG
✎ Sketch Notes🏛️ 3D LibraryMy Desk

Cluster randomized and stepped-wedge trials: randomizing groups instead of patients

A cluster randomized trial assigns whole groups (clinics, wards, villages) to intervention or control, which prevents contamination but needs more participants because outcomes within a cluster are correlated (design effect = 1 + (m − 1) × ICC). A stepped-wedge trial is a cluster design in which every cluster starts in control and crosses to the intervention at a randomized time, so analysis must adjust for calendar time.

Overview

In an ordinary RCT, each individual is randomized. In a cluster randomized trial (CRT), the unit of randomization is a group: a hospital ward, a primary care practice, a school, a village. Everyone in a cluster receives the same allocation.

Three common designs:

DesignHow allocation worksTypical use
Parallel cluster RCTHalf the clusters intervention, half control, at the same timeHand-hygiene campaign across 20 hospitals
Cluster crossoverEach cluster gets both conditions in random order, switching back and forthTwo disinfectant protocols in ICUs, alternating every few months
Stepped-wedge (SW-CRT)All clusters start as control; at randomized "steps," groups of clusters cross to intervention one-way until all have itPhased roll-out of a sepsis pathway or new screening program across a health system

Why randomize clusters

  • The intervention works at group level: a ward protocol, staff education, a community water project, a policy, an electronic alert.
  • Preventing contamination: if doctors in one clinic treat both arms, control patients get some of the intervention ("spill-over"), biasing the effect toward the null.
  • Herd effects: vaccines, mass drug administration, infection control: the outcome depends on what happens to others.
  • Logistics: easier to implement per site.

Cost: people in the same cluster resemble each other (same doctors, same neighborhood), so they are not independent observations. This is measured by the intracluster correlation coefficient (ICC, ρ): the share of total variance explained by between-cluster differences. Typical ICCs in health services are small (often 0.01–0.1), but even small ICCs matter when clusters are large.

Sample size and analysis

  • Design effect (variance inflation) = 1 + (m − 1) × ICC, where m = average cluster size.
    Example: m = 50, ICC = 0.02 → DE = 1 + 49 × 0.02 = 1.98, so about twice as many participants are needed as in an individually randomized trial.
  • Effective sample size = total N ÷ design effect.
  • Adding more clusters increases power far more than adding more people per cluster.
  • Analysis must account for clustering: mixed-effects (multilevel) models with a random cluster effect, generalized estimating equations (GEE), or cluster-level summaries. Analyzing as if individuals were randomized gives falsely narrow confidence intervals and too-small p values (type I error).
  • With few clusters (e.g. <10 per arm), baseline imbalance is likely; use stratification or matching of clusters and small-sample corrections.
  • Stepped-wedge analysis: the standard model (Hussey and Hughes) includes a random cluster effect and fixed effects for time period, because intervention exposure increases over calendar time and any secular trend would otherwise be credited to the intervention.

The stepped-wedge design in detail

  • Vocabulary: sequence = the order in which a group of clusters switches; step = the point a cluster crosses to intervention; period = measurement interval (number of periods is usually steps + 1); optional transition period for implementation.
  • Designs can be cross-sectional (different patients each period) or cohort (same people measured repeatedly).
  • Advantages: fits a roll-out that will happen anyway (cannot do all sites at once), every cluster eventually gets the intervention (helpful when stakeholders object to withholding it), within-cluster before-after comparisons can increase power and may need fewer clusters than a parallel design.
  • Disadvantages: confounding by time (the main threat), longer duration, all approvals needed up front, vulnerable to drop-out, more measurement burden, and within-cluster contamination over time. "Everyone gets it" assumes benefit, which is exactly what is being tested.
  • Logistic convenience alone is not a strong reason; a parallel trial can also roll out in stages.
  • Compare with interrupted time series and before-after studies: SW-CRT adds randomization of timing, which protects against confounding by site.

Bias, ethics and reporting

  • Identification/recruitment bias: if individuals are recruited after clusters are allocated and recruiters know the allocation, the arms may enroll different patients. Fix: enroll before randomization, use routine data, or blind recruiters.
  • Blinding is often impossible; use objective outcomes and blinded outcome assessors.
  • Consent: may be needed at cluster level ("gatekeeper" permission, e.g. hospital leadership) and/or individual level; waivers may be justified when the intervention is delivered to the whole cluster and risk is minimal (IRB decision).
  • Reporting: CONSORT extension for cluster trials and a specific CONSORT extension for stepped-wedge CRTs (2018): justify the design, give a schematic of sequences and periods, report ICCs and time adjustment, and sensitivity analyses.
  • Ecological fallacy: cluster-level results may not apply to every individual.

🩺 Next best step: classic exam scenarios

  • Investigators want to test a new ICU checklist; nurses work across beds and would apply it to everyone → randomize ICUs (cluster RCT), not patients, to avoid contamination.
  • Trial randomized 30 clinics but analyzed 9,000 patients with a simple chi-square test → p values are too small; reanalyze with a mixed model or GEE accounting for clustering.
  • Average cluster size 101, ICC 0.01 → design effect = 1 + 100 × 0.01 = 2; double the sample size.
  • A state health department will roll out tele-stroke to 12 hospitals over 18 months and wants rigorous evaluation → stepped-wedge CRT with randomized order, analysis adjusted for time.
  • Stepped-wedge trial shows outcomes improved after the switch, but national rates also improved over the same period → the key bias is secular trend (time confounding).

🔥 Exam pearls

  • Randomize clusters when the intervention is group-level or contamination is likely.
  • Design effect = 1 + (m − 1) ICC; more clusters beat bigger clusters.
  • Ignoring clustering → CIs too narrow, type I error.
  • Stepped-wedge: all clusters start control, one-way crossover at randomized times, all end intervention.
  • Main stepped-wedge threat: time trends; adjust for period.
  • Consent may be at cluster and/or individual level; report with CONSORT extensions.

Sources: MJA (2019): The stepped wedge cluster randomised trial, what it is and when to use it · BMJ (2018): CONSORT extension for stepped wedge cluster randomised trials

© 2026 Project IMG · Content from Project IMG labs and atlases · For education only, not medical advice.