You would need to put the variables LMEM LCLT LEPT on the WITHIN list and create between-level counterparts for them using the CLUSTER_MEAN option of the DEFINE command. Then you can correct the variables for reliability on within and between.
Melvin C Y posted on Thursday, January 26, 2012 - 3:07 am
the syntax based on your comments is below. However, I think I'm still missing something. Would appreciate if you could give me a few pointers on where I might have gone wrong. Thanks!
-------------- USEVAR ARE MEM,CLT,EPT BMEM BCLT BEPT !new var defined ;
CLUSTER = School; WITHIN ARE MEM,CLT,EPT; MISSING ARE ALL (-999);
The message has to do with reading the data not the syntax. You may have the variable names on the first record or you have have the wrong number of variable names. If this does not help, please send your output and license number to firstname.lastname@example.org.
Alex Baron posted on Monday, December 07, 2015 - 7:58 am
I am trying to specify a latent construct at both levels 1 and 2, but I receive the error following message: "The labels %BETWEEN% or %WITHIN% must be specified".
I tried to use the CLUSTER_MEAN function to create a between-level counterpart of the within-level latent factor like this:
However, SR_1 - SR_4 are only later defined as latent constructs in the model command, so I cannot put them on the USEVARIABLES list or WITHIN lists without receiving an error. Could you please help me with this problem? Thanks so much.