Keyword | CPC | PCC | Volume | Score |
---|---|---|---|---|

multiple group cfa mplus syntax | 1.65 | 0.5 | 6687 | 48 |

CFA Mplus. This page describes how to set up code in Mplus to fit a confirmatory factor analysis (CFA) model. The model, which consists of two latent variables and eight manifest variables, is described here. Mplus only reads data in text format, see this post for details on how to prepare a data file for Mplus.

For instance, by stating “GROUPING IS culture (1=countryA 2=countryB) ;” Mplus would run a multiple group rather than a single group analysis. The more complicated thing is to “build” a suitable measurement model for your latent variables (if there are any), in which the parameters (e.g., factor loadings) are equal across groups.

Multiple-group CFA with categorical outcomes uses the default of holding thresholds and loadings invariant across groups, fixing the factor means to zero in the first group while letting them be free in the other groups, and fixing the delta scale factors to one in the first group while letting them be free in the other groups.

The model, which consists of two latent variables and eight manifest variables, is described in our previous post setting up a running CFA and SEM example. Mplus only reads data in text format, see this post for details on how to prepare a data file for Mplus. The data can be accessed from Github. To review, the model to be fit is the following: