Arena posted on Thursday, November 08, 2012 - 6:32 pm
I am comparing two ways of measuring classrooms--individual student perception of the classroom vs. a classroom (cluster) average of student perception.
I am using latent factors to measure individual student perception of the classroom.
For the classroom average, I want to create a cluster average of the classmates' latent factor scores.
I have tried using this syntax but isn't worked for me in the "Define" and "Model" sections:
newvar = CLUSTER_MEAN (latentvar);
Where does this command belong in the input file?
Thank you in advance.
Arena posted on Thursday, November 08, 2012 - 7:05 pm
Also, I would like to create an interaction term between the student-level latent factors. I tried using the XWITH command with two continuous latent factors, however that requires TYPE = RANDOM. I'm currently using TYPE=COMPLEX because I would like to take student nesting within classrooms into account and to adjust the standard errors. Is there a way of creating interaction terms between continuous latent variables without sacrificing the CLUSTER command or TYPE=COMPLEX?