MCFA for Categorical Variable PreviousNext
Mplus Discussion > Confirmatory Factor Analysis >
Message/Author
 Ding Yan posted on Tuesday, January 19, 2016 - 3:54 am
I want to analyse the measurement invariance of gender for categorical variable, a four-point Likert-type scale. But the analysis goes wrong with the warnings below when test the invariance of factorial structure. The warning indicates that "[y1-y10]" is wrong, but the code is required for factorial structure invariance. What's the syntax errors ?



INPUT INSTRUCTIONS

TITLE:The MCFA of CESD;
DATA:FILE IS zonghe.dat;
VARIABLE:NAMES ARE diqu age gender y1-y10;
Grouping = gender (1 = Male 2 = Female);
USEVARIABLES are y1-y10;
CATEGORICAL = y1-y10;
ANALYSIS:ESTIMATOR = WLSMV;
MODEL:f1 by y1 y2 y3 y4 y6 y7 y9 y10;
f2 by y5 y8;
MODEL Female:f1 by y1@1 y2 y3 y4 y6 y7 y9 y10;
f2 by y5@1 y8;
[y1-y10];
OUTPUT:Standardized;
Modindices;

*** ERROR
The following MODEL statements are ignored:
* Statements in Group FEMALE:
[ Y1 ]
[ Y2 ]
[ Y3 ]
[ Y4 ]
[ Y5 ]
[ Y6 ]
[ Y7 ]
[ Y8 ]
[ Y9 ]
[ Y10 ]
 Linda K. Muthen posted on Tuesday, January 19, 2016 - 9:17 am
Categorical variables have thresholds not means. You need three thresholds for a four-category variable.

[y1$1 y1$2 y1$3 y1$4];

You can find the models we recommend for testing for measurement invariance in the usser's guide on the webiste starting on page 482.
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: