|
Message/Author |
|
|
Hello, I am trying to do a power analysis for a cross-sectional 3-level mediation model. My X variable is at level 3. My m variable is at level 2. My y variable is at level 1. In the MONTECARLO command I say: BETWEEN = (level2) m (level3) x; and I include m at level 2 and 3 in the MODEL command. I get this error message: *** ERROR in MODEL command Variables that have been declared as variables for the BETWEEN LEVEL2 level cannot be used on the BETWEEN LEVEL3 level. Variable incorrectly used: M My understanding is that a level 2 variable should have variance at levels 2 and 3 and so I should be able to use it at both levels. I'm new to MONTECARLO and to multilevel modeling in Mplus so I was wondering if you could help clarify what might be causing a problem here. Thanks! |
|
|
Page 634 in the UG describes this. In your case, you would say: Between = m (level3) x; With no qualifier preceding "m", it can vary on both between levels whereas "x" varies on only level 3. |
|
Back to top |
|
|