Maximum likelihood ANCOVA

DATA:

file = probsolve.dat;

VARIABLE:

names = id school tx frlunch stanmath pretest probsolv;

usevariables = tx frlunch stanmath pretest probsolv;

missing = all (-99);

centering = grandmean(frlunch stanmath pretest);

ANALYSIS:

estimator = ml;

MODEL:

! regression;

probsolv on tx pretest frlunch stanmath;

! IV variances (necessary with incomplete predictors);   

pretest frlunch stanmath;   

! IV correlations (necessary with incomplete predictors);                        

pretest frlunch stanmath with 

   tx pretest frlunch stanmath;                    

OUTPUT:

standardized(stdyx) sampstat;

Questions or suggestions? Email Craig Enders