Causal DAG — education and income
Effect of education on income with confounders and mediator.
Make it your own.
title "Education → Income"
exposure E "Years of education"
outcome O "Adult income"
confounder F "Family background"
mediator J "Job sector"
unobserved A "Ability"
F -> E
F -> O
E -> J
J -> O
E -> O
A --- E
A --- O