A comparison of computational algorithms for the Bayesian analysis of clinical trials.

IF 2.2 3区 医学 Q3 MEDICINE, RESEARCH & EXPERIMENTAL
Clinical Trials Pub Date : 2024-12-01 Epub Date: 2024-05-16 DOI:10.1177/17407745241247334
Ziming Chen, Jeffrey S Berger, Lana A Castellucci, Michael Farkouh, Ewan C Goligher, Erinn M Hade, Beverley J Hunt, Lucy Z Kornblith, Patrick R Lawler, Eric S Leifer, Elizabeth Lorenzi, Matthew D Neal, Ryan Zarychanski, Anna Heath
{"title":"A comparison of computational algorithms for the Bayesian analysis of clinical trials.","authors":"Ziming Chen, Jeffrey S Berger, Lana A Castellucci, Michael Farkouh, Ewan C Goligher, Erinn M Hade, Beverley J Hunt, Lucy Z Kornblith, Patrick R Lawler, Eric S Leifer, Elizabeth Lorenzi, Matthew D Neal, Ryan Zarychanski, Anna Heath","doi":"10.1177/17407745241247334","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Clinical trials are increasingly using Bayesian methods for their design and analysis. Inference in Bayesian trials typically uses simulation-based approaches such as Markov Chain Monte Carlo methods. Markov Chain Monte Carlo has high computational cost and can be complex to implement. The Integrated Nested Laplace Approximations algorithm provides approximate Bayesian inference without the need for computationally complex simulations, making it more efficient than Markov Chain Monte Carlo. The practical properties of Integrated Nested Laplace Approximations compared to Markov Chain Monte Carlo have not been considered for clinical trials. Using data from a published clinical trial, we aim to investigate whether Integrated Nested Laplace Approximations is a feasible and accurate alternative to Markov Chain Monte Carlo and provide practical guidance for trialists interested in Bayesian trial design.</p><p><strong>Methods: </strong>Data from an international Bayesian multi-platform adaptive trial that compared therapeutic-dose anticoagulation with heparin to usual care in non-critically ill patients hospitalized for COVID-19 were used to fit Bayesian hierarchical generalized mixed models. Integrated Nested Laplace Approximations was compared to two Markov Chain Monte Carlo algorithms, implemented in the software JAGS and stan, using packages available in the statistical software R. Seven outcomes were analysed: organ-support free days (an ordinal outcome), five binary outcomes related to survival and length of hospital stay, and a time-to-event outcome. The posterior distributions for the treatment and sex effects and the variances for the hierarchical effects of age, site and time period were obtained. We summarized these posteriors by calculating the mean, standard deviations and the 95% equitailed credible intervals and presenting the results graphically. The computation time for each algorithm was recorded.</p><p><strong>Results: </strong>The average overlap of the 95% credible interval for the treatment and sex effects estimated using Integrated Nested Laplace Approximations was 96% and 97.6% compared with stan, respectively. The graphical posterior densities for these effects overlapped for all three algorithms. The posterior mean for the variance of the hierarchical effects of age, site and time estimated using Integrated Nested Laplace Approximations are within the 95% credible interval estimated using Markov Chain Monte Carlo but the average overlap of the credible interval is lower, 77%, 85.6% and 91.3%, respectively, for Integrated Nested Laplace Approximations compared to stan. Integrated Nested Laplace Approximations and stan were easily implemented in clear, well-established packages in R, while JAGS required the direct specification of the model. Integrated Nested Laplace Approximations was between 85 and 269 times faster than stan and 26 and 1852 times faster than JAGS.</p><p><strong>Conclusion: </strong>Integrated Nested Laplace Approximations could reduce the computational complexity of Bayesian analysis in clinical trials as it is easy to implement in R, substantially faster than Markov Chain Monte Carlo methods implemented in JAGS and stan, and provides near identical approximations to the posterior distributions for the treatment effect. Integrated Nested Laplace Approximations was less accurate when estimating the posterior distribution for the variance of hierarchical effects, particularly for the proportional odds model, and future work should determine if the Integrated Nested Laplace Approximations algorithm can be adjusted to improve this estimation.</p>","PeriodicalId":10685,"journal":{"name":"Clinical Trials","volume":" ","pages":"689-700"},"PeriodicalIF":2.2000,"publicationDate":"2024-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11530324/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Clinical Trials","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1177/17407745241247334","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/5/16 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"MEDICINE, RESEARCH & EXPERIMENTAL","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Clinical trials are increasingly using Bayesian methods for their design and analysis. Inference in Bayesian trials typically uses simulation-based approaches such as Markov Chain Monte Carlo methods. Markov Chain Monte Carlo has high computational cost and can be complex to implement. The Integrated Nested Laplace Approximations algorithm provides approximate Bayesian inference without the need for computationally complex simulations, making it more efficient than Markov Chain Monte Carlo. The practical properties of Integrated Nested Laplace Approximations compared to Markov Chain Monte Carlo have not been considered for clinical trials. Using data from a published clinical trial, we aim to investigate whether Integrated Nested Laplace Approximations is a feasible and accurate alternative to Markov Chain Monte Carlo and provide practical guidance for trialists interested in Bayesian trial design.

Methods: Data from an international Bayesian multi-platform adaptive trial that compared therapeutic-dose anticoagulation with heparin to usual care in non-critically ill patients hospitalized for COVID-19 were used to fit Bayesian hierarchical generalized mixed models. Integrated Nested Laplace Approximations was compared to two Markov Chain Monte Carlo algorithms, implemented in the software JAGS and stan, using packages available in the statistical software R. Seven outcomes were analysed: organ-support free days (an ordinal outcome), five binary outcomes related to survival and length of hospital stay, and a time-to-event outcome. The posterior distributions for the treatment and sex effects and the variances for the hierarchical effects of age, site and time period were obtained. We summarized these posteriors by calculating the mean, standard deviations and the 95% equitailed credible intervals and presenting the results graphically. The computation time for each algorithm was recorded.

Results: The average overlap of the 95% credible interval for the treatment and sex effects estimated using Integrated Nested Laplace Approximations was 96% and 97.6% compared with stan, respectively. The graphical posterior densities for these effects overlapped for all three algorithms. The posterior mean for the variance of the hierarchical effects of age, site and time estimated using Integrated Nested Laplace Approximations are within the 95% credible interval estimated using Markov Chain Monte Carlo but the average overlap of the credible interval is lower, 77%, 85.6% and 91.3%, respectively, for Integrated Nested Laplace Approximations compared to stan. Integrated Nested Laplace Approximations and stan were easily implemented in clear, well-established packages in R, while JAGS required the direct specification of the model. Integrated Nested Laplace Approximations was between 85 and 269 times faster than stan and 26 and 1852 times faster than JAGS.

Conclusion: Integrated Nested Laplace Approximations could reduce the computational complexity of Bayesian analysis in clinical trials as it is easy to implement in R, substantially faster than Markov Chain Monte Carlo methods implemented in JAGS and stan, and provides near identical approximations to the posterior distributions for the treatment effect. Integrated Nested Laplace Approximations was less accurate when estimating the posterior distribution for the variance of hierarchical effects, particularly for the proportional odds model, and future work should determine if the Integrated Nested Laplace Approximations algorithm can be adjusted to improve this estimation.

临床试验贝叶斯分析计算算法比较。
背景:临床试验越来越多地使用贝叶斯方法进行设计和分析。贝叶斯试验推断通常使用基于模拟的方法,如马尔可夫链蒙特卡罗方法。马尔可夫链蒙特卡洛的计算成本很高,实施起来也很复杂。集成嵌套拉普拉斯逼近算法提供了近似贝叶斯推断,无需复杂的模拟计算,因此比马尔可夫链蒙特卡罗法更有效。与马尔可夫链蒙特卡洛相比,集成嵌套拉普拉斯逼近算法的实际特性尚未考虑用于临床试验。利用已发表的临床试验数据,我们旨在研究集成嵌套拉普拉斯逼近法是否是马尔可夫链蒙特卡罗的可行且准确的替代方法,并为对贝叶斯试验设计感兴趣的试验人员提供实用指导:一项国际贝叶斯多平台适应性试验对COVID-19住院非危重病人的肝素治疗剂量抗凝与常规护理进行了比较,试验数据被用来拟合贝叶斯分层广义混合模型。分析了七种结果:无器官支持天数(一种序数结果)、五种与生存和住院时间相关的二元结果以及一种时间到事件结果。我们获得了治疗效应和性别效应的后验分布,以及年龄、发病部位和时间段等分层效应的方差。我们通过计算平均值、标准差和 95% 的等效可信区间对这些后验进行了总结,并以图表的形式展示了结果。我们还记录了每种算法的计算时间:结果:使用整合嵌套拉普拉斯逼近法估计的治疗效应和性别效应的 95% 可信区间的平均重叠率分别为 96% 和 97.6%。所有三种算法对这些效应的图形后验密度都有重叠。使用综合嵌套拉普拉斯逼近法估计的年龄、地点和时间分层效应方差的后验均值在使用马尔可夫链蒙特卡罗估计的 95% 可信区间内,但与 stan 相比,综合嵌套拉普拉斯逼近法可信区间的平均重叠率较低,分别为 77%、85.6% 和 91.3%。集成嵌套拉普拉斯逼近法和 stan 很容易用 R 中清晰、成熟的软件包实现,而 JAGS 则需要直接指定模型。集成嵌套拉普拉斯近似法比 stan 快 85 到 269 倍,比 JAGS 快 26 到 1852 倍:集成嵌套拉普拉斯逼近法可以降低临床试验中贝叶斯分析的计算复杂度,因为它很容易在 R 中实现,比 JAGS 和 stan 中实现的马尔可夫链蒙特卡罗方法快得多,而且对治疗效果的后验分布提供了几乎相同的近似值。集成嵌套拉普拉斯近似法在估计分层效应方差的后验分布时不太准确,特别是在比例几率模型中,未来的工作应确定是否可以调整集成嵌套拉普拉斯近似法算法以改进这种估计。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Clinical Trials
Clinical Trials 医学-医学:研究与实验
CiteScore
4.10
自引率
3.70%
发文量
82
审稿时长
6-12 weeks
期刊介绍: Clinical Trials is dedicated to advancing knowledge on the design and conduct of clinical trials related research methodologies. Covering the design, conduct, analysis, synthesis and evaluation of key methodologies, the journal remains on the cusp of the latest topics, including ethics, regulation and policy impact.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信