Source: http://web.pdx.edu/~newsomj/semclass/ho_mediation.pdf