全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 LISREL、AMOS等结构方程模型分析软件
29696 19
2016-11-15
Mplus 入门-
入门级,看着说明写了个程序,可是出现 Unexpected end of file reached in data file
肿么办?

看到有人说可能是“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
但已经检查数据中没有blank。求问咋办?


以下是程序内容:

data:file is E:\mplus\ap2.dat;
VARIABLE:NAMES ARE ap1-ap44;
USEVARIABLES ARE ap1-ap4 ap9-ap14 ap37-ap44;
analysis:estimator=ML;
model:y1 by ap1-ap4;
       y2 by ap9-ap14;
       y3 by ap37-ap44;
output:standardized;
       modindices;


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2016-11-15 21:34:48
原始数据格式一定有问题。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-11-15 23:21:59
南南数据 发表于 2016-11-15 21:34
原始数据格式一定有问题。
感谢回复啊~可是不知道格式哪里出问题了,求指点~
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-11-15 23:47:21
你的原始数据,不是你的代码。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-11-16 10:04:39
南南数据 发表于 2016-11-15 23:47
你的原始数据,不是你的代码。
好的,谢谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2016-11-16 17:29:24
你的原始数据中,有缺失值未定义,或者变量个数不对,或者数据格式不对。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群