# Mediation Analysis Methods

> Splits a treatment effect into direct and mediated paths, with the right method and sensitivity checks.

- Page: https://youraiskill.com/skill/gptomics-bio-causal-genomics-mediation-analysis
- What it does: Decompose total effects into direct and indirect paths through mediators using mediation, CMAverse 4-way, HIMA/HIMA2 high-dimensional, BAMA, two-step / MVMR mediation, or double-ML medDML. Use when testing whether a molecular phenotype (expression, methylation, protein) mediates a treatment-outcome relationship, decomposing exposure-mediator interaction via VanderWeele 4-way, screening high-dimensional EWAS mediators, or running MR-based mediation when sequential ignorability is implausible.
- Niches: research, data
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions plus scripts (6 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
