title:
Introducing Multilevel Modeling by Kreft and de Leeuw.
Page 65, Table 4.3
data:
file = imm23.dat ;
variable:
names = schid stuid ses meanses homework white parented public
ratio percmin math sex race sctype cstr scsize urban region;
cluster = schid;
usevar = math homework;
within = homework; ! level 1 variables here
between = ; ! level 2 variables here (none)
analysis:
type = twolevel random;
estimator = ml;
model:
%within%
math on homework; ! fixed effect
%between%
math ; ! no predictors of intercept