Dear all,
I am currently estimating a multiple mediation model using the user written command CMP. My model looks like this:
Where "outcome" has 3 ordered categories, the mediators are binary, and three control variables are included (age female income).
Using lincom, I have no problems deriving the direct and indirect treatment effects. However, what I would now like to derive are moderated mediation effects.
In other words, I would like to know whether the direct and indirect treatment effects differ between, e.g., female and male participants.
My guess is, that I need to include "i.treatment##i.female" into my model, but do I then need to include this in all 4 equations? And how would I compute the direct and indirect effects conditional on "female = 0" and "female = 1"?
Any help is greatly appreciated.
I am currently estimating a multiple mediation model using the user written command CMP. My model looks like this:
Code:
cmp (outcome= i.treatment i.mediator1 i.mediator2 i.mediator3 age female income) /// (mediator1= i.treatment age female income) /// (mediator2= i.treatment age female income) /// (mediator3= i.treatment age female income) /// , indicator($cmp_oprobit $cmp_probit $cmp_probit $cmp_probit) covariance(unstructured)
Using lincom, I have no problems deriving the direct and indirect treatment effects. However, what I would now like to derive are moderated mediation effects.
In other words, I would like to know whether the direct and indirect treatment effects differ between, e.g., female and male participants.
My guess is, that I need to include "i.treatment##i.female" into my model, but do I then need to include this in all 4 equations? And how would I compute the direct and indirect effects conditional on "female = 0" and "female = 1"?
Any help is greatly appreciated.
Comment