Sample size calculation for stepped wedge and other longitudinal cluster randomised trials

Richard Hooper*, Steven Teerenstra, Esther de Hoop, Sandra Eldridge

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

151 Citations (Scopus)
71 Downloads (Pure)


The sample size required for a cluster randomised trial is inflated compared with an individually randomised trial because outcomes of participants from the same cluster are correlated. Sample size calculations for longitudinal cluster randomised trials (including stepped wedge trials) need to take account of at least two levels of clustering: the clusters themselves and times within clusters. We derive formulae for sample size for repeated cross-section and closed cohort cluster randomised trials with normally distributed outcome measures, under a multilevel model allowing for variation between clusters and between times within clusters. Our formulae agree with those previously described for special cases such as crossover and analysis of covariance designs, although simulation suggests that the formulae could underestimate required sample size when the number of clusters is small. Whether using a formula or simulation, a sample size calculation requires estimates of nuisance parameters, which in our model include the intracluster correlation, cluster autocorrelation, and individual autocorrelation. A cluster autocorrelation less than 1 reflects a situation where individuals sampled from the same cluster at different times have less correlated outcomes than individuals sampled from the same cluster at the same time. Nuisance parameters could be estimated from time series obtained in similarly clustered settings with the same outcome measure, using analysis of variance to estimate variance components.

Original languageEnglish
Pages (from-to)4718-4728
Number of pages11
JournalStatistics in Medicine
Issue number26
Early online date28 Jun 2016
Publication statusPublished - 20 Nov 2016
Externally publishedYes

Bibliographical note

Publisher Copyright:
Copyright © 2016 John Wiley & Sons, Ltd.


Dive into the research topics of 'Sample size calculation for stepped wedge and other longitudinal cluster randomised trials'. Together they form a unique fingerprint.

Cite this