|
 |
What is wrong with this code? |
 
|
Message/Author |
|
|
I run an EFA but the error indicate "*** ERROR Unexpected end of file reached in data file." My code is : DATA: FILE IS NL_Z.DAT; VARIABLE: NAMES ARE SID Status Sex AGE_EPI ZFG1 ZFG2 ZFG3 ZFG4 ZFG5 ZFG6 ZFG7 ZFG8 ZFG9 ZFG10 ZFG11 ZFG12 ZFG13 ZFG14 ZFG15 ZFG16 ZFG17 ZFG18 ZFG19 ZFG20 ZFG21 ZFG22 ZFG23 ZFG24 ZFG25 ZFG26 ZFG27 ZFG28 ZFG29 ZFG30 ZFG31 ZFG32 ZFG33 ZFG34 ZFG35 ZFG36 ZFG37 ZFG38 ZFG39; MISSING =.; USEVARIABLES ARE ZFG1-ZFG39; ANALYSIS: TYPE=EFA 1 8; ! TYPE=MIXTURE EFA 18; ESTIMATOR=ML; ROTATION=OBLIMIN; OUTPUT: MODINDICES FSDETERMINACY; PLOT: TYPE IS PLOT2; |
|
|
You either have blanks in your data or the number of variables in the NAMES statement is not the same as the number of columns in the data file. If you cannot figure it out, send the output, data, and your license number to support@statmodel.com. |
|
Back to top |
|
|