Skip to content
Causal DAG templates

Causal DAG — three-step mediation chain

Sequential mediators between exposure and outcome.

Template previewCausal DAG
Sequential mediationXStressACortisolBSleep lossYDepressionExposureOutcomeConfounderMediatorUnobservedThe exposure is unconfounded: every backdoor path is already blocked, so the crude association estimates the total effect. 4 variables, 4 edge…No adjustment is needed: the exposure is unconfounded in this diagram, so the crude association between `Stress` and `Depression` already estimates the total effe…

Make it your own.

title "Sequential mediation"
exposure X "Stress"
mediator A "Cortisol"
mediator B "Sleep loss"
outcome  Y "Depression"

X -> A
A -> B
B -> Y
X -> Y