TITLE:
Eq 11a.3: Saturated Means, Unstructured Level-3 and Level-2 Variances
Predicting Student Closeness
DATA:
FILE = MPLUS_Chapter11amultiv.csv;
FORMAT = FREE;
VARIABLE:
NAMES = ClassID StudID vic1-vic3 close1-close3;
USEVARIABLES = close1-close3;
MISSING = ALL (-9999);
CLUSTER = ClassID;
ANALYSIS:
ESTIMATOR = ML;
PROCESSORS = 4;
TYPE = TWOLEVEL RANDOM;
MODEL:
%WITHIN%
close1-close3 (L2var1-L2var3);
close1-close3 WITH close1-close3 (L2cov1-L2cov3);
%BETWEEN%
close1-close3 (L3var1-L3var3);
close1-close3 WITH close1-close3 (L3cov1-L3cov3);
[close1-close3] (mean1-mean3);
MODEL TEST:
0=mean2-mean1;
0=mean3-mean2;