I'm trying to estimate a multilevel model with a single random slope. I want to test if this slope varies across two groups (defined at the individual level). I'm using KNOWNCLASSES approach to specify groups:
quote:Analysis: type = twolevel random mixture; estimator = mlr; processors = 2; MODEL: %WITHIN% %OVERALL% sec1 ON isei; s | satlife ON sec1; %BETWEEN% %OVERALL% satlife ON rrl gdp; s ON rrl; %c#1% s ON rrl (p1); %c#2% s ON rrl (p2); MODEL TEST: p1 = p2;
However, I get the following error:
quote:*** ERROR in MODEL command Parameters involving between-level variables are not allowed to vary across classes. Parameter: S ON RRL
Is this a limitation of Mplus? Or is there another way of specifying this? Many thanks, Ewan -- |