是1-1-1的双中介分层结构方程模型,cluster设定为变量m(m为数值变量,为每个个体的编号),但不知道为什么一直提示“Unknown variable for CLUSTER option: M”这个错误,求助各位大神帮忙看看,感激不尽!
TITLE: 实验一
DATA: FILE IS C:\Users\10578\Desktop\结构方程模型试验\shujuku.dat;
VARIABLE: Names are m y4 y5 c1 c2 b1 b2 x1-x9 y1 y6;
Usevariables are m y4 y5 c1 c2 b1b2 x1-x9 y1;
CLUSTER =m;
within =y1-y6 b1 b2 c1 c2 ;
between=x1-x9;
Missing is . ;
ANALYSIS: type is twolevel random;
estimator = ML;
MODEL: %within%
y2 by b1 b2;
y3 by c1 c2;
y1 on x1-x9;
y5 on x1-x9;
S1 | y2 on y1;
S2 | y3 on y1;
S3 | y3 on y2;
S4 | y4 on y1;
S5| y4 on y2;
S6| y4 on y3;
y4 with y5;
%between%
x1-xn;
S1 WITH S2;
S1 WITH S4;
S5 WITH S4;
S2 WITH S6;
S4 WITH S6;
S2 WITH S4;
S2 WITH S3;
S1 WITH S3;
S3 WITH S6;
S3 WITH S5;
S5 WITH S6;
MODEL INDIRECT:
y4 IND y2 y1;
y4 IND y3 y1;
OUTPUT: SAMPSTAT Stdyx standardized TECH1tech4 Cinterval(bootstrap):