Oneway
Oneway
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
One-Way ANOVA
The summary statistics for the grades of each row
are shown in the table below
Source SS df MS F
Between
Within
Total
One-Way ANOVA
Grand Mean k
The grand mean is the average of all the n x i i
values when the factor is ignored
It is a weighted average of the individual
x i 1
k
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
Grand Mean for our example is 65.08
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
The Between Group Variation for our example is
SS(B)=1902
SS B 7 75.71 65.08 9 67.11 65.08 8 53.50 65.08
2 2 2
SS B 1900.8376 1902
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
One-Way ANOVA
The within group variation for our example
is 3386
Source SS df MS F
Between 1902
Within 3386
Total 5288
One-Way ANOVA
Degrees of Freedom, df
A degree of freedom occurs for each value that can
vary before the rest of the values are predetermined
For example, if you had six numbers that had an
average of 40, you would know that the total had to
be 240. Five of the six numbers could be anything,
but once the first five are known, the last one is fixed
so the sum is 240. The df would be 6-1=5
The df is often one less than the number of values
One-Way ANOVA
The between group df is one less than the
number of groups
We have three groups, so df(B) = 2
The within group df is the sum of the individual
df’s of each group
The sample sizes are 7, 9, and 8
df(W) = 6 + 8 + 7 = 21
The total df is one less than the sample size
df(Total) = 24 – 1 = 23
One-Way ANOVA
Filling in the degrees of freedom gives this …
Source SS df MS F
Between 1902 2
Within 3386 21
Total 5288 23
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
MS(B) = 1902 / 2 = 951.0
MS(W) = 3386 / 21 = 161.2
MS(T) = 5288 / 23 = 229.9
Notice that the MS(Total) is NOT the sum of
MS(Between) and MS(Within).
This works for the sum of squares SS(Total),
but not the mean square MS(Total)
The MS(Total) isn’t usually shown
One-Way ANOVA
Completing the MS gives …
Source SS df MS F
Source SS df MS F
Source SS df MS F
76014.
Five parachutes are woven using the fiber supplied by
each group—Supplier 1, Supplier 2, Supplier 3, and
Supplier 4. You perform the experiment of testing the
strength of each of the 20 parachutes by collecting the
tensile strength measurement of each parachute. The
strength of the parachutes is measured by placing
them in a testing device that pulls on both ends of a
parachute until it tears apart. The amount of force
required to tear the parachute is measured on a
tensile strength scale, where the larger the value, the
stronger the parachute.
Test whether significant differences exist in the
average strength of parachutes woven using synthetic
fiber purchased from each of the four suppliers (5%
level of significance)
SUMMARY
Groups Count Sum Average Variance
Column 1 5 97.6 19.52 7.237
Column 2 5 121.3 24.26 3.683
Column 3 5 114.2 22.84 4.553
Column 4 5 105.8 21.16 8.903
ANOVA
Source of Variation SS df MS F P-value F crit
Between Groups 63.2855 3 21.09517 3.461628925 0.041366 3.238872
Within Groups 97.504 16 6.094
Total 160.7895 19