Note on Causal Mediation Analysis Source for the note on causal mediation analysis using the potential outcomes framework. See the note here.