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.
hi Dr. Mutehns i have a model with multiple mediator my model is consist of one level 2 variable (x1) and 2 level 1 mediator (m1, m4) and one level 1 dependent variable(y1) my question is did i wrote a right syntax??? i can't find a 2-1-1-1 multilevel mediation model example.. please help me! my syntax is here. data: file is norm_motive.txt ; variable: names = x1 x2 m1 m2 m3 m4 y1 y2 w personalid team ; usevariables = x1 m1 m4 y1 team ; within = ; between = x1 ; cluster = team ; analysis: type = twolevel random ; estimator = ML ; model: %WITHIN% s1| m4 ON m1 ; ! within level p_DM_S -> WRDA s2| y1 ON m4 ; ! within level WRDA -> p_PD %BETWEEN% m1 ON x1 (a) ; ! between level t_DSN -> p_DM_S m4 ON m1 (s3) ; ! between level p_DM_S -> WRDA y1 ON m4 (s4) ; ! between level WRDA -> p_PD s1 WITH x1 m1 m4 y1 ; s2 WITH x1 m1 m4 y1 ;