swdpwr: A SAS Macro and An R Package for Power Calculation in Stepped Wedge Cluster Randomized Trials
Jiachen Chen, Xin Zhou, Fan Li, Donna Spiegelman

TL;DR
This paper introduces swdpwr, a software package in SAS and R that enables accurate power calculations for stepped wedge cluster randomized trials with both continuous and binary outcomes, accommodating various study designs.
Contribution
It provides the first publicly available implementation of recent advanced methods for power calculation in SWDs, supporting diverse study scenarios.
Findings
Supports various designs including cross-sectional and cohort
Handles binary and continuous outcomes with multiple models
Facilitates more accurate power calculations for SWDs
Abstract
Background and objective: The stepped wedge cluster randomized trial is a study design increasingly used for public health intervention evaluations. Most previous literature focuses on power calculations for this particular type of cluster randomized trials for continuous outcomes, along with an approximation to this approach for binary outcomes. Although not accurate for binary outcomes, it has been widely used. To improve the approximation for binary outcomes, two new methods for stepped wedge designs (SWDs) of binary outcomes have recently been published. However, these new methods have not been implemented in publicly available software. The objective of this paper is to present power calculation software for SWDs in various settings for both continuous and binary outcomes. Methods: We have developed a SAS macro %swdpwr and an R package swdpwr for power calculation in SWDs.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStatistical Methods and Bayesian Inference · Statistical Methods in Clinical Trials · Advanced Causal Inference Techniques
