Exceeding character limit PreviousNext
Mplus Discussion > Confirmatory Factor Analysis >
 Daniel Lee posted on Saturday, May 19, 2012 - 10:24 pm
Hello! I'm trying to conduct a CFA on a 84-item measure. In the syntax, each item represents a variable. Unfortunately, with so many items, I am easily surpassing the 90 character limit. Do you have advice for conducting a CFA on an 84-item measure on MPlus? Thank you! -Daniel Lee
 Linda K. Muthen posted on Sunday, May 20, 2012 - 6:06 am
You need to continue the NAMES statement on additional lines.
 Daniel Lee posted on Sunday, May 20, 2012 - 1:27 pm
Hi Dr. Muthen,
Thank you so much!
 Katja Schlegel posted on Monday, July 08, 2013 - 9:45 am

I am trying to adapt the code for item and scale reliability with binary items from Raykov et al. (2010) to my test, which however has 83 items. The resulting code apparently is too long, as I get the message "Statement exceeds line limit. Break your statement into several parts."
What is the line limit in Mplus 7 and is there a way to solve this problem?

Thank you & best regards,
 Linda K. Muthen posted on Monday, July 08, 2013 - 10:18 am
The limit for input files is 90 characters. You can break the statement into several parts, for example,

NAMES are y1 y2 y3
y4 y5 y6
y7 y8 y9;
 Katja Schlegel posted on Monday, July 08, 2013 - 10:56 am
I am sorry if I was being unclear - the line limit, not the character limit, is exceeded.
My Input file has about 900 lines, because the calculation of the scale and item reliability requires about 10 calculation steps per item (and I have 83 items) according to the Mplus code provided in the Raykov article.

Is there maybe a way of saving the values resulting from some of the calculations (for example, one intermediate step is the calculation of item mean true scores) as variables in the dataset, and then continuing the next calculation step with a new Input file, using the saved variables? Like this I could split the code into shorter parts, if the whole code is too long.

Thanks again for your reply.
 Linda K. Muthen posted on Monday, July 08, 2013 - 12:08 pm
We impose no line limit. Please send the input file, data, and your license number to support@statmodel.com so we can see where the error is coming from.
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