Skip to content
Causal DAG templates

Biology — Causal DAG: Diet & Diabetes

Obesity mediates, age and SES confound.

Template previewCausal DAG
Diet and type 2 diabetesEHigh-sugar dietOType 2 diabetesWObesityAAgeADJUST FORSSocioeconomic statusADJUST FORExposureOutcomeConfounderMediatorUnobservedIdentifiable — adjust for `Age` + `Socioeconomic status`.Adjust for `Age` + `Socioeconomic status` — a minimal sufficient set. Conditioning on those blocks every backdoor path from `High-sugar diet` to `Type 2 diabetes`…

Make it your own.

title "Diet and type 2 diabetes"
exposure E "High-sugar diet"
outcome O "Type 2 diabetes"
mediator W "Obesity"
confounder A "Age"
confounder S "Socioeconomic status"
E -> W
W -> O
E -> O
A -> E
A -> O
S -> E
S -> O