ERROR IN DATA COMMAND PreviousNext
Mplus Discussion > Confirmatory Factor Analysis >
Message/Author
 Samuel posted on Sunday, March 12, 2017 - 1:49 pm
Hi Mplus community,
I am trying to run a simple factor model with maximum liklihood estimation. I keep getting this error message (below) OR an error message #59:

*** ERROR in DATA command
The file specified for the FILE option cannot be found. Check that this
file exists: assignment3data.txt

My syntax is:
TITLE:
Assignment 3 Model 1
DATA:
FILE IS assignment3data.txt;
TYPE IS MEANS STD CORR;
NOBS IS 222;
VARIABLE:
NAMES ARE V1-V9;
MODEL:
F1 BY V1-V9;
F1@1;
OUTPUT:
SAMPSTAT STANDARDIZED;

Many thanks in advance!
Sam
 Linda K. Muthen posted on Sunday, March 12, 2017 - 3:24 pm
If the data set is not in the directory where you are working, use a full path. Search for assignment3data.txt to make sure you have not misspelled the data set name. If you can't figure it out, send the output, data set, and your license number to support@statmodel.com.
 Monalisa Chandra posted on Friday, January 26, 2018 - 7:51 pm
ERROR in DATA command
The file specified for the FILE option cannot be found. Check that this
file exists: \Users\MC\Desktop\practice\Loehlin_Ch2Q9.dat

Using a UT School of Public Health Virtual Lab
 Linda K. Muthen posted on Sunday, January 28, 2018 - 11:50 am
Search for the data set using the path you give. You may have a mistake in the specification.
 Lauren Armstrong posted on Tuesday, February 13, 2018 - 8:31 am
I have exactly the same problem. I have triple checked my spelling. Both files are saved in the same location. What can I do to rectify this?
 Bengt O. Muthen posted on Tuesday, February 13, 2018 - 8:45 am
To see the mistake, we need to see the data and the output file - send to Support along with your license number.
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: