Multiple Group Confirmatory Factor Analysis Shortcut Example
Table of Contents
1 Title Command
This is the first of three input files for this example
TITLE: Example 3 - Multiple Group Confirmatory Factor Analysis
2 Data Command
DATA: FILE IS "../../data/job_placement.csv";
3 Variable Command
VARIABLE: NAMES ARE id wjcalc wjspl wratspl wratcalc waiscalc waisspl edlevel newschl suspend expelled haveld female age; USEVARIABLES ARE wratspl wjspl waisspl wratcalc wjcalc waiscalc; MISSING ARE all(99999); GROUPING IS female(0=male 1=female);
4 Analysis Command
Add this command and the "Model = …" command to request multiple models for comparison.
ANALYSIS: Model = configural metric scalar;
5 Model Command
In order to use the multiple model shortcut, the user should use the Mplus default of marker-variable identification. Notice how simple the model syntax becomes, the user simply needs to specify the latent variables and their indicators.
MODEL: MATH BY wratcalc wjcalc waiscalc; SPELL BY wratspl wjspl waisspl;
6 Output Command
Additional output can be requested.
OUTPUT: TECH1;