TITLE:
  Eq 7a.3: Empty Means, Random Intercept Model

DATA:
  ! Prior necessary data manipulation conducted using other programs
  FILE = MPLUS_Chapter7a.csv;
  FORMAT = FREE;

VARIABLE:
  NAMES = PersonID women baseage session studyday dayweek weekend symp mood stress
          sday1 wday1 age80;
  USEVARIABLES = symp;
  MISSING = ALL (-9999);
  CLUSTER = PersonID;

ANALYSIS:
  ESTIMATOR = ML;
  PROCESSORS = 4;
  TYPE = TWOLEVEL RANDOM;

MODEL:

%WITHIN%
  symp;

%BETWEEN%
  [symp];
  symp;