Ermi Stat LL ch5
Ermi Stat LL ch5
F
1 2 3 4
Analysis of
Variance3e`1`
Total variation
Variation due to
treatment
One-Way ANOVA
Partitions Total Variation
Total variation
Total variation
Total variation
H :
0 F M B
One-Way ANOVA
A random sample of the students in each
row was taken
The score for those students on the
second exam was recorded
Front: 82, 83, 97, 93, 55, 67, 53
Middle: 83, 78, 68, 61, 77, 54, 69, 51, 63
Back: 38, 59, 55, 66, 45, 52, 52, 61
Question: At the .05 level, is there a difference
in mean in each row?
One-Way ANOVA
The summary statistics for the grades of each row
are shown in the table below
Source SS df MS F p
Between
Within
Total
One-Way ANOVA
Grand Mean k
The grand mean is the average of all the n x
x
i i
values when the factor is ignored i 1
k
It is a weighted average of the individual
n
sample means i
i 1
n x n x n x
x 1 1 2 2 k k
n n n 1 2 k
One-Way ANOVA
Between Group Variation, SS(B)
The between group variation is the variation between
each sample mean and the grand mean
Each individual variation is weighted by the sample
size
SS B n x x
k 2
i i
i 1
SS B n x x n x x n x x
2 2 2
1 1 2 2 k k
One-Way ANOVA
Within Group Variation, SS(W)
The Within Group Variation is the weighted total of
the individual variations
The weighting is done with the degrees of freedom
The df for each sample is one less than the sample
size for that sample.
One-Way ANOVA
Within Group Variation
SS W df s
k
2
i i
i 1
SS W df s df s df s
2
1 1 2
2
2 k
2
k
Total Variation
SS Total Y11 Y Y21 Y Yij Y
2 2 2
Response, Y
Y
Response, Y
Y3
Y
Y2
Y1
Response, Y
Y3
Y2
Y1
2. Degrees of Freedom
1 = p -1
2 = n - p
p = # Populations, Groups, or Levels
n = Total Sample Size
One-Way ANOVA
Summary Table
Do Not
Reject H0
0 F
Fa ( p1, np)
Always One-Tail!
One-Way ANOVA
Variances
The variances are also called the Mean of the
Squares and abbreviated by MS, often with an
accompanying variable MS(B) or MS(W)
They are an average squared deviation from the
mean and are found by dividing the variation by the
degrees of freedom
MS = SS / df
Variation
Variance
df
One-Way ANOVA
Special Variances
The MS(Within) is also known as the pooled
estimate of the variance since it is a weighted
average of the individual variances
Sometimes abbreviated s 2
p
The MS(Total) is the variance of the response
variable.
Not technically part of ANOVA table, but useful none the
less
One-Way ANOVA
Adding F to the table …
Source SS df MS F p
Continued.