flexCausal: Causal Effect Estimation via Doubly Robust One-Step Estimators and TMLE in Graphical Models with Unmeasured Variables

Provides doubly robust one-step and targeted maximum likelihood (TMLE) estimators for average causal effects in acyclic directed mixed graphs (ADMGs) with unmeasured variables. Automatically determines whether the treatment effect is identified via backdoor adjustment or the extended front-door functional, and dispatches to the appropriate estimator. Supports incorporation of machine learning algorithms via 'SuperLearner' and cross-fitting for nuisance estimation. Methods are described in Guo and Nabi (2024) <doi:10.48550/arXiv.2409.03962>.

Package details

AuthorAnna Guo [aut, cre] (GitHub: https://github.com/annaguo-bios), Razieh Nabi [aut]
MaintainerAnna Guo <guo.anna617@gmail.com>
LicenseGPL-3
Version0.1.0
URL https://github.com/annaguo-bios/flexCausal
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("flexCausal")

Try the flexCausal package in your browser

Any scripts or data that you put into this service are public.

flexCausal documentation built on March 29, 2026, 5:08 p.m.