The causalimages R package enables causal inference with image and image sequence data, providing new tools for integrating novel data sources like satellite and bio-medical imagery into the study of cause and effect. One set of functions enables image-based causal inference analyses. For example, one key function decomposes treatment effect heterogeneity by images using an interpretable Bayesian framework. This allows for determining which types of images or image sequences are most responsive to interventions. A second modeling function allows researchers to control for confounding using images. The package also allows investigators to produce embeddings that serve as vector summaries of the image or video content. Finally, infrastructural functions are also provided, such as tools for writing large-scale image and image sequence data as sequentialized byte strings for more rapid image analysis. causalimages therefore opens new capabilities for causal inference in R, letting researchers use informative imagery in substantive analyses in a fast and accessible manner.
翻译:causalimages R包支持利用图像和图像序列数据进行因果推断,为将卫星图像和生物医学图像等新型数据源整合到因果关系研究中提供了新工具。其中一组函数可实现基于图像的因果推断分析。例如,一个核心函数利用可解释的贝叶斯框架按图像分解处理效应异质性,从而确定哪些类型的图像或图像序列对干预措施最敏感;第二个建模函数允许研究人员利用图像控制混杂因素。该包还支持生成嵌入向量作为图像或视频内容的摘要表示。此外,它还提供基础设施功能(如将大规模图像和图像序列数据序列化为字节字符串以加速图像分析的工具)。causalimages因此为R环境中的因果推断开辟了新能力,使研究人员能够快速、便捷地在实质性分析中利用信息丰富的图像数据。