Department of Biostatistics, University of Washington, Box 357232, Seattle, WA 98195, United States.
Department of Statistics, University of California, Irvine, Irvine, CA 92697, United States.
Comput Methods Programs Biomed. 2020 Nov;196:105514. doi: 10.1016/j.cmpb.2020.105514. Epub 2020 May 21.
Stepped wedge trials (SWTs) are a type of cluster-randomized trial that are commonly used to evaluate health care interventions. Most SWT-related software packages have restrictive assumptions about the study design and correlation structure of the data. The objective of this paper is to present a package and corresponding web-based graphical user interface (GUI) that provide researchers with another, more flexible option for SWT design and analysis.
We developed an Rpackage swCRTdesign ('stepped wedge Cluster Randomized Trial design'), which uses a random effects model to account for correlation in the data induced by a SWT design. Possible sources of correlation include clusters, time within clusters, and treatment within clusters.
swCRTdesign allows a user to calculate power, simulate SWT data to streamline simulation studies (e.g. to estimate power), and create descriptive summaries and plots. Additionally, a GUI, developed using shiny, is available to calculate power and create power curves and design plots.
The swCRTdesign package accommodates a wide variety of SWT designs, and makes it easy to account for some sources of correlation which are not found in other packages. The user-friendly web-based GUI makes some swCRTdesign features accessible to researchers not familiar with R. These two resources will make appropriately complex SWT calculations more accessible to scientists from a wide variety of backgrounds.
阶梯式随机临床试验(SWT)是一种常用于评估医疗干预措施的群组随机临床试验。大多数与 SWT 相关的软件包对研究设计和数据相关性结构都有严格的假设。本文旨在介绍一个软件包和相应的基于网络的图形用户界面(GUI),为研究人员提供另一种更灵活的 SWT 设计和分析选择。
我们开发了一个 R 包 swCRTdesign(“阶梯式群组随机试验设计”),该包使用随机效应模型来解释 SWT 设计引起的数据相关性。相关性的可能来源包括群组、群组内的时间和群组内的治疗。
swCRTdesign 允许用户计算功效,模拟 SWT 数据以简化模拟研究(例如估计功效),并创建描述性摘要和图。此外,还提供了一个使用 shiny 开发的 GUI,用于计算功效和创建功效曲线和设计图。
swCRTdesign 软件包可适应各种 SWT 设计,并且很容易解释其他软件包中未发现的一些相关性来源。用户友好的基于网络的 GUI 使不熟悉 R 的研究人员能够使用某些 swCRTdesign 功能。这两个资源将使来自各种背景的科学家更容易进行适当复杂的 SWT 计算。