Flexible and General Mediation Analysis Using Riesz Representers
Overview
Implements a modern, unified estimation strategy for common mediation estimands (natural effects, organic effects, interventional effects, and recanting twins) in combination with modified treatment policies as described in Liu, Williams, Rudolph, and Díaz (2024) doi:10.48550/arXiv.2408.14620. Estimation makes use of recent advancements in Riesz-learning to estimate a set of required nuisance parameters with deep learning. The result is the capability to estimate mediation effects with binary, categorical, continuous, or multivariate exposures with high-dimensional mediators and mediator-outcome confounders using machine learning.
Bug fixes
- Fixed a bug caused by upgrading to
S70.2.0.
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
‘helpers.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
'helpers.R'- NOTE13 NOTENow
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 5 (1 internal)
- Examples that run
- 50%2 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 75%
- Documented parameters
- 98%
- Return-value docs
- 75%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing crumble adds 74 packages (34 with compiled code, 41 MB of source tarballs). Heaviest: data.table 5.7 MB, gplots 4.6 MB, palmerpenguins 2.9 MB.
Code & Tests
People & History
Package metadata
- First published
- 2024-09-18
- Total releases
- 3 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 18 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("crumble")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.