|
|
Characters after Parentheses |
|
Message/Author |
|
|
Hi, I am attempting to run a model examining factorial invariance with categorical data. I am getting an odd error regarding characters after parentheses, and I cannot find an instance of this error in other posts. Can anyone help spot my syntax error? Here is the error: *** ERROR in MODEL command There should be no extra characters after the right parenthesis of an equality or parameter label. Problem with the following statement: y1* (L1)y2 (L2)y3 (L3)y4 (L4) The abbreviated model statement code is here for reference. MODEL: y1 By x1@1; y2 By x2@1; y3 By x3@1; y4 By x4@1; f1 BY y1*(L1)y2(L2)y3(L3)y4(L4); f1@1; [f1@0]; {x1-x4@1}; [y1-y4@0]; y1-y4@0; [x1$1-x1$4*](T1-T4); [x2$1-x2$4*](T5-T8); [x3$1-x3$4*](T9-T12); [x4$1-x4$4*](T13-T16); |
|
|
You are not allowed to give several labels on the same line like that. Instead, say f1 BY y1-y4*(l1-l4); |
|
|
Thank you very much for your quick and helpful response. |
|
Back to top |
|
|