目前在学习mplus,在王济川老师等人编写的《结构方程模型:方法与应用》中,有一章节专门提到了mplus用于数据的正态性检验,以下是我写的程序:
Title:pengyan-quality of life
DATA:
FILE= peng_yan.dat;
LISTWISE=ON;
VARIABLE:
NAMES ARE seq sex age edu minority marital income
co_self co_insur co_pub co_other resident
current weight height dis_type dis_cous smoking
toba_num toba_ces ces_leng drink act_time
lesions extra1-extra7
operat history inhos outpat self_con
treat1-treat4 trea_oth IBDQ1-IBDQ32 HADS1-HADS14
support1-support5 supp5_1-supp5_5 supp6_1-supp6_9
supp7_1-supp7_9 supp8-supp10 CD1-CD4 CD5_1-CD5_9
UD1-UD5 UD6_1-UD6_9;
MISSING=ALL(-9);
USEVARIABLES ARE IBDQ1-IBDQ32;
CLASSES=C(1);
ANALYSIS:TYPE=MIXTURE;
MODEL: %Overall%
instisym BY IBDQ1 IBDQ5 IBDQ9 IBDQ13 IBDQ17 IBDQ20 IBDQ22 IBDQ24 IBDQ26 IBDQ29;
syssym BY IBDQ2 IBDQ6 IBDQ10 IBDQ14 IBDQ18;
emot BY IBDQ3 IBDQ7 IBDQ11 IBDQ15 IBDQ19 IBDQ21 IBDQ23 IBDQ25 IBDQ27 IBDQ30 IBDQ31 IBDQ32;
socifun BY IBDQ4 IBDQ8 IBDQ12 IBDQ16 IBDQ28;
OUTPUT:SAMPSTAT TECH4;
可是不知道什么哪里有问题,一直跑不出来结果,希望各位路过的大神指教!