Professional Documents
Culture Documents
Analysis of Variance
1. Introduction
Definition 1:
Sampling Study
Random sample of subjects who belong to
different groups
Health
Eaters
Cholesterol
Levels
Vegetarians
Meat &
Potato
Eaters
Random
Sample
Random
Sample
Random
Sample
y11
y 21
y 31
y12
y 22
y 32
y1n1
y 2n 2
y 3 n3
Experimental Study
An experiment in which the subjects are randomly assigned to
one of several groups
Veg.
Diet
Random Sampling
Health
Diet
Set of
Experimental
Units
Cholesterol
Levels @ 1
year.
Set of
Experimental
Units
Set of
Experimental
Units
y11
y 21
y 31
y12
y 22
y 32
y1n1
y 2n 2
y 3 n3
M&P
Diet
Responses
Analysis of Variance
A division of the overall variability in data
values in order to compare means.
Overall (or total) variability is divided into
two components:
the variability between groups, and
the variability within groups
Summarized in an ANOVA table.
ANOVA Notation
Group
1
2
Data
Means
X 1n1
X 1
X 21
X 2n2
X 2
X m1
X m2
X mn m
X m
X 11
X 12
X 21
Grand Mean
The Model
Yij = + j + eij, or,
Yij - = j + eij.
The difference between the grand
mean () and the value of subject
number i in group number j
is equal to the effect of being in
treatment group number j, j,
plus error, eij
DF
m-1
n-m
n-1
SS
MS
SS(Between) MSB
SS(Error)
MSE
SS(Total)
F
MSB/MSE
MSB = SS(Between)/(m-1)
MSE = SS(Error)/(n-m)
Assumptions
Observed
random
data
constitute
sample from
independent
the respective
populations.
Each of the populations from which the
sample comes is normally distributed but
not for skewness.
Each of the populations has the same
variance.
Experimental Study
Male College Undergraduate Students
Veg.
Diet
Random Sampling
Health
Diet
Set of
Experimental
Units
x11
Cholesterol
x12
Levels @ 1
year.
x1n1
Set of
Experimental
Units
Set of
Experimental
Units
x21
x22
x32
x2 n2
x3n3
M&P
Diet
x31
Responses
ni
SST X ij X X ij X i X i X
m
i 1 j 1
ni
X
m
i 1
j 1
ni
i 1
j 1
i 1 j 1
ni
i 1
j 1
X i 2 X ij X i X i X
2
ij
X i X
SSB n j ( X j X )
j 1
SSB
MSB
k 1
MSW
Follow-up Procedures
significant F only tells us there are
differences, not where specific differences
lie.
(MSB)
toMSB
Within-groups
square (MSW)
through a ratio
MSW
mean
MSB
MSW
Y-
bar
Y-bar
Y-bar
Y-bar
Between
Group mean
square
Estimate
MSB
MSB
FCal .
MSW
Total
Variability
Within Groups
sum of
squares
SSW
Within-Groups
mean square
estimate
MSW
SST
SS
df
SSB
n-k
MS
k-1
F
MSB
MSW
n-1
SSW
SS
SSB
n-k
df
MS
k-1
F
MSB
MSB/MSW
MSW
Individual
Total
SST
Nn- 1
Differences
(measureme
Where k = number
of groups
nt error,
n = total number
of observations (subjects) in all groups
random
fluctuation)
Ho: 1 = 2 = 3....
H1: some s unequal
Degrees of
Freedom
squared
deviations
( x x) 2
Source
Between
Within
SSW
Total
SST
SS
SSB
n-k
n-1
df
MS
k-1
F
MSB
MSB/MSW
MSW
Mean of the
Squares
( x x)
/n
DCH, AAU
and
are
based
on
the
same
Example
The following table shows the natural killer
cell activity measured for three groups of
subjects: those who had low, medium, and
high scores on the social readjustment rating
scale.
Mean
SD
25.71
6.42
9.97
SSB n j ( X j X ) 2
j 1
SSW (n j 1) S j
j 1
Source of
d.f.
SS
MS
Variation
Between
statistic
2
-groups
Within -groups
34
4653.5
2326.7
9478.8
278.79
4
Total
F-
36
14132.4
1
8.35
We dont know
of
independent
samples
t-tests
3. Multiple-comparison
comparison tests
The frequently used tests with there suitability
to the situations are,
- t-test for the paired or independent
groups
(with or without adjusting the level
downward);
- Bonferronis t-method
- Dunns multiple-comparison procedure;
Scheff test:
Suitable for pair-wise comparison
between all groups, not simply pair
wise compare
Corrects for the increased risk of a
Type I error (most conservative posthoc test)
Dunnet test:
Useful for planned comparisons,
e.g. comparing two different groups
against a single control group
Less stringent than Scheff