Department of Medical Statistics, London School of Hygiene and Tropical Medicine, London, UK.
MRC Clinical Trials Unit at UCL, University College London, London, UK.
BMC Med Res Methodol. 2023 Nov 21;23(1):274. doi: 10.1186/s12874-023-02093-2.
For certain conditions, treatments aim to lessen deterioration over time. A trial outcome could be change in a continuous measure, analysed using a random slopes model with a different slope in each treatment group. A sample size for a trial with a particular schedule of visits (e.g. annually for three years) can be obtained using a two-stage process. First, relevant (co-) variances are estimated from a pre-existing dataset e.g. an observational study conducted in a similar setting. Second, standard formulae are used to calculate sample size. However, the random slopes model assumes linear trajectories with any difference in group means increasing proportionally to follow-up time. The impact of these assumptions failing is unclear.
We used simulation to assess the impact of a non-linear trajectory and/or non-proportional treatment effect on the proposed trial's power. We used four trajectories, both linear and non-linear, and simulated observational studies to calculate sample sizes. Trials of this size were then simulated, with treatment effects proportional or non-proportional to time.
For a proportional treatment effect and a trial visit schedule matching the observational study, powers are close to nominal even for non-linear trajectories. However, if the schedule does not match the observational study, powers can be above or below nominal levels, with the extent of this depending on parameters such as the residual error variance. For a non-proportional treatment effect, using a random slopes model can lead to powers far from nominal levels.
If trajectories are suspected to be non-linear, observational data used to inform power calculations should have the same visit schedule as the proposed trial where possible. Additionally, if the treatment effect is expected to be non-proportional, the random slopes model should not be used. A model allowing trajectories to vary freely over time could be used instead, either as a second line analysis method (bearing in mind that power will be lost) or when powering the trial.
对于某些病症,治疗旨在减缓随时间的恶化。试验结果可能是连续测量的变化,使用随机斜率模型在每个治疗组中具有不同的斜率进行分析。对于具有特定访问计划(例如,每年三年)的试验,可以使用两阶段过程获得样本量。首先,从预存在的数据集(例如在类似环境中进行的观察性研究)中估计相关(协)方差。其次,使用标准公式计算样本量。但是,随机斜率模型假设线性轨迹,组均值之间的任何差异都随随访时间成比例增加。这些假设失败的影响尚不清楚。
我们使用模拟来评估非线性轨迹和/或不成比例的治疗效果对拟议试验功效的影响。我们使用了四种轨迹,包括线性和非线性,模拟了观察性研究以计算样本量。然后模拟了这种大小的试验,治疗效果与时间成比例或不成比例。
对于成比例的治疗效果和与观察性研究相匹配的试验访问计划,即使对于非线性轨迹,功效也接近名义值。但是,如果计划与观察性研究不匹配,则功效可能高于或低于名义水平,其程度取决于残差方差等参数。对于不成比例的治疗效果,使用随机斜率模型可能导致功效远低于名义水平。
如果怀疑轨迹是非线性的,则用于提供功效计算的观察数据应尽可能与拟议的试验具有相同的访问计划。此外,如果预期治疗效果不成比例,则不应使用随机斜率模型。可以使用允许轨迹随时间自由变化的模型代替,例如作为二线分析方法(请记住,将失去功效),或者在试验中进行功率计算时使用。