CausalState
0.10.2Causal Inference in a Longitudinal Transitioning State Environment
Overview
Implements Sequential Doubly Robust (SDR) and infinite-dimensional Targeted Maximum Likelihood (iTMLE) estimators for longitudinal modified treatment policies in settings with transitioning states, such as ICU, ward, or emergency department care episodes. Treatment is permitted in active states and becomes structurally inapplicable after a state transition (e.g. discharge or death). Supports asymmetric g- and Q-model regularisation, k-fold cross-fitting, and pluggable SuperLearner ensembles. Includes specialised SuperLearner wrappers (SL.tgt.* and SL.tmle_* families) for the iTMLE targeting step, which pass the logit offset as a covariate column to preserve correct subsetting during SuperLearner cross-validation. Methods based on Diaz et al. (2021) doi:10.1080/01621459.2021.1955691 and Luedtke et al. (2017) doi:10.48550/arXiv.1705.02459.
Install
Health
CRAN check results are not tracked yet.
Documentation
- Examples that run
- 57%
- Documented parameters
- 99%
- Return-value docs
- 100%
- References docs
- 31%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
Author records are not tracked yet for this package.
1 release. R releases are shown for context.
- 0.10.2Latest2026-08-24 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-08-24
- Total releases
- 1 / 1 yrs
- License
- AGPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 169 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("CausalState")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.