正在学习mplus,连入门都不会啊
刚才编写了一个程度,但总是出现
Unexpected end of file reached in data file
为什么啊????????
我是把数据文件resi.dat和程序文件放在一个文件夹里的,当然不是放在安装mplus的程序文件中。
求大神指导下为什么啊
以下是程序内容:验证性因素分析
data:
file=resi.dat;
listwise=on;
variable:
names=q1-q15;
missing=all;
usevariables=q1-q15;
analysis:
estimator=ML;
type=general;
model=nomeanstructure;
information=expected;
model:
som by q1 q2 q3 q4 q5;
asm by q6 q7 q8 q9 q10;
jsm by q11 q12 q13 q14 q15;
output:
sampstat tech1 tech4 stdyx mod;
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