CausalGPS:一个用于连续暴露因果推断的 R 包
CausalGPS: An R Package for Causal Inference With Continuous Exposures
AI总结:
本文介绍 CausalGPS R 包,其以广义倾向得分为核心,支持连续暴露下的 GPS 估计、加权或匹配去混杂及暴露-反应函数估计,并用 PM2.5 与教育成就数据示范应用。
摘要:
量化连续暴露对感兴趣结局的因果效应,对于社会、经济、健康和医学研究至关重要。然而,大多数现有软件包主要关注二分类暴露。我们开发了 CausalGPS R 包,该包实现了一组算法,旨在为连续暴露的因果推断提供算法化解决方案。CausalGPS 实现了一套因果推断工作流,以基于广义倾向得分(GPS)的算法为核心,将倾向得分(即在给定暴露前协变量的情况下,一个单元接受暴露的概率)从二分类暴露扩展到连续暴露。第一步,该包实现了高效且灵活的 GPS 估计,允许用户指定多种建模选项。第二步,该包提供两种混杂调整方式:加权和匹配,并分别生成加权数据集和匹配数据集。最后,该包提供内置函数,用于在加权或匹配数据上拟合灵活的参数、半参数或非参数回归模型,以估计将结局与暴露联系起来的暴露-反应函数。计算密集型任务使用 C++ 实现,并通过 OpenMP API 实现高效的共享内存并行化。本文概述了 CausalGPS R 包的主要组成部分,并展示了其在评估长期 PM2.5 暴露对教育成就影响方面的应用;该应用使用了 2000—2016 年美国本土邮政编码层级的数据。
英文摘要:
Quantifying the causal effects of continuous exposures on outcomes of interest is critical for social, economic, health, and medical research. However, most existing software packages focus on binary exposures. We develop the CausalGPS R package that implements a collection of algorithms to provide algorithmic solutions for causal inference with continuous exposures. CausalGPS implements a causal inference workflow, with algorithms based on generalized propensity scores (GPS) as the core, extending propensity scores (the probability of a unit being exposed given pre-exposure covariates) from binary to continuous exposures. As the first step, the package implements efficient and flexible estimations of the GPS, allowing multiple user-specified modeling options. As the second step, the package provides two ways to adjust for confounding: weighting and matching, generating weighted and matched data sets, respectively. Lastly, the package provides built-in functions to fit flexible parametric, semi-parametric, or non-parametric regression models on the weighted or matched data to estimate the exposure-response function relating the outcome with the exposures. The computationally intensive tasks are implemented in C++, and efficient shared-memory parallelization is achieved by OpenMP API. This paper outlines the main components of the CausalGPS R package and demonstrates its application to assess the effect of long-term exposure to PM2.5 on educational attainment using zip code-level data from the contiguous United States from 2000-2016.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。