Message/Author 


Not a specific problem with CFA, I guess, but because I experienced the next problem doing a CFA, I've posted my problem here. The question is simple: what is the maximum number of variables Mplus can handle doing a CFA (for example)? I have a data file with over 600 variables (longitudinal data) and would like to do a CFA on it. But because one respondent takes more than one rule in the .DATfile, Mplus thinks there are more respondents than there are. And so, CFA is not possible. Is there a solution for this problem, or do I simply have to do the CFA with less variables? And if, how many then? Kind regards, Erik 


The maximum number of variables allowed in Mplus is 500. 


Linda, thanks for your reply. Nevertheless, even with 500 variables the problem still exists. Part of the problem is that when using for example 500 variables, the data of each respondent use more than one rule in the .DATfile. This is what I meant before with Mplus that thinks there are more respondents then really are. Is there are command by which one can tell Mplus that each two rules of data are part of one respondent (other words: each respondent containts two rule of data). Thanks a lot again. Erik 


Mplus does not restrict data reading to one record per observation. If you are having problems reading the data, please send your input, data, output, and license number to support@statmodel.com and I can take a look at it. 

Jan Ivanouw posted on Thursday, June 05, 2008  7:00 am



As I understand it, this is a case of long versus wide data format for longitudinal data? Solutions are described in the Mplus manual 


I am not sure that this is the case. 


Dr. Muthen, I am trying to create SEM with 105 variables. I investigated the latent variables separately to make sure I have good fit models before I develop the SEM. However, when I try to test the measurement model with the latent variables, I receive a message that I should use NSERROR NCHISQUARE to reduce computation time. But this will not allow for model fit incidences to be computed. Do you suggest another method to test the measurement models/and SEM model? Thank you in Advance. 


Please send the output and your license number to support@statmodel.com. 


To what extent would you trust the results of the output, where there is no model fit incidences, but there is only SRMR, and the factor loading. Thank you. 


I would need to see the output to say. It is odd you would get only SRMR. 

Daniel Lee posted on Wednesday, October 23, 2019  8:15 am



Dr. Muthen, what is the maximum number of rows I can have if using Mplus? Thank you! 


The number of rows is the number of observations. There is no limit placed on this. 

Back to top 