MPLUS sample size limitation PreviousNext
Mplus Discussion > Exploratory Factor Analysis >
Message/Author
 Magdalena  posted on Monday, December 26, 2005 - 7:03 pm
I have tried to conduct exploratory and confirmatory factor analyses with mplus 3.0, using a sample of 8783 subjects. Whenever I try to do this, I get an error message " Unexpected end of file reached in data file." This is only solved if I reduce the sample size. Is there a way around this problem?
 Linda K. Muthen posted on Tuesday, December 27, 2005 - 7:54 am
You must be reading your data incorrectly. The message means that Mplus is not finding the amount of data expected based on the number of variables in the NAMES statement of the DATA command. It is most likely that you have blanks in your data. Blanks are not allowed with free format. If you cannot figure this out, send your input, data, output, and license number to support@statmodel.com.
 Boliang Guo posted on Friday, September 26, 2008 - 3:39 am
Hi Linda,I simulated large scale date with multilevel 2-group cfa code, then,test multilevel mixture model with knownclass (2 classes), the mixture code first say there is missing value in training variable in observation 1, I am confused after checking, surely there is no missing, if I remove observation 1, the mixture code will say 'unexpected end of file reached in data file'. the data can be run with multiple group code, which mean the data has no problem, what I lost here please? I tested with both txt and dat format.
 Linda K. Muthen posted on Friday, September 26, 2008 - 6:33 am
Please send your files and license number to support@statmodel.com. It sounds like you are not reading your data correctly.
 Nicole Stanoff posted on Sunday, February 15, 2009 - 4:40 pm
When trying to run analyses, I recieve the error message
"Unexpected end of file reached in data file." How can I fix this problem?
 Linda K. Muthen posted on Monday, February 16, 2009 - 8:19 am
It sounds like you have blanks in your data set and are reading it free format. You need to add a format statement or change the blanks to some other value. If you can't figure this out, you should send your input, data, output, and license number to support@statmodel.com.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: