Skip to content
Causal DAG templates

Biology — Mediation Analysis

Direct and indirect (mediated) causal paths.

Template previewCausal DAG
Mediation analysisXExposureMMediatorYOutcomeExposureOutcomeConfounderMediatorUnobservedThe exposure is unconfounded: every backdoor path is already blocked, so the crude association estimates the total effect. 3 variables, 3 edge…No adjustment is needed: the exposure is unconfounded in this diagram, so the crude association between `Exposure` and `Outcome` already estimates the total effec…

Make it your own.

title "Mediation analysis"
exposure X "Exposure"
mediator M "Mediator"
outcome Y "Outcome"
X -> M
M -> Y
X -> Y