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 ?
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 ]