Literature DB >> 34818620

swdpwr: A SAS macro and an R package for power calculations in stepped wedge cluster randomized trials.

Jiachen Chen1, Xin Zhou2, Fan Li3, Donna Spiegelman4.   

Abstract

BACKGROUND AND
OBJECTIVE: The stepped wedge cluster randomized trial is a study design increasingly used in a wide variety of settings, including public health intervention evaluations, clinical and health service research. Previous studies presenting power calculation methods for stepped wedge designs have focused on continuous outcomes and relied on normal approximations for binary outcomes. These approximations for binary outcomes may or may not be accurate, depending on whether or not the normal approximation to the binomial distribution is reasonable. Although not always accurate, such approximation methods have been widely used for binary outcomes. To improve the approximations 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, an R package swdpwr and a Shiny app for power calculations in SWDs. Different scenarios including cross-sectional and cohort designs, binary and continuous outcomes, marginal and conditional models, three link functions, with and without time effects under exchangeable, nested exchangeable and block exchangeable correlation structures are accommodated in this software. Unequal numbers of clusters per sequence are also allowed. Power calculations for a closed cohort employ a block exchangeable within-cluster correlation structure that accounts for three intracluster (intraclass) correlations: the within-period, between-period, and within-individual correlations. Cross-sectional cohorts allow for nested exchangeable or exchangeable correlation structures defined by the within-period and the between-period intracluster correlations only. Our software assumes a complete design and equal cluster-period sizes. While the methods accommodate correlation structures of constant within-period intracluster correlation coefficient (ICC) as well as a different within- and between-period ICC, it does not allow the between-period ICC to decay.
RESULTS: swdpwr provides an efficient tool to support investigators in the design and analysis of stepped wedge cluster randomized trials. swdpwr addresses the implementation gap between newly proposed methodology and their application to obtain more accurate power calculations in SWDs.
CONCLUSIONS: In an effort to make computationally efficient (and non-simulation-based) power methods under both the cross-sectional and closed-cohort designs for continuous and binary outcomes more accessible, we have developed this user-friendly software. swdpwr is implemented under two platforms: SAS and R, satisfying the needs of investigators from various backgrounds. Additionally, the Shiny app enables users who are not able to use SAS or R to implement these methods online straightforwardly.
Copyright © 2021 Elsevier B.V. All rights reserved.

Entities:  

Keywords:  Cohort designs; Correlation structure; Cross-sectional designs; Generalized estimating equations; Generalized linear mixed models; R shiny; Sample size estimation

Mesh:

Year:  2021        PMID: 34818620      PMCID: PMC8665077          DOI: 10.1016/j.cmpb.2021.106522

Source DB:  PubMed          Journal:  Comput Methods Programs Biomed        ISSN: 0169-2607            Impact factor:   5.428


  27 in total

1.  Estimating intraclass correlation for binary data.

Authors:  M S Ridout; C G Demétrio; D Firth
Journal:  Biometrics       Date:  1999-03       Impact factor: 2.571

2.  A note on "Design and analysis of stepped wedge cluster randomized trials".

Authors:  Xiaomei Liao; Xin Zhou; Donna Spiegelman
Journal:  Contemp Clin Trials       Date:  2015-09-21       Impact factor: 2.226

3.  CRTpowerdist: An R package to calculate attained power and construct the power distribution for cross-sectional stepped-wedge and parallel cluster randomized trials.

Authors:  Yongdong Ouyang; Liang Xu; Mohammad Ehsanul Karim; Paul Gustafson; Hubert Wong
Journal:  Comput Methods Programs Biomed       Date:  2021-06-25       Impact factor: 5.428

4.  Sample size determination for GEE analyses of stepped wedge cluster randomized trials.

Authors:  Fan Li; Elizabeth L Turner; John S Preisser
Journal:  Biometrics       Date:  2018-06-19       Impact factor: 2.571

Review 5.  Current issues in the design and analysis of stepped wedge trials.

Authors:  James P Hughes; Tanya S Granston; Patrick J Heagerty
Journal:  Contemp Clin Trials       Date:  2015-08-03       Impact factor: 2.226

6.  Stepped-wedge cluster randomised controlled trials: a generic framework including parallel and multiple-level designs.

Authors:  Karla Hemming; Richard Lilford; Alan J Girling
Journal:  Stat Med       Date:  2014-10-24       Impact factor: 2.373

7.  Introducing the new CONSORT extension for stepped-wedge cluster randomised trials.

Authors:  Karla Hemming; Monica Taljaard; Jeremy Grimshaw
Journal:  Trials       Date:  2019-01-18       Impact factor: 2.279

Review 8.  Sample size calculation for a stepped wedge trial.

Authors:  Gianluca Baio; Andrew Copas; Gareth Ambler; James Hargreaves; Emma Beard; Rumana Z Omar
Journal:  Trials       Date:  2015-08-17       Impact factor: 2.279

9.  Intra-cluster and inter-period correlation coefficients for cross-sectional cluster randomised controlled trials for type-2 diabetes in UK primary care.

Authors:  James Martin; Alan Girling; Krishnarajah Nirantharakumar; Ronan Ryan; Tom Marshall; Karla Hemming
Journal:  Trials       Date:  2016-08-15       Impact factor: 2.279

10.  A tutorial on sample size calculation for multiple-period cluster randomized parallel, cross-over and stepped-wedge trials using the Shiny CRT Calculator.

Authors:  Karla Hemming; Jessica Kasza; Richard Hooper; Andrew Forbes; Monica Taljaard
Journal:  Int J Epidemiol       Date:  2020-06-01       Impact factor: 7.196

View more
  2 in total

Review 1.  Stepped Wedge Cluster Randomized Trials: A Methodological Overview.

Authors:  Fan Li; Rui Wang
Journal:  World Neurosurg       Date:  2022-05       Impact factor: 2.210

2.  The batched stepped wedge design: A design robust to delays in cluster recruitment.

Authors:  Jessica Kasza; Rhys Bowden; Richard Hooper; Andrew B Forbes
Journal:  Stat Med       Date:  2022-05-21       Impact factor: 2.497

  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.