PStrata:一个用于主分层(Principal Stratification)的R包
PStrata: An R Package for Principal Stratification
AI总结:
针对因果推断中治疗后混杂导致主分层分析门槛高的问题,开发了R包PStrata,支持贝叶斯与频率学派范式,可处理多种常见结局与数据结构,实现了主分层统计分析的自动化。
摘要:
治疗后混杂是因果推断中的常见问题,包括不依从、截断死亡、替代终点等特殊情形。主分层(Frangakis和Rubin 2002)是在存在治疗后混杂时定义和估计因果效应的一般框架。一个突出的特例是针对随机实验中不依从现象的工具变量方法(Angrist、Imbens和Rubin 1996)。尽管主分层具有多功能性,但绝大多数应用研究者难以使用它,因为其固有的潜在混合结构需要复杂的推断工具和高度定制化的编程。我们开发了R包PStrata,以自动化实现几种常见情形下主分层的统计分析。PStrata同时支持贝叶斯和频率学派范式。在贝叶斯范式下,计算架构结合了R、C++和Stan,其中R提供用户界面,Stan自动化后验抽样,C++通过自动生成Stan代码在两者间起桥梁作用。在频率学派范式下,PStrata实现了一个三重稳健加权估计器。PStrata能够处理非结构化数据和聚类数据下的常规结局以及至事件发生时间结局。
英文摘要:
Post-treatment confounding is a common problem in causal inference, including special cases of noncompliance, truncation by death, surrogate endpoint, etc. Principal stratification (Frangakis and Rubin 2002) is a general framework for defining and estimating causal effects in the presence of post-treatment confounding. A prominent special case is the instrumental variable approach to noncompliance in randomized experiments (Angrist, Imbens, and Rubin 1996). Despite its versatility, principal stratification is not accessible to the vast majority of applied researchers because its inherent latent mixture structure requires complex inference tools and highly customized programming. We develop the R package PStrata to automatize statistical analysis of principal stratification for several common scenarios. PStrata supports both Bayesian and frequentist paradigms. For the Bayesian paradigm, the computing architecture combines R, C++, Stan, where R provides user-interface, Stan automatizes posterior sampling, and C++ bridges the two by automatically generating Stan code. For the Frequentist paradigm, PStrata implements a triply-robust weighting estimator. PStrata accommodates regular outcomes and time-to-event outcomes with both unstructured and clustered data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。