Mediation analysis

https://codex.nimahejazi.org/steno2024_mediation_workshop/
https://netcoupler.github.io/NetCoupler/articles/NetCoupler.html

image

R package
medoutcon, supports multiple mediators and a single binary intermediate confounder
https://github.com/nhejazi/medoutcon
HDmediation includes multiple mediators and multiple intermediate confounders

lcm, supports binary time-varying treatments and categorical mediators
https://github.com/nt-williams/lcm
lcmmtp supports continuous, multivariate, and binary time-varying treatments and categorical mediators.
https://github.com/nt-williams/lcmmtp