Abstract
Stepped wedge cluster randomized trials (SW-CRTs) have historically been analyzed using immediate treatment (IT) models, which assume the effect of the treatment is immediate after treatment initiation and subsequently remains constant over time. However, recent research has shown that this assumption can lead to severely misleading results if treatment effects vary with exposure time, i.e. time since the intervention started. Models that account for time-varying treatment effects, such as the exposure time indicator (ETI) model, allow researchers to target estimands such as the time-averaged treatment effect (TATE) over an interval of exposure time, or the point treatment effect (PTE) representing a treatment contrast at one time point. However, this increased flexibility results in reduced power. In this paper, we use public power calculation software and simulation to characterize factors affecting SW-CRT power. Key elements include choice of estimand, study design considerations, and analysis model selection. For common SW-CRT designs, the sample size must be increased substantially, commonly by a factor of 1.5 to 3, to maintain 90% power when switching from an IT model to an ETI model. However, the inflation factor is lower for TATE estimands over shorter periods. In general, SW-CRT designs have much greater power for estimating "short-term effects" relative to "long-term effects". For an ETI model targeting a TATE estimand, substantial power can be gained by adding time points to the start of the study or increasing baseline sample size, but surprisingly little power is gained from adding time points to the end of the study.
Introduction
The Stepped Wedge Cluster Randomized Trial (SW-CRT) is a popular design where groups (clusters) cross over from a control to an intervention in a staggered, "phased rollout" fashion. Historically, researchers analyzed these using "Immediate Treatment" (IT) models, which assume the intervention works instantly and stays at the same strength forever.
However, real-world interventions—like lifestyle changes or hospital policy shifts—rarely work that way. They take time to reach full efficacy. If you use an IT model when the effect is actually time-varying, your results will be biased. Researchers have started using more flexible "Exposure Time Indicator" (ETI) models to account for this, but there’s a catch: flexibility isn't free. It costs statistical power. This paper systematically explores what factors (design choices, estimands, and modeling assumptions) determine how much power you lose and how to get it back.
The Stepped Wedge Design
The core of the SW-CRT is the staggered implementation of the intervention. As shown in Figure 1, clusters are randomized to different sequences, each starting the intervention at a different time point.
In this diagram, blue cells (0) represent the control condition, while green cells (1-4) represent the intervention condition, with the number indicating the duration of exposure. This structure highlights why measuring "long-term" effects is difficult: only the earliest sequences reach high exposure times (e.g., Time 4 or 5), leading to sparse data for later time points.
Methodology
The authors employed a dual approach to characterize power:
- Analytical Formulas: They used the
swCRTdesignR package to calculate the Sample Size Ratio (SSR)—the factor by which you must increase your sample to maintain 90% power when switching from a simple IT model to a flexible ETI model. - Simulation: For more complex scenarios, they ran Monte Carlo simulations using the
steppedwedgeandSimEngineR packages.
They compared several models including the standard IT model, the flexible ETI model, the Delayed Constant Treatment (DCT) model (which allows for a "washout" period), and Natural Cubic Splines (NCS) for smoothing treatment effects.
Key Insights
The "Power Tax" is Steep
Switching to a model that accounts for time-varying effects isn't a minor adjustment. In many common scenarios, you need to double or triple your clusters or participants just to stay at the same power level. To maintain 90% power when moving from an IT to an ETI model, the number of clusters often needs to increase by a factor of 1.5 to 2.5.
The Start-of-Study Advantage
One of the most surprising findings is that adding data collection points to the beginning of the study (baseline) significantly boosts power for time-averaged effects. Conversely, adding time points to the end (after everyone has received the treatment) provides almost no benefit. For a six-sequence design, adding a single baseline time point increased power by about 8%; adding three points increased it by 18%. This is because baseline data helps pin down the "cluster random effects," making the treatment-control comparison much cleaner.
Short-term vs. Long-term
SW-CRTs are inherently better at measuring "short-term" effects (what happens right after the switch) than "long-term" effects. Because of the staggered design, very few clusters are observed at high "exposure times," making long-term estimates highly volatile.
Modeling Choices
- Splines for Points, Not Averages: Using Natural Cubic Splines to smooth the treatment effect curve helps significantly if you care about the effect at a specific point in time (Point Treatment Effect). However, if you only care about the average effect over the whole study (TATE), splines offer almost no power advantage over the simpler ETI model.
- The DCT Middle Ground: If researchers can reasonably assume the treatment effect stabilizes after a certain "washout" period, the Delayed Constant Treatment (DCT) model provides a power boost over the ETI model while remaining more robust than the IT model.
Conclusion
The study demonstrates that if a treatment effect is expected to vary with time, researchers must account for a significant reduction in power. Standard power calculators may be insufficient. Key recommendations include planning for larger sample sizes (1.5x to 3x), prioritizing baseline data collection at the start of the study, and considering the DCT model if a stabilization point for the treatment effect can be justified.
Summary updated