arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.12358stat.MEstat.AP
收藏

causalBETA:一个用于事件时间结果贝叶斯半参数因果推断的 R 包

causalBETA: An R Package for Bayesian Semiparametric Causal Inference with Event-Time Outcomes

Han Ji, Arman Oganisian

AI总结:

本文开发了开源 R 包 causalBETA,通过贝叶斯半参数模型估计事件时间结果的因果效应,后端连接 Stan 进行高效计算,前端语法兼容 survival 包,并提供可视化与总结功能,填补了用户友好型贝叶斯因果推断软件的空白。

摘要:

观察性研究通常用于估计治疗或暴露对事件时间结果的因果效应。由于观察性研究中治疗未随机化,因此需要因果推断技术来调整混杂。贝叶斯因果估计方法备受青睐,因为它们提供:1)先验平滑为因果效应估计提供有用的正则化;2)对模型误设具有鲁棒性的灵活模型;3)对因果 estimands 的完全推断(即点估计和不确定性估计)。然而,贝叶斯因果推断难以手动实现,且缺乏用户友好的软件,这构成了广泛应用的重大障碍。我们通过开发 causalBETA(Bayesian Event Time Analysis)来解决这一差距——这是一个开源 R 包,用于使用贝叶斯半参数模型估计事件时间结果的因果效应。该包为用户提供熟悉的前端,其语法与 survival 等现有生存分析 R 包完全相同。同时,其后端连接到 Stan——一个用于贝叶斯建模和高性能统计计算的流行平台——以实现高效的后验计算。为改善用户体验,该包使用定制的 S3 类对象和方法构建,以促进使用熟悉的通用函数如 plot() 和 summary() 来可视化和总结结果。在本文中,我们提供了该包的方法学细节、使用公开数据的演示以及计算指导。

英文摘要:

Observational studies are often conducted to estimate causal effects of treatments or exposures on event-time outcomes. Since treatments are not randomized in observational studies, techniques from causal inference are required to adjust for confounding. Bayesian approaches to causal estimates are desirable because they provide 1) prior smoothing provides useful regularization of causal effect estimates, 2) flexible models that are robust to misspecification, 3) full inference (i.e. both point and uncertainty estimates) for causal estimands. However, Bayesian causal inference is difficult to implement manually and there is a lack of user-friendly software, presenting a significant barrier to wide-spread use. We address this gap by developing causalBETA (Bayesian Event Time Analysis) - an open-source R package for estimating causal effects on event-time outcomes using Bayesian semiparametric models. The package provides a familiar front-end to users, with syntax identical to existing survival analysis R packages such as survival. At the same time, it back-ends to Stan - a popular platform for Bayesian modeling and high performance statistical computing - for efficient posterior computation. To improve user experience, the package is built using customized S3 class objects and methods to facilitate visualizations and summaries of results using familiar generic functions like plot() and summary(). In this paper, we provide the methodological details of the package, a demonstration using publicly-available data, and computational guidance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑