Documente Academic
Documente Profesional
Documente Cultură
By:
Haftom Temesgen (PhD)
Mekell University
Analysis of Covariance
A procedure for comparing treatment means that
incorporates information on a quantitative explanatory
variable, X, sometimes called a covariate.
The procedure, ANCOVA, is a combination of ANOVA
with regression. Combines linear regression and ANOVA
Can be used to compare g treatments, after controlling for
quantitative factor believed to be related to response (e.g. pre-
treatment score)
Can be used to compare regression equations among g groups
(e.g. common slopes and/or intercepts)
Model: (X quantitative, Z1,...,Zg-1 dummy variables)
E(Y ) X 1Z1 g 1Z g 1
2 Haftom Temesgen (PhD) 1/18/2017
Tests for Additive Model
Relation for group i (i=1,..., g-1):
E(Y)=a+bX+bi
Relation for group g: E(Y)=a+bX
H0: b1=...=bg-1=0 (Controlling for covariate, no
differences among treatments)
Group g: E(Y)=+X
E(Y ) X 1Z1 g 1Z g 1
Fit Complete, model containing {X}, {Z1,Z2,...,Zg-1}
Obtain SSEC (or, equivalently RC2) and dfC
Fit Reduced, model containing {X}
Obtain SSER (or, equivalently RR2) and dfR
H0: 1=...=g-1=0 (No group differences) Test
Statistic: F
6 Haftom Temesgen (PhD) 1/18/2017
Inference in ANCOVA (cont)
Test for Effect of Covariate controlling for qualitative variable
E(Y ) X 1Z1 g 1Z g 1
H0:b=0 (No covariate effect) Test Statistic: t
b
tobs ^
b
' '
Adjusted Means: Y ,..., Y
1 g Obtained by evaluating
regression equation at X X
^
bi t C / 2, N g 1 bi i 1,..., g 1
b b t
^ 2 ^ 2
i j C / 2, N g 1 b b 2COV (bi , b j )
i j