TITLE:
Ch 6: 6a: Fixed Asymptote Fixed Amount Fixed Rate Model
DATA:
FILE = MPLUS_Chapter6.csv;
FORMAT = FREE;
DATA LONGTOWIDE:
LONG = rt;
WIDE = rt1-rt6;
IDVARIABLE = PersonID;
REPETITION = session (1-6);
DEFINE:
rt = rt/10;
VARIABLE:
NAMES = PersonID session rt;
USEVARIABLES = rt1-rt6;
MISSING = ALL (-9999);
ANALYSIS:
ESTIMATOR = ML;
PROCESSORS = 4;
MODEL:
rt1-rt6 (totvar);
[rt1-rt6] (mean1-mean6);
MODEL CONSTRAINT:
NEW(fasymp famount frate);
mean1 = fasymp + famount*EXP(frate*0);
mean2 = fasymp + famount*EXP(frate*1);
mean3 = fasymp + famount*EXP(frate*2);
mean4 = fasymp + famount*EXP(frate*3);
mean5 = fasymp + famount*EXP(frate*4);
mean6 = fasymp + famount*EXP(frate*5);