CLUSTER_MEAN function in TYPE=THREELEVEL PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 Philipp Jugert posted on Wednesday, September 14, 2016 - 1:29 am
I am trying to estimate a threelevel model where I have students (level 1), classrooms (level2) and countries (level3). I have no variables measured at level 2 but I would like to use L2 cluster averages for level1 variables. In Type=TWOLEVEL this works with latent variable decomposition but this seems not to work for Type=THREELEVEL. So I used the cluster_mean function to compute cluster means. My question is how I can make sure that Mplus really computes the L2 cluster means and does not include L3 in some way. I used the following syntax:

VARIABLE:
CLUSTER IS ctry idclass;
BETWEEN = (idclass) classses ;
DEFINE:
classses = CLUSTER_MEAN (ses);

Which cluster does Mplus use to compute the cluster mean?
 Tihomir Asparouhov posted on Wednesday, September 14, 2016 - 2:00 pm
It uses L2 cluster.
 Philipp Jugert posted on Thursday, September 15, 2016 - 12:12 am
Thanks. What if I did want to use L3 cluster to compute the cluster_mean? Is that also possible by just changing the cluster modifier in the BETWEEN statement? e.g.:

BETWEEN = (ctry) = classses;
 Bengt O. Muthen posted on Thursday, September 15, 2016 - 10:36 am
That is not available.
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: