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?
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.
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.
VARIABLE: WEIGHT = w; CLUSTER = country;
ANALYSIS: TYPE = COMPLEX;
Is that the correct specification to include country fixed effects? Does someone know about an example of a single-level analysis including fixed effects?
"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.