Characters after Parentheses PreviousNext
Mplus Discussion > Categorical Data Modeling >
 John D Peipert posted on Tuesday, December 19, 2017 - 10:09 pm

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.

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);
 Bengt O. Muthen posted on Wednesday, December 20, 2017 - 12:30 pm
You are not allowed to give several labels on the same line like that. Instead, say

f1 BY y1-y4*(l1-l4);
 John D Peipert posted on Wednesday, December 20, 2017 - 6:41 pm
Thank you very much for your quick and helpful response.
Back to top
Add Your Message Here
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Options: Enable HTML code in message
Automatically activate URLs in message