INdirect effects - neg bin DV PreviousNext
Mplus Discussion > Structural Equation Modeling >
 Louise Swift posted on Wednesday, May 09, 2012 - 6:43 am
I thought I had posted this yesterday but it hasn't appeared, apologies for any duplication.

I can fit a path analysis model with a negative binomial dependent variable using MLR and integration monte carlo. However wheni try to estimate an indirect effect ( potential mediator is binary) I receive an error message that the indirect and bootstrap commands are not available with the integration command. After much trial and error I haven’t found another way of estimating the model. How can I estimate indirect effects when the dep variable is negative binomial please?
 Bengt O. Muthen posted on Wednesday, May 09, 2012 - 2:25 pm
You can express the indirect effect using Model Constraint. With a binary mediator and ML, however, you need to consider a different type of indirect effect that just a product of slopes. See

Muthén, B. (2011). Applications of causally defined direct and indirect effects in mediation analysis using SEM in Mplus.

which is posted on our web site.
 Louise Swift posted on Thursday, May 10, 2012 - 10:11 am
Many thanks.
 Louise Swift posted on Tuesday, July 17, 2012 - 8:08 am
Continuing the above.

I understand that the product of the components of an indirect path only has a natural interpretation when both equations are linear. However, presumably if we use CONSTRAINT the p value associated with ab is some sort of test that ab is zero i.e. that that indirect path exists. Could you clarify please? How do we report the coefficient? ( I did look at the document you recommended but it is too technical for me.)

Second I note that indirect appears to give exactly the same ab coefft and p value as using CONSTRAINT. In that case why isn’t INDIRECT available for neg binomial or have I misunderstood?

Many thanks
 Linda K. Muthen posted on Wednesday, July 18, 2012 - 12:05 am
As you said MODEL INDIRECT and MODEL CONSTRAINT get the same results when a product is an appropriate expression of an indirect effect. They are both interpreted in the same way.

If you have a count variable as a mediator or a final outcome, using a product for the indirect effect is not correct. I do not know what would be correct in this case.
 Louise Swift posted on Wednesday, July 25, 2012 - 10:14 am
Thanks Linda.
 Valerie Simon posted on Tuesday, August 14, 2012 - 10:26 pm
This is a follow-up question to the above discussion re testing indirect effects with a negative binomial DV. Am I understanding correctly that it is not possible to calculate indirect effects if the negative binomial DV is a count variable? I am using version 6.12
 Linda K. Muthen posted on Wednesday, August 15, 2012 - 12:45 am
As I said above, I don't know what a correct indirect effect would be for a count variable. I'm not sure there is one.
 Margarita Panayiotou posted on Thursday, October 03, 2013 - 4:02 pm
Dear Dr. Muthen,

I have two variables (AxB) that have a positive correlation but when tested in a mediation analysis, variable A has a significant NEGATIVE INDIRECT effect on B. Is that normal? If so, how can it be explained? (note that the direct effect is positive and significant).

Thank you in advance,


(p.s. this blog has been really helpful - so thanks!)
 Linda K. Muthen posted on Thursday, October 03, 2013 - 5:04 pm
These things can happen. See the book by David MacKinnon that is referenced in the user's guide.
 Margarita Panayiotou posted on Thursday, October 03, 2013 - 8:12 pm
I took a look at it and I will read more on inconsistent mediation models. Thank you for the reference.

I just wanted to make clear, should a negative mediation effect be interpreted like a correlation? e.g. higher values on mediator -> lower values on DV (or vice versa) ?
 Linda K. Muthen posted on Thursday, October 03, 2013 - 8:27 pm
It should be interpreted as a regression coefficient. This depends on the scale of the mediator and the type of regression coefficient. But basically yes. Positive and negative have the same general meaning as for a correlation coefficient.
 Margarita Panayiotou posted on Thursday, October 03, 2013 - 8:33 pm
As always, thank you for the prompt reply and all the help!
 Margarita  posted on Thursday, October 03, 2013 - 9:49 pm
I have another question (sorry for bothering you again..) I was searching for an answer but I could not find one. Could I run a mediation analysis with 1 exogenous latent variable, and 2 endogenous observed variables (one of which acts as a mediator)? - all variables are continuous

For example:





L BY X1 X2 X3 X4;



Does this seem correct?

Thank you for your time.
 Linda K. Muthen posted on Friday, October 04, 2013 - 4:27 pm
This looks correct.
 Margarita  posted on Friday, October 04, 2013 - 4:36 pm
Thank you for your comments!
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message