TITLE:
  Eq 10b.5: Empty Means, Three-Level Model for the Variance for Positive Affect
  Level-1 Sessions Within Level-2 Bursts Within Level-3 Persons

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

VARIABLE:
  NAMES = PersonID burst session symptoms posaff slope12 slope26 burst1 b1or2;
  USEVARIABLES = posaff;
  MISSING = ALL (-9999);
  CLUSTER = PersonID burst;

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

MODEL:

%WITHIN%
  posaff;

%BETWEEN burst%
  posaff;

%BETWEEN PersonID%
  [posaff];
  posaff;