Crossed random effects with latent ag... PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 Mirka Henninger posted on Tuesday, February 27, 2018 - 3:24 am
Dear all,
I am trying to specify a model with two crossed random effects (response are clustered in items and in persons), including a latent aggregation of the response variable.
This is the MPlus Syntax that I want to use:

DATA: File is Mplus_RT.dat;
VARIABLE: Names are
ID item response RT_log;
MISSING ARE ID item response RT_log (-999);
USEVAR ARE
ID item response RT_log;
CLUSTER = ID item;
ANALYSIS: Type is CROSS RANDOM ;
MODEL:

%within%
RT_log on response (b_within);

%between ID%
RT_log on response(b_betwn);

MODEL CONSTRAINT:

new(bflpe);
bflpe = b_betwn - b_within;
OUTPUT: sampstat stand tech1;

However, I get the error that "the following variable cannot exist on more than one level:
RESPONSE"

When I specify only the random effect for ID, but not item, and change type to TWOLEVEL, the model with latent aggregation runs smoothly. Is there any possibility to specify a latent aggregation of the response variable with crossed-random effects?

Thank you very much!
 Bengt O. Muthen posted on Tuesday, February 27, 2018 - 1:48 pm
Try "turning the x into a y" by mentioning the variance of response on both within and between ID:

response;
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: