Multilevel mediation 2-1-1, Zero-infl... PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Jennifer Yahner posted on Thursday, September 30, 2010 - 2:15 am
Hi Drs Muthen & Muthen,

I am trying to estimate a multilevel mediation model 2-1-1 using code similar to Preacher's example E at website:

When I treat my dependent variable (level 1) as continuous, things work just fine.

But when I treat it as zero-inflated Poisson, or as Tobit, then I receive the error below--which basically disallows me from estimating the Between-group component of the 1-1 part of my 2-1-1 mediation path.

I would appreciate any advice/explanation - thank you!


*** ERROR in MODEL command
Observed variable on the right-hand side of a between-level ON statement must be a BETWEEN variable.
 Linda K. Muthen posted on Thursday, September 30, 2010 - 6:12 pm
In the between part of the model command, if the variable is u, add

f BY u;

and use f in place of u in the ON statement. This is simply a trick that makes Mplus think it is a between level variable. It has no statistical impact.
 Jennifer Yahner posted on Thursday, September 30, 2010 - 7:05 pm
Thank you so much! This code works, but now - of course - my model will not converge despite increased iterations.

I appreciate your help. I may need to email the support@statmodel with my data, but will try to correct things myself tomorrow morning.


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