Cap 11 Doane
Cap 11 Doane
Cap 11 Doane
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-1
Chapter 11
Analysis of Variance
Chapter Contents
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-2
Chapter 11
Chapter Learning Objectives (LOs)
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-3
Chapter 11
Chapter Learning Objectives (LOs), continued
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-4
Chapter 11
11.1 Overview of ANOVA
LO11-1: Use basic ANOVA terminology correctly.
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-5
Chapter 11
LO11-1: Use basic ANOVA terminology correctly
(continued).
The Goal: Explaining Variation
• ANOVA seeks to identify sources of variation in a
numerical dependent variable Y (the response
variable).
• Variation in Y about its mean is explained by one or
more categorical independent variables (the factors) or
is unexplained (random error).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-6
Chapter 11
LO11-1: Use basic ANOVA terminology correctly
(continued, 2).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-7
Chapter 11
LO11-1: Use basic ANOVA terminology correctly
(continued, 3).
Illustration: Manufacturing Defect Rates
• Figure 11.1 (on next slide) shows a dot plot of daily defect rates
for automotive computer chips manufactured at four plant
locations. Samples of 10 days’ production were taken at each
plant.
• Are the observed differences in the plants’ sample mean defect
rates merely due to random variation?
• Or are the observed differences between the plants’ defect
rates too great to be attributed to chance?
• This is the kind of question that one-factor ANOVA is designed
to answer.
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-8
Chapter 11
LO11-1: Use basic ANOVA terminology correctly
(continued, 4).
Illustration: Manufacturing Defect Rates (continued)
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-9
Chapter 11
LO11-1: Use basic ANOVA terminology correctly
(continued, 5).
Illustration: Manufacturing Defect Rates (continued)
H0: μ1 = μ2 = μ3 = μ4 (mean defect rates are the same at all four plants)
H1: Not all the means are equal (at least one mean differs from the others)
If we cannot reject H0, then we conclude that the observations within each
treatment or group actually have a common mean μ (represented by a dashed
line in Figure 11.1).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-10
Chapter 11
LO11-1: Use basic ANOVA terminology correctly
(continued, 6).
Illustration: Manufacturing Defect Rates (continued)
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-11
Chapter 11
LO11-2: Explain the assumptions of ANOVA and why they
are important.
ANOVA Assumptions
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-12
Chapter 11
LO11-2: Explain the assumptions of ANOVA and why they
are important (continued).
ANOVA Calculations
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-13
Chapter 11
11.2 One-Factor ANOVA (Completely
Randomized Model)
LO11-3: Recognize from data format when one-factor ANOVA
is appropriate.
Data Format
A one-factor ANOVA only compares the means of c groups
(treatments or factor levels).
Consider the format for a one-factor ANOVA with treatments T1,
T2, …, Tc. Refer to the next slide.
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-14
Chapter 11
LO11-3: Recognize from data format when one-factor
ANOVA is appropriate (continued).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-15
Chapter 11
LO11-3: Recognize from data format when one-factor
ANOVA is appropriate (continued, 2).
Data Format (continued)
Sample sizes within each treatment do not need to be equal (i.e.,
balanced).
The total number of observations is equal to n = n1 + n2 + … + nc
Hypothesis to Be Tested
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-18
Chapter 11
LO11-4: Interpret sums of squares and calculations in
an ANOVA table.
Group Means
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-19
Chapter 11
LO11-4: Interpret sums of squares and calculations in
an ANOVA table (continued).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-20
Chapter 11
LO11-4: Interpret sums of squares and calculations in
an ANOVA table (continued, 2).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-21
Chapter 11
LO11-4: Interpret sums of squares and calculations in
an ANOVA table (continued, 3).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-22
Chapter 11
LO11-4: Interpret sums of squares and calculations in
an ANOVA table (continued, 4).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-23
Chapter 11
LO11-4: Interpret sums of squares and calculations in
an ANOVA table (continued, 5).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-24
Chapter 11
LO11-5: Use EXCEL or other software for ANOVA
calculations.
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-25
Chapter 11
LO11-5: Use EXCEL or other software for ANOVA
calculations (continued).
Test Statistic
The ANOVA test statistic is an F test statistic.
The F distribution describes the ratio of two variances.
The F statistic is the ratio of the variance due to treatments (MSB)
to the variance due to error (MSE).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-27
Chapter 11
LO11-5: Use EXCEL or other software for ANOVA
calculations (continued, 3).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-28
Chapter 11
LO11-5: Use EXCEL or other software for ANOVA
calculations (continued, 4).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-29
Chapter 11
LO11-5: Use EXCEL or other software for ANOVA
calculations (continued, 5).
Figure 11.6
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-30
Chapter 11
LO11-5: Use EXCEL or other software for ANOVA
calculations (continued, 6).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-32
Chapter 11
LO11-6: Use a table or Excel to find critical values for the
F distribution (continued).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-33
Chapter 11
LO11-6: Use a table or Excel to find critical values for the
F distribution (continued, 2).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-35
Chapter 11
LO11-7: Understand and perform Tukey's test for paired
means (continued).
Tukey’s Test (continued)
Tukey’s studentized range test (or HSD for
“honestly significant difference” test) is a multiple
comparison test that has good power and is widely
used.
Named for statistician John Wilder Tukey (1915 –
2000)
This test is not available in Excel’s Tools > Data
Analysis but is available in most statistical
packages.
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-36
Chapter 11
LO11-7: Understand and perform Tukey's test for paired
means (continued, 2).
Decision Rule
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-38
Chapter 11
LO11-7: Understand and perform Tukey's test for paired
means (continued, 4).
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-39
Chapter 11
11.4 Tests for Homogeneity of
Variances
LO11-8: Use Hartley’s test for equal variances in c treatment
groups.
ANOVA Assumptions
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-40
Chapter 11
LO11-8: Use Hartley's test for equal variances
in c treatment groups (continued).
Hartley’s Test
The hypotheses are:
The test statistic is the ratio of the largest sample variance to the
smallest sample variance.
𝑚𝑎𝑥 ( 𝑠1 , 𝑠 2 ,… , 𝑠𝑐 )
2 2 2 2
𝑠𝑚𝑎𝑥
𝐻 𝑐𝑎𝑙𝑐 = =
𝑚 𝑖𝑛 ( 𝑠1 , 𝑠 2 , … , 𝑠𝑐 )
2 2 2 2
𝑠 𝑚𝑖𝑛
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-41
Chapter 11
LO11-8: Use Hartley's test for equal variances in c
treatment groups (continued, 2).
Hartley’s Test (continued)
The decision rule is:
Reject if
Assuming equal
group sizes,
critical values of
Fmax are found
using degrees
of freedom
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-43
Chapter 11
LO11-8: Use Hartley's test for equal variances in c
treatment groups (continued, 4).
Levene’s Test
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-44
Chapter 11
LO11-8: Use Hartley's test for equal variances in c
treatment groups (continued, 5).
Levene’s Test (continued)
for the
carton-packing data
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-45
Chapter 11
Please refer to your text for information
on Sections 11.5, 11.6 and 11.7
Copyright ©2019 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the
prior written consent of McGraw-Hill Education. 11-46