Nash Stephen, Morgan Katy E, Frost Chris, Mulick Amy
Department of Infectious Disease Epidemiology London School of Hygiene and Tropical Medicine London, UK.
Department of Medical Statistics London School of Hygiene and Tropical Medicine London, UK.
Stata J. 2021 Sep;21(3):575-601. doi: 10.1177/1536867X211045512. Epub 2021 Oct 4.
Trials of interventions that aim to slow disease progression may analyze a continuous outcome by comparing its change over time-its slope-between the treated and the untreated group using a linear mixed model. To perform a sample-size calculation for such a trial, one must have estimates of the parameters that govern the between- and within-subject variability in the outcome, which are often unknown. The algebra needed for the sample-size calculation can also be complex for such trial designs. We have written a new user-friendly command, slopepower, that performs sample-size or power calculations for trials that compare slope outcomes. The package is based on linear mixed-model methodology, described for this setting by Frost, Kenward, and Fox (2008, Statistics in Medicine 27: 3717-3731). In the first stage of this approach, slopepower obtains estimates of mean slopes together with variances and covariances from a linear mixed model fit to previously collected user-supplied data. In the second stage, these estimates are combined with user input about the target effectiveness of the treatment and design of the future trial to give an estimate of either a sample size or a statistical power. In this article, we present the slopepower command, briefly explain the methodology behind it, and demonstrate how it can be used to help plan a trial and compare the sample sizes needed for different trial designs.
旨在减缓疾病进展的干预措施试验,可通过使用线性混合模型比较治疗组和未治疗组之间随时间变化的连续结果(即其斜率)来进行分析。要对这样的试验进行样本量计算,必须对控制结果中受试者间和受试者内变异性的参数进行估计,而这些参数往往是未知的。对于此类试验设计,样本量计算所需的代数运算也可能很复杂。我们编写了一个新的用户友好型命令slopepower,用于对比较斜率结果的试验进行样本量或效能计算。该软件包基于线性混合模型方法,Frost、Kenward和Fox(2008年,《医学统计学》27:3717 - 3731)对此进行了描述。在这种方法的第一阶段,slopepower从拟合先前收集的用户提供数据的线性混合模型中获得平均斜率估计值以及方差和协方差。在第二阶段,将这些估计值与用户关于治疗目标有效性和未来试验设计的输入相结合,以给出样本量或统计效能的估计值。在本文中,我们展示了slopepower命令,简要解释了其背后的方法,并演示了如何使用它来帮助规划试验以及比较不同试验设计所需的样本量。