TITLE: this is an example of a two-level MIMIC model with
continuous factor indicators, random factor loadings,
two covariates on within, and one covariate on between.
Analyzed with equal loadings across levels
DATA: FILE = ex9.19.dat;
VARIABLE: NAMES = y1-y4 x1 x2 w clus;
CLUSTER = clus;
WITHIN = x1 x2;
BETWEEN = w;
ANALYSIS: TYPE = TWOLEVEL RANDOM;
ESTIMATOR = BAYES;
PROCESSORS = 2;
BITER = (1000);
MODEL: %WITHIN%
s1-s4 | f BY y1-y4;
f@1;
f ON x1 x2;
%BETWEEN%
f ON w;
f;
OUTPUT: TECH1 TECH8;
PLOT: TYPE = PLOT2;