Dear Statalisters,
In my understanding, causal mediation analysis involves estimating coefficients (lower case letters) for;
Following these, the total effect of A on Y can be partitioned into direct (A -> Y) and indirect (A -> M -> Y) effects.
e.g. if the total effect is:
E[Y] = f + gX = a + bA + cM = a + bA + c(d + eA) = a + bA + cd + ceA = a + cd + (b + ce)A
Such that g = b+ce
And if the direct effect = b, then the indirect effect = ce
If the above is correct, then why does the Stata documentation for the mediate not require that the outcome model must include the mediator? Does this command automatically condition the outcome model on the mediator?
Thanks,
Janine
In my understanding, causal mediation analysis involves estimating coefficients (lower case letters) for;
- the outcome model in which the mediator (M) is conditioned upon, to give the direct effect of the exposure (A) on the outcome (Y)
- the mediator model of the exposure (A) on the mediator (M)
Following these, the total effect of A on Y can be partitioned into direct (A -> Y) and indirect (A -> M -> Y) effects.
e.g. if the total effect is:
E[Y] = f + gX = a + bA + cM = a + bA + c(d + eA) = a + bA + cd + ceA = a + cd + (b + ce)A
Such that g = b+ce
And if the direct effect = b, then the indirect effect = ce
If the above is correct, then why does the Stata documentation for the mediate not require that the outcome model must include the mediator? Does this command automatically condition the outcome model on the mediator?
Thanks,
Janine
Comment