非常感谢楼主做好事免费分享。 我是初学,很多不懂,想再问一下:请问有没有MPLUS里面做潜在类别模型的语句呢?我的一下错误是什么?该怎么修改?
TITLE: this is a test of LCA
DATA: File is E:\Backup\XRSXDATA.dat;
VARIABLE: NAMES are g Y X1-X8 u1-u4;
USEVARIABLES are Y X1-X8 u1-u4;
CLASSES = c (2);
CATEGORICAL = u1-u4;
ANALYSIS:
type = mixture;
MODEL:
%Overall%;
c ON X1-X8;
Y ON X1-X8 u1-u4;
SAVEDATA:
File is PPP c(2).dat;
*** ERROR in SAVEDATA command
The syntax for the FILE option has changed. Please refer to the
Mplus User's Guide for available options.
|