Math 1070-Chapter 27 Notes One-Way Analysis of Variance (ANOVA) : Comparing Several Means by Using ANOVA F Test
Math 1070-Chapter 27 Notes One-Way Analysis of Variance (ANOVA) : Comparing Several Means by Using ANOVA F Test
Math 1070-Chapter 27 Notes One-Way Analysis of Variance (ANOVA) : Comparing Several Means by Using ANOVA F Test
Ch 21 Ch 27
The number of comparing populations(or groups) 2 3 (or more)
H0 µ1 = µ2 µ1 = µ2 = µ3
µ1 6= µ2 H0 is not true.
Ha µ1 < µ2 =
µ1 > µ2 Not all of µ1 , µ2 , and µ3 are equal.
Significance Test t test ANOVA F test
Test statistic t = rxs12−x2s2 F = MSG
MSE
1+ 2
n1 n2
2 Example
Table 27.1 gives length measurements (in millimeters) for samples of three va-
the three varieties display distinct distributions of length? In particular, are the
1
2.1 Preliminary works
2
2.1.2 Conditions for using ANOVA inference
In the second condition, ANOVA becomes safe if the sample sizes is large
even though there is not normality assumption , because of the CLT. The third
condition is annoying: It is not easy to check the condition that the populations
have equal standard deviations. Here is a rule of thumb that is safe in almost
all situations.
largest sample sd
smallest sample sd <2
Let’s check if standard deviations above satisfy rule of thumb. If yes then we
3
2.1.3 F distribution and F Table
Our brief notation will be F (df1, df2) for the F distribution with df1 degrees
4
2.2 The ANOVA F test
observations.
• Since F Table does not have df2 = 51, we take df2 = 50 close to 51 and
5
2.2.3 Step 3) ANOVA F statistic
Overall mean x is the mean of all N observations together. You can find x
6
• How to calculate
MSG 541.74
F = MSE = 2.09 = 259.20
7
• In Excel
Our work differs slightly from the output in Excel because of roundoff error.
• Method 1)
• Method 2)
Since P −value = P (F (2, 51) > 259.20) ≈ 0, which means that α > P −value,
we reject H0 .
8
3 Exercise
a 5-point scale for a national random sample of students. Here are summaries
for students who were taking math at the time of the survey assuming that all
Racial/ethnic group n x s
African American 10 2.57 1.40
White 14 2.32 1.36
Asian/Pacific Islander 6 2.63 1.32
(a) Can we safely use ANOVA F test to compare the mean for the three popu-
lations?
9
10