Skip to content

CausalState

0.10.2

Causal Inference in a Longitudinal Transitioning State Environment

0packages depend
downloads / year
70.9%test coverage
checks pass

Overview

About
Maintained by Sebastiaan BlankFirst published 2026-08-241 releasesCRAN page ↗

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 checks

CRAN check results are not tracked yet.

Code health
Yes
Tests · ratio 0.11
70.9%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct

Documentation

Documentation
READMEYes · 807 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
57%
Documented parameters
99%
Return-value docs
100%
References docs
31%

Downloads

CausalState
Daily download trend is not available in this view yet.

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (1)
no longer listed · 0.10.2
Package Timeline

1 release. R releases are shown for context.

  • 0.10.2Latest
    2026-08-24 · current release
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CausalState version 0.10.2 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy