Fixed effects models PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
 Arena posted on Thursday, August 16, 2012 - 9:33 pm
I'm currently analyzing data to examine how classroom characteristics relate to students' standardized test scores. Because students are nested within classrooms, I used CLUSTER to adjust the standard errors within each classroom. However, I also want to employ a school fixed effects model to account for the unobserved characteristics of schools that may bias observed relationships. How can I do this in Mplus?

Thank you in advance.

 Linda K. Muthen posted on Friday, August 17, 2012 - 1:03 pm
I'm not sure what you mean.
 Arena posted on Friday, August 17, 2012 - 1:43 pm
I am wondering if there's a procedure in Mplus that is equivalent to the xtreg-fe command in Stata.
 Linda K. Muthen posted on Saturday, August 18, 2012 - 10:27 am
It sounds like this is a multilevel model where students are nested in classrooms and dummy variables are used as covariates to represent schools. Yes, this can be done in Mplus.
 Byungbae Kim posted on Saturday, March 30, 2013 - 11:40 pm
I have the same question above. Would you please be more specific on the ways in which school dummies could be specified in the model.I have students (n=20,000) nested within schools (n=89).
Since I was not interested in estimating group level variations, I had used the "cluster" option to take into account a clustering issue. Now reviewers want me to use fixed effects dummies for schoolto make sure that any variance resulting from the group id could be adequately partialled out, instead of the cluster option.
Thank you.
 Linda K. Muthen posted on Sunday, March 31, 2013 - 9:03 am
School dummy variables are used as covariates. I would not recommend this in your case with 88 dummy variables. I would instead use TYPE=TWOLEVEL. The results you want would be on the within level. You could have a model of only random intercepts on the between level. See Example 9.1.
 Markus Riek posted on Thursday, January 16, 2014 - 12:48 pm
Fixed effects in a complex (cross-national) sample.

I’m doing a SEM analysis based on a sample of multiple countries. I want to analyze the effects for the whole sample (not between the countries). In order to account for fixed effects I specified the following parameters in the analysis configuration.

CLUSTER = country;


Is that the correct specification to include country fixed effects?
Does someone know about an example of a single-level analysis including fixed effects?

 Bengt O. Muthen posted on Thursday, January 16, 2014 - 6:17 pm
"Country fixed effects" sounds to me like a multiple-group analysis where group is country (a single-level analysis). The setup you give would not estimate any such effects - it would just correct the SEs for country clustering. A related paper discussing fixed versus random effects is on our website:

Muthén and Asparouhov (2013). New methods for the study of measurement invariance with many groups. Mplus scripts are available here.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message