Hi, I am trying to run an EFA and I am getting the following error message: *** ERROR The length of the data field exceeds the 40-character limit for free-formatted data. Error at record #: 1, field #: 10 *** ERROR The number of observations is 0. Check your data and format statement. Data file: pd_group.dat
I'm not sure how to correct this problem because I don't believe the data field exceeds the 40-character limit. And, I don't understand the second part of the error message because I do not have a format statement; I didn't think one was required. My syntax is below. Thanks for your help. TMC
TITLE: EFA Scale DATA: FILE IS pd_group.dat; VARIABLE: NAMES ARE ID Age Gender Edu Omit Y1-Y50 Group; USEOBSERVATIONS ARE GROUP 0; USEVARIABLES ARE Y1-Y50; CATEGORICAL ARE Y1-Y50; MISSING ARE *; ANALYSIS: TYPE = EFA 2 8; ESTIMATOR = WLSMV; ! Mplus default ITERATIONS = 1000; ROTATION = GEOMIN; ! Mplus default OUTPUT: SAMP RES STDY MOD FSDET;
It sounds like you may be reading a formatted data set without a FORMAT statement. Open the data set and see if there are spaces, commas, or tabs between the variables. If not, you need a FORMAT statement. If this does not help, please send the output and data set along with your license number to firstname.lastname@example.org.