Skip to content
Causal DAG templates

Causal DAG — smoking & lung cancer

Classic epidemiology DAG with age as confounder and tar as mediator.

Template previewCausal DAG
Smoking → Lung cancer (with confounders & mediator)ESmokingOLung cancerCAgeADJUST FORMTar buildupUGenetic riskExposureOutcomeConfounderMediatorUnobservedIdentifiable — adjust for `Age`.Adjust for `Age` — a minimal sufficient set. Conditioning on it blocks every backdoor path from `Smoking` to `Lung cancer`, and no proper subset of it does.

Make it your own.

title "Smoking → Lung cancer (with confounders & mediator)"
exposure   E "Smoking"
outcome    O "Lung cancer"
confounder C "Age"
mediator   M "Tar buildup"
unobserved U "Genetic risk"

E -> M
M -> O
E -> O
C -> E
C -> O
U --- E
U --- O