Sample size calculation for a stepped wedge trial
Open accessAbstract
BACKGROUND: Stepped wedge trials (SWTs) can be considered as a variant of a clustered randomised trial, although in many ways they embed additional complications from the point of view of statistical design and analysis. While the literature is rich for standard parallel or clustered randomised clinical trials (CRTs), it is much less so for SWTs. The specific features of SWTs need to be addressed properly in the sample size calculations to ensure valid estimates of the intervention effect. METHODS: We critically review the available literature on analytical methods to perform sample size and power calculations in a SWT. In particular, we highlight the specific assumptions underlying currently used methods and comment on their validity and potential for extensions. Finally, we propose the use of simulation-based methods to overcome some of the limitations of analytical formulae. We performed a simulation exercise in which we compared simulation-based sample size computations with analytical methods and assessed the impact of varying the basic parameters to the resulting sample size/power, in the case of continuous and binary outcomes and assuming both cross-sectional data and the closed cohort design. RESULTS: We compared the sample size requirements for a SWT in comparison to CRTs based on comparable number of measurements in each cluster. In line with the existing literature, we found that when the level of correlation within the clusters is relatively high (for example, greater than 0.1), the SWT requires a smaller number of clusters. For low values of the intracluster correlation, the two designs produce more similar requirements in terms of total number of clusters. We validated our simulation-based approach and compared the results of sample size calculations to analytical methods; the simulation-based procedures perform well, producing results that are extremely similar to the analytical methods. We found that usually the SWT is relatively insensitive to variations in the intracluster correlation, and that failure to account for a potential time effect will artificially and grossly overestimate the power of a study. CONCLUSIONS: We provide a framework for handling the sample size and power calculations of a SWT and suggest that simulation-based procedures may be more effective, especially in dealing with the specific features of the study at hand. In selected situations and depending on the level of intracluster correlation and the cluster size, SWTs may be more efficient than comparable CRTs. However, the decision about the design to be implemented will be based on a wide range of considerations, including the cost associated with the number of clusters, number of measurements and the trial duration.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
SWD was frequently used in HIV research to navigate ethical and practical challenges in evaluating interventions where treatment access is considered necessary.
“SWD was frequently used in HIV research to navigate ethical and practical challenges in evaluating interventions where treatment access is considered necessary (7, 13, 113).”
From Applications and implementation considerations for stepped-wedge designs in sub-Saharan Africa: a systematic review (2026) · cites this paper as [113]
The Background and Discussion describe stepped-wedge trials and their planning challenges, but do not address their frequency of use in HIV research or the claimed ethical rationale concerning treatment access. Searches for HIV and ethical access found no passage supporting those points in our copy. (LLM, conf=0.73)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
The citation lists haven’t been fetched yet
References 47 · Cited by 163
Research works printed but not linked: 36
- [1]Murray D The design and analysis of group randomised trials 1998 Oxford, UK Oxford University Press
- [2]Gail M Byar D Pechacek T Corle D Aspects of statistical design for the Community Intervention Trial for Smoking Cessation (COMMIT) Control Clin Trials 1992 13 6 21 10.1016/0197-2456(92)90026-V 1315664 · DOI
- [3]Donner A Birkett N Buck C Randomization by cluster: sample size requirements and analysis Am J Epidemiol 1981 114 906 14 7315838
- [4]Donner A Sample size requirements for stratified cluster randomization designs Stat Med 1992 11 743 50 10.1002/sim.4780110605 1594813 · DOI
- [5]Shoukri M Martin S Estimating the number of clusters for the analysis of correlated binary response variables from unbalanced data Stat Med 1992 11 751 60 10.1002/sim.4780110606 1594814 · DOI
- [6]Shipley M Smith P Dramaix M Calculation of power for matched pair studies when randomization is by group Int J Epidemiol 1989 18 457 61 10.1093/ije/18.2.457 2767863 · DOI
- [7]Hsieh F Sample size formulae for intervention studies with the cluster as unit of randomization Stat Med 1988 8 1195 201 10.1002/sim.4780071113 3201045 · DOI
- [9]Liu A Shih W Gehan E Sample size and power determination for clustered repeated measurements Stat Med 2002 21 1787 801 10.1002/sim.1154 12111912 · DOI
- [10]Hargreaves J, Copas A, Beard E, Osrin D, Lewis J, Davey C, et al.Five questions to consider before conducting a stepped wedge trial. Trials. 2015. PMC4538743 26279013
- [11]Beard E, Lewis J, Prost A, Copas A, Davey C, Osrin D, et al.Stepped wedge randomised controlled trials: systematic review. Trials. 2015. PMC4538902 26278881
- [14]Hussey M Hughes J Design and analysis of stepped wedge cluster randomised trials Contemporary Clin Trials 2007 28 182 91 10.1016/j.cct.2006.05.007 16829207 · DOI
- [15]Woertman W de Hoop E Moerbeek M Zuidema S Gerritsen D Teerenstra S Stepped wedge designs could reduce the required sample size in cluster randomized trials J Clin Epidemiol 2013 66 7 52 8 10.1016/j.jclinepi.2013.01.009 23523551 · DOI
- [16]Moulton L Golub J Burovni B Cavalcante S Pacheco A Saraceni V Statistical design of THRio: a phased implementation clinic-randomized study of a tuberculosis preventive therapy intervention Clin Trials 2007 4 190 9 10.1177/1740774507076937 17456522 · DOI
- [17]Hemming K Lilford R Girling A Stepped-wedge cluster randomised controlled trials: a generic framework including parallel and multiple-level design Stat Med. 2015 34 2 181 196 10.1002/sim.6325 25346484 PMC4286109 · DOI · Paper page
- [19]Handley M Schillinger D Shiboski S Quasi-experimental designs in practice-based research settings: design and implementation considerations J Am Board Fam Med 2011 24 5 589 96 10.3122/jabfm.2011.05.110067 21900443 · DOI
- [21]StataCorp Stata 13 base reference Manual 2013 College Station, TX Stata Press
- [22]Copas A, Lewis J, Thompson J, Davey C, Fielding K, Baio G, et al.Designing a stepped wedge trial: three main designs, carry-over effects and randomisation approaches. Trials. 2015. PMC4538756 26279154
- [24]Dimairo M Bradburn M Walters S Sample size determination through power simulation; practical lessons from a stepped wedge cluster randomised trial (SW CRT) Trials 2011 12 1 26 10.1186/1745-6215-12-S1-A26 · DOI
- [25]Gelman A Hill J Data analysis using regression and multilevel/hierarchical models 2006 Cambridge, UK Cambridge University Press
- [26]Burton A Altman D Royston P Holder R The design of simulation studies in medical statistics Stat Med 2006 25 4279 292 10.1002/sim.2673 16947139 · DOI
- [27]Landau S Stahl S Sample size and power calculations for medical studies by simulation when closed form expressions are not available Stat Methods Med Res 2013 22 3 324 45 10.1177/0962280212439578 22491174 · DOI
- [28]Kitson A, Schultz T, Long L, Shanks A, Wiechula R, Chapman I, et al.The prevention and reduction of weight loss in an acute tertiary care setting: protocol for a pragmatic stepped wedge randomised cluster trial (the PRoWL project). BMC Health Serv Res. 2013;13(299). http://www.biomedcentral.com/1472-6963/13/2. PMC3750564 23924302
- [29]Schultz T Kitson A Soenen S Long L Shanks A Wiechula R Chapman I Lange K Does a multidisciplinary nutritional intervention prevent nutritional decline in hospital patients? A stepped wedge randomised cluster trial e-SPEN J 2014 9 2 84 90 10.1016/j.clnme.2014.01.002 · DOI
- [30]Bacchieri G Barros A Santos J Goncalves H Gigante D A community intervention to prevent traffic accidents among bicycle commuters Revista de Saude Publica 2010 44 5 867 75 10.1590/S0034-89102010000500012 20877924 · DOI
- [31]Spiegelhalter D Abrams K Myles J Bayesian approaches to clinical trials and health-care evaluation 2004 London, UK Wiley and Sons
- [32]Hemming K Girling A Martin J Bond S Stepped wedge cluster randomized trials are efficient and provide a method of evaluation without which some interventions would not be evaluated J Clin Epidemiol 2013 66 9 1058 9 10.1016/j.jclinepi.2012.12.020 23849737 · DOI
- [33]Duncan G Kalton G Issues of design and analysis of surveys across time Int Stat Rev 1987 55 97 117 10.2307/1403273 · DOI · Paper page
- [35]de Hoop E, Teerenstra S. Sample size determination in cluster randomized stepped wedge designs; 2013. http://multilevel.fss.uu.nl/files/2012/06/Abstract-Esther-de-Hoop-ML-conference-2013.pdf. 23523551
- [36]Murrey D Blitstein J Methods to reduce the impact of intraclass correlation in group-randomised trials Eval Rev 2013 27 1 79 103 10.1177/0193841X02239019 12568061 · DOI · Paper page
- [37]Keriel-Gascou M Buchet-Poyau K Rabilloud M Duclos A Colin C A stepped wedge cluster randomized trial is preferable for assessing complex health interventions J Clin Epidemiol 2014 67 7 831 3 10.1016/j.jclinepi.2014.02.016 24774471 · DOI
- [38]de Hoop E Woertman W Teerenstra S The stepped wedge cluster randomised trial always requires fewer clusters but not always fewer measurements, that is. participants than a parallel cluster randomised trial in a cross-sectional design J Cli Epidemiol 2013 66 1428 10.1016/j.jclinepi.2013.07.008 24021612 · DOI
- [39]Kotz D Spigt M Arts I Crutzen R Viechtbauer W The stepped wedge design does not inherently have more power than a cluster randomized controlled trial J Clin Epidemiol 2013 66 9 1059 60 10.1016/j.jclinepi.2013.05.004 23953488 · DOI
- [40]Pearson D Torgerson D McDougall C Bowles R Parable of two agencies, one of which randomizes Ann Am Acad Polit Soci Sci 2010 628 11 29 10.1177/0002716209351500 · DOI
- [41]Feng Z Diehr P Peterson A McLerran D Selected statistical issues in group randomized trials Annu Rev Public Health 2001 22 167 10.1146/annurev.publhealth.22.1.167 11274517 · DOI
- [42]Babyak M What you see may not be what you get: a brief nontechnical introduction to overfitting in regression-type models Psychosom Med 2014 66 411 21 15184705
- [43]Eldridge S Ashby D Kerry S Sample size for cluster randomized trials: effect of coefficient of variation of cluster size and analysis method Int J Epidemiol 2006 35 1292 300 10.1093/ije/dyl129 16943232 · DOI · Paper page
- Authors
- Baio, G., Copas, A., Ambler, G., Hargreaves, J., Beard, E., & Omar, R. Z.
- Affiliations
- University College London (GB)
- MRC Clinical Trials Unit at UCL (GB)
- London School of Hygiene & Tropical Medicine (GB)
- Corresponding author
- Baio, Gianluca
- Venue
- Trials
- Published
- 2015-08-17
- Volume
- 16
- Issue
- 1
- Pages
- 354-354
- ISSN
- 1745-6215 (ISSN-L)
- PMC
- PMC4538764
- OpenAlex
- W2101092363
- Cited by
- 163
- References
- 47
- Citations by year
- 2026: 9 · 2025: 18 · 2024: 10 · 2023: 10 · 2022: 11 · 2021: 20 · 2020: 23 · 2019: 13 · 2018: 14 · 2017: 17 · 2016: 12 · 2015: 4 · 2013: 2
- FWCI
- 2.66
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Locations
- Trials (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- LSHTM Research Online (London School of Hygiene and Tropical Medicine) (acceptedVersion)
- UCL Discovery (University College London) (submittedVersion)
- Funders
- National Institute for Health and Care Research (RMOFS-2013-03-02)
- University College London Hospitals NHS Foundation Trust
- Medical Research Council (MR/K012126/1, MC_UU_12023/29)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods in Clinical Trials
- Health Sciences › Health Professions › General Health Professions › Health Policy Implementation Science
- Social Sciences › Decision Sciences › Statistics, Probability and Uncertainty › Meta-analysis and systematic reviews
- Keywords
- stepped-wedge cluster randomized trial, sample size determination, statistical power, intra-cluster correlation, simulation-based methods, time effects, cluster size
- MeSH terms
- Computer Simulation, Data Interpretation, Statistical, Humans, Research Design, Time Factors, Models, Statistical, Randomized Controlled Trials as Topic, Sample Size, Patient Selection
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review