Stepped Wedge Cluster Randomized Trial

Statistics
Introduced by
Hussey and Hughes
Year
2007
Type
Phased implementation trial design
Family
Experimental Design

What does it do?

A stepped wedge cluster randomized trial is an experimental design in which clusters (for example schools, hospitals or communities) are randomized to the time at which they switch to the intervention, so every cluster eventually receives it, in successive waves.

Hussey and Hughes's 2007 paper addresses the design and its analysis, and Hemming and colleagues (2015) later set out guidance on its rationale, design, analysis and reporting. It is increasingly used to evaluate service-delivery interventions, particularly where rollout must be staged for logistical or political reasons.

The intuition behind the method

In a standard parallel trial, some clusters receive the intervention and others remain controls for the whole study. In a stepped wedge design, the order of rollout is randomized, so every cluster starts as a control and later switches to the intervention. Each cluster therefore contributes both control and intervention observations, which allows comparisons within clusters as well as between them. The same design also ties calendar time to exposure: in later periods a larger proportion of clusters is in the intervention condition, so any underlying temporal trend is confounded with intervention exposure unless time is modelled explicitly. For this reason the analysis has to separate the intervention effect from changes over time.

History

Hussey and Hughes's 2007 paper addresses the design and analysis of stepped wedge cluster randomized trials. Hemming and colleagues (2015) later published guidance on the rationale, design, analysis, and reporting of these trials in the British Medical Journal. Baio and colleagues (2015) reviewed analytical methods for sample size and power calculation in stepped wedge trials, covering continuous and binary outcomes and both cross-sectional and closed-cohort data, and proposed simulation-based calculations to overcome some limitations of analytical formulae.

When to use it

Choose a stepped wedge design when the intervention is intended for all clusters eventually, and the rollout must be staged for logistical, resource, or practical reasons. It is suited to evaluations that rely on cluster-level outcomes rather than individual patient recruitment, and where clusters can be randomized to the order of implementation. It is more attractive when the intracluster correlation is expected to be substantial or the clusters are large, because then the design is more powerful than a parallel cluster trial, according to Hemming and colleagues and Baio and colleagues. Avoid it when clusters cannot be randomized to the switch order, when strong secular trends are expected that cannot be modelled, or when the clusters are homogeneous (small intracluster correlation), where a parallel design can perform as well or better.

Limitations and considerations

  • Design, analysis, and reporting are more complex than for standard parallel cluster designs, and analysis requires software and expertise for clustered, repeated-measures data.
  • Intervention exposure is concentrated in the later periods, so a positive underlying temporal trend can look like an intervention effect; the analysis must model time explicitly.
  • Carryover and contamination between clusters or between periods can violate the assumption that clusters are not affected by one another's intervention status.
  • Loss of clusters or participants to follow-up can substantially reduce power.
  • With small intracluster correlation, parallel designs tend to perform as well as or better than the stepped wedge design.
  • The sampling structure changes the model. Cross-sectional designs (new participants sampled in each period) and closed-cohort designs (the same participants followed across periods) are analyzed differently, and the random-effects structure should be specified in advance.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • All clusters eventually receive the intervention, which can make the design acceptable where political or logistical constraints rule out a parallel trial in which some clusters remain controls throughout.
  • Phased rollout allows monitoring and adjustment between waves, so later clusters can benefit from what is learned during earlier implementation.
  • When the intracluster correlation is substantial or the clusters are large, the design is more powerful than a parallel cluster trial with the same number of clusters, because cluster-level variation is partly controlled for within each cluster.
  • Each cluster serves as its own control across periods, so cluster-level differences are partly removed from the intervention comparison.
  • Repeated measurement periods allow temporal trends to be estimated and modelled directly, rather than assumed away.

Applications

  • Illustrative (hypothetical): evaluating a new sepsis management protocol across hospital wards, introduced ward by ward to allow staff training and protocol adjustment before the next ward switches.
  • Illustrative (hypothetical): implementing a community health worker intervention for maternal health across districts, with staggered introduction to allow resource and capacity planning.
  • Illustrative (hypothetical): testing a school-based mental health screening program across 30 schools, introduced in waves of 6 schools to allow administrative adaptation and staff training.
  • Illustrative (hypothetical): assessing a diabetes care management system in primary care practices, with practices switching to the new system on a 3-month rolling schedule.

How it works

How it works

1

Define the number of clusters, the number of time periods (steps), and the randomized schedule that sets when each cluster switches from control to intervention. Specify the primary and secondary outcomes and the covariates to be measured at each time step. Document the implementation procedures and the expected compliance, since these determine how far the switch from control to intervention actually changes exposure.

2

Analyze the data with linear mixed-effects models or generalized estimating equations (GEE), which account for clustering and for repeated measurements within clusters over time. The model typically includes fixed effects for time and for intervention status, and random effects for clusters. The intervention effect is the coefficient on the intervention-status indicator, read as the difference in the adjusted mean outcome between intervention and control periods once time has been accounted for; report it with its confidence interval. Time can be entered as categorical period effects or as a linear trend. The intracluster correlation coefficient is needed for sample size planning and should be estimated from prior data or a pilot study, with its value varied in sensitivity analyses.

3

Test the intervention effect for statistical significance. Subgroup analyses by time period, baseline cluster characteristics, or participant characteristics can be added, but each additional comparison increases the risk of false positive findings and should be labelled as exploratory unless prespecified. Assess whether the intervention effect changes over time by testing a treatment-by-time interaction.

4

Check how well the specified model fits the data, including whether the time trend and the within-cluster correlation structure are adequately modelled. Review protocol adherence and the timing of each switch, since departures from the randomized schedule weaken the comparison. Run sensitivity analyses that vary the assumed intracluster correlation and the assumed missing-data mechanism. Randomization supports the comparability of clusters at baseline, but it does not remove the confounding of intervention with calendar time, which the model must handle.

Common pitfalls

  • Failing to model the clustering and the repeated measures in the analysis, which can inflate the type I error rate.
  • Ignoring calendar time and treating control-period and intervention-period data as directly comparable. Baio and colleagues report that failing to account for a time effect can grossly overestimate the power of a study.
  • Randomizing too few clusters or too few time steps, which leaves the study underpowered for realistic effect sizes.
  • Allowing the randomized switch schedule to be changed based on interim results without adjusting for the resulting multiple looks at the data.
  • Overlooking time-varying cluster-level factors that happen to coincide with the switch to the intervention, since such factors can be confused with the intervention effect.

Frequently asked questions

What is the difference between a stepped wedge design and a standard parallel-group cluster randomized trial?

In a parallel design, clusters are randomized to intervention or control and stay in that group for the whole study. In a stepped wedge design, all clusters eventually receive the intervention, and the randomization determines when each cluster switches. The stepped wedge design makes within-cluster before-and-after comparisons possible. Whether it needs fewer clusters depends on the intracluster correlation: Baio and colleagues report that the stepped wedge design requires fewer clusters when the correlation within clusters is relatively high (for example, greater than 0.1), while for low values the two designs require similar numbers of clusters.

How do I calculate sample size for a stepped wedge trial?

Sample size depends on the number of clusters, the number of time steps, the cluster size, the intracluster correlation coefficient, the length of follow-up periods, and the expected intervention effect. Standard parallel-trial formulas do not capture these features, so use methods that account for clustering and repeated measures. Baio and colleagues (2015) review analytical methods for sample size and power in these trials and propose simulation-based calculations as an alternative to analytical formulae.

What bias can arise from secular trends in a stepped wedge design?

Because clusters switch to the intervention at different times, most of the intervention exposure falls in the later periods. If outcomes improve over calendar time for reasons unrelated to the intervention, the later periods will look better, and the intervention effect will be overstated. Hemming and colleagues note that a result that initially looks like an intervention effect may turn out to reflect an underlying positive temporal trend. The bias is addressed by including time in the model, so that the intervention effect is estimated net of the secular trend; a treatment-by-time interaction can then show whether the effect varies over time.

Can I use a standard t-test or regression to analyze stepped wedge data?

A standard t-test or ordinary regression that treats all observations as independent is not appropriate, because it ignores the clustering and the repeated measurements on the same clusters over time. Doing so ignores the within-cluster correlation and can produce standard errors that are too small, inflating the type I error rate. Mixed-effects models with random intercepts for clusters, or generalized estimating equations (GEE), account for within-cluster correlation and repeated measurements, and the time structure must still be modelled explicitly.

Related methods

Sources

  1. Hemming, K., Haines, T. P., Chilton, P. J., Girling, A. J., & Lilford, R. J. (2015). The stepped wedge cluster randomised trial: rationale, design, analysis, and reporting. British Medical Journal, 350, h391.

    Open DOI reference
  2. Hussey, M. A., & Hughes, J. P. (2007). Design and analysis of stepped wedge cluster randomized trials. Contemporary Clinical Trials, 28(2), 182-191.

    Open DOI reference
  3. Baio, G., Copas, A., Ambler, G., Hargreaves, J., Beard, E., & Omar, R. Z. (2015). Sample size calculation for a stepped wedge trial. Trials, 16(1), 354.

    Open DOI reference