{"title":"rdborrow: an R package for causal inference incorporating external controls in randomized controlled trials with longitudinal outcomes.","authors":"Lei Shi, Herbert Pang, Chen Chen, Jiawen Zhu","doi":"10.1080/10543406.2025.2489283","DOIUrl":null,"url":null,"abstract":"<p><p>Randomized controlled trials (RCTs) are considered the gold standard for treatment effect evaluation in clinical development. However, designing and analyzing RCTs poses many challenges such as how to ensure the validity and improve the power for hypothesis testing with a limited sample size or how to account for a crossover in treatment allocation. One promising approach to circumvent these problems is to incorporate external controls from additional data sources. This manuscript introduces a new R package called <b>rdborrow</b>, which implements several external control borrowing methods under a causal inference framework to facilitate the design and analysis of clinical trials with longitudinal outcomes. More concretely, our package provides an Analysis module, which implements the weighting methods proposed in Zhou et al. (2024), as well as the difference-in-differences and synthetic control methods proposed in Zhou et al. (2024) for external control borrowing. Meanwhile, our package features a Simulation module which can be used to simulate trial data for study design implementation, evaluate the performance of different estimators, and conduct power analysis. In reproducible code examples, we generate simulated data sets mimicking the real data and illustrate the process users can follow to conduct simulation and analysis based on the proposed causal inference methods for randomized controlled trial data incorporating external control data.</p>","PeriodicalId":54870,"journal":{"name":"Journal of Biopharmaceutical Statistics","volume":" ","pages":"1-24"},"PeriodicalIF":1.2000,"publicationDate":"2025-04-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Biopharmaceutical Statistics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1080/10543406.2025.2489283","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"PHARMACOLOGY & PHARMACY","Score":null,"Total":0}
引用次数: 0
Abstract
Randomized controlled trials (RCTs) are considered the gold standard for treatment effect evaluation in clinical development. However, designing and analyzing RCTs poses many challenges such as how to ensure the validity and improve the power for hypothesis testing with a limited sample size or how to account for a crossover in treatment allocation. One promising approach to circumvent these problems is to incorporate external controls from additional data sources. This manuscript introduces a new R package called rdborrow, which implements several external control borrowing methods under a causal inference framework to facilitate the design and analysis of clinical trials with longitudinal outcomes. More concretely, our package provides an Analysis module, which implements the weighting methods proposed in Zhou et al. (2024), as well as the difference-in-differences and synthetic control methods proposed in Zhou et al. (2024) for external control borrowing. Meanwhile, our package features a Simulation module which can be used to simulate trial data for study design implementation, evaluate the performance of different estimators, and conduct power analysis. In reproducible code examples, we generate simulated data sets mimicking the real data and illustrate the process users can follow to conduct simulation and analysis based on the proposed causal inference methods for randomized controlled trial data incorporating external control data.
随机对照试验(RCTs)被认为是临床开发中评价治疗效果的金标准。然而,设计和分析随机对照试验提出了许多挑战,例如如何在有限的样本量下确保有效性并提高假设检验的能力,或者如何解释治疗分配中的交叉。规避这些问题的一个有希望的方法是合并来自其他数据源的外部控制。本文介绍了一个名为rdborrow的新R软件包,它在因果推理框架下实现了几种外部对照借用方法,以促进具有纵向结果的临床试验的设计和分析。更具体地说,我们的软件包提供了一个Analysis模块,该模块实现了Zhou et al.(2024)提出的加权方法,以及Zhou et al.(2024)提出的差分中的差分和综合控制方法,用于外部控制借用。同时,我们的软件包具有仿真模块,可用于模拟研究设计实施的试验数据,评估不同估计器的性能,并进行功率分析。在可重复的代码示例中,我们生成了模拟真实数据的模拟数据集,并说明了用户可以遵循的过程,该过程基于所提出的包含外部控制数据的随机对照试验数据的因果推理方法进行模拟和分析。
期刊介绍:
The Journal of Biopharmaceutical Statistics, a rapid publication journal, discusses quality applications of statistics in biopharmaceutical research and development. Now publishing six times per year, it includes expositions of statistical methodology with immediate applicability to biopharmaceutical research in the form of full-length and short manuscripts, review articles, selected/invited conference papers, short articles, and letters to the editor. Addressing timely and provocative topics important to the biostatistical profession, the journal covers:
Drug, device, and biological research and development;
Drug screening and drug design;
Assessment of pharmacological activity;
Pharmaceutical formulation and scale-up;
Preclinical safety assessment;
Bioavailability, bioequivalence, and pharmacokinetics;
Phase, I, II, and III clinical development including complex innovative designs;
Premarket approval assessment of clinical safety;
Postmarketing surveillance;
Big data and artificial intelligence and applications.