SlideShare a Scribd company logo
Chap 17-1
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc.
Chapter 17
Analysis of Variance
Statistics for
Business and Economics
6th Edition
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-2
Chapter Goals
After completing this chapter, you should be able
to:
 Recognize situations in which to use analysis of variance
 Understand different analysis of variance designs
 Perform a one-way and two-way analysis of variance and
interpret the results
 Conduct and interpret a Kruskal-Wallis test
 Analyze two-factor analysis of variance tests with more than
one observation per cell
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-3
One-Way Analysis of Variance
 Evaluate the difference among the means of three
or more groups
Examples: Average production for 1st, 2nd, and 3rd shift
Expected mileage for five brands of tires
 Assumptions
 Populations are normally distributed
 Populations have equal variances
 Samples are randomly and independently drawn
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-4
Hypotheses of One-Way ANOVA

 All population means are equal
 i.e., no variation in means between groups

 At least one population mean is different
 i.e., there is variation between groups
 Does not mean that all population means are different
(some pairs may be the same)
K
3
2
1
0 μ
μ
μ
μ
:
H 


 
pair
j
i,
one
least
at
for
μ
μ
:
H j
i
1 
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-5
One-Way ANOVA
All Means are the same:
The Null Hypothesis is True
(No variation between
groups)
K
3
2
1
0 μ
μ
μ
μ
:
H 


 
same
the
are
μ
all
Not
:
H i
1
3
2
1 μ
μ
μ 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-6
One-Way ANOVA
At least one mean is different:
The Null Hypothesis is NOT true
(Variation is present between groups)
3
2
1 μ
μ
μ 
 3
2
1 μ
μ
μ 

or
(continued)
K
3
2
1
0 μ
μ
μ
μ
:
H 


 
same
the
are
μ
all
Not
:
H i
1
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-7
Variability
 The variability of the data is key factor to test the
equality of means
 In each case below, the means may look different, but a
large variation within groups in B makes the evidence
that the means are different weak
Small variation within groups
A B C
Group
A B C
Group
Large variation within groups
A B
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-8
Partitioning the Variation
 Total variation can be split into two parts:
SST = Total Sum of Squares
Total Variation = the aggregate dispersion of the individual
data values across the various groups
SSW = Sum of Squares Within Groups
Within-Group Variation = dispersion that exists among the
data values within a particular group
SSG = Sum of Squares Between Groups
Between-Group Variation = dispersion between the group
sample means
SST = SSW + SSG
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-9
Partition of Total Variation
Variation due to
differences
between groups
(SSG)
Variation due to
random sampling
(SSW)
Total Sum of Squares
(SST)
= +
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-10
Total Sum of Squares
Where:
SST = Total sum of squares
K = number of groups (levels or treatments)
ni = number of observations in group i
xij = jth observation from group i
x = overall sample mean
SST = SSW + SSG

 


K
1
i
n
1
j
2
ij
i
)
x
(x
SST
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-11
Total Variation
Group 1 Group 2 Group 3
Response, X
2
Kn
2
12
2
11 )
x
(x
...
)
x
(X
)
x
(x
SST K







(continued)
x
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-12
Within-Group Variation
Where:
SSW = Sum of squares within groups
K = number of groups
ni = sample size from group i
Xi = sample mean from group i
Xij = jth observation in group i
SST = SSW + SSG

 


K
1
i
n
1
j
2
i
ij
i
)
x
(x
SSW
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-13
Within-Group Variation
Summing the variation
within each group and then
adding over all groups K
n
SSW
MSW


Mean Square Within =
SSW/degrees of freedom
(continued)

 


K
1
i
n
1
j
2
i
ij
i
)
x
(x
SSW
i
μ
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-14
Within-Group Variation
Group 1 Group 2 Group 3
Response, X
2
K
Kn
2
1
12
2
1
11 )
x
(x
...
)
x
(x
)
x
(x
SSW K







(continued)
1
x 2
x
3
x
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-15
Between-Group Variation
Where:
SSG = Sum of squares between groups
K = number of groups
ni = sample size from group i
xi = sample mean from group i
x = grand mean (mean of all data values)
2
i
K
1
i
i )
x
x
(
n
SSG 
 

SST = SSW + SSG
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-16
Between-Group Variation
Variation Due to
Differences Between Groups
1
K
SSG
MSG


Mean Square Between Groups
= SSG/degrees of freedom
(continued)
2
i
K
1
i
i )
x
x
(
n
SSG 
 

i
μ j
μ
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-17
Between-Group Variation
Group 1 Group 2 Group 3
Response, X
2
K
K
2
2
2
2
1
1 )
x
x
(
n
...
)
x
x
(
n
)
x
x
(
n
SSG 






(continued)
1
x 2
x
3
x
x
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-18
Obtaining the Mean Squares
K
n
SSW
MSW


1
K
SSG
MSG


1
n
SST
MST


Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-19
One-Way ANOVA Table
Source of
Variation
df
SS MS
(Variance)
Between
Groups
SSG MSG =
Within
Groups
n - K
SSW MSW =
Total n - 1
SST =
SSG+SSW
K - 1
MSG
MSW
F ratio
K = number of groups
n = sum of the sample sizes from all groups
df = degrees of freedom
SSG
K - 1
SSW
n - K
F =
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-20
One-Factor ANOVA
F Test Statistic
 Test statistic
MSG is mean squares between variances
MSW is mean squares within variances
 Degrees of freedom
 df1 = K – 1 (K = number of groups)
 df2 = n – K (n = sum of sample sizes from all groups)
MSW
MSG
F 
H0: μ1= μ2 = … = μK
H1: At least two population means are different
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-21
Interpreting the F Statistic
 The F statistic is the ratio of the between
estimate of variance and the within estimate
of variance
 The ratio must always be positive
 df1 = K -1 will typically be small
 df2 = n - K will typically be large
Decision Rule:
 Reject H0 if
F > FK-1,n-K,
0
 = .05
Reject H0
Do not
reject H0
FK-1,n-K,
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-22
One-Factor ANOVA
F Test Example
You want to see if three
different golf clubs yield
different distances. You
randomly select five
measurements from trials on
an automated driving
machine for each club. At the
.05 significance level, is there
a difference in mean
distance?
Club 1 Club 2 Club 3
254 234 200
263 218 222
241 235 197
237 227 206
251 216 204
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-23
•
•
•
•
•
One-Factor ANOVA Example:
Scatter Diagram
270
260
250
240
230
220
210
200
190
•
•
•
•
•
•
•
•
•
•
Distance
227.0
x
205.8
x
226.0
x
249.2
x 3
2
1




Club 1 Club 2 Club 3
254 234 200
263 218 222
241 235 197
237 227 206
251 216 204
Club
1 2 3
1
x
2
x
3
x
x
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-24
One-Factor ANOVA Example
Computations
Club 1 Club 2 Club 3
254 234 200
263 218 222
241 235 197
237 227 206
251 216 204
x1 = 249.2
x2 = 226.0
x3 = 205.8
x = 227.0
n1 = 5
n2 = 5
n3 = 5
n = 15
K = 3
SSG = 5 (249.2 – 227)2 + 5 (226 – 227)2 + 5 (205.8 – 227)2 = 4716.4
SSW = (254 – 249.2)2 + (263 – 249.2)2 +…+ (204 – 205.8)2 = 1119.6
MSG = 4716.4 / (3-1) = 2358.2
MSW = 1119.6 / (15-3) = 93.3
25.275
93.3
2358.2
F 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-25
F = 25.275
One-Factor ANOVA Example
Solution
H0: μ1 = μ2 = μ3
H1: μi not all equal
 = .05
df1= 2 df2 = 12
Test Statistic:
Decision:
Conclusion:
Reject H0 at  = 0.05
There is evidence that
at least one μi differs
from the rest
0
 = .05
Reject H0
Do not
reject H0
25.275
93.3
2358.2
MSW
MSA
F 


Critical Value:
F2,12,.05= 3.89
F2,12,.05 = 3.89
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-26
SUMMARY
Groups Count Sum Average Variance
Club 1 5 1246 249.2 108.2
Club 2 5 1130 226 77.5
Club 3 5 1029 205.8 94.2
ANOVA
Source of
Variation
SS df MS F P-value F crit
Between
Groups
4716.4 2 2358.2 25.275 4.99E-05 3.89
Within
Groups
1119.6 12 93.3
Total 5836.0 14
ANOVA -- Single Factor:
Excel Output
EXCEL: tools | data analysis | ANOVA: single factor
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-27
Kruskal-Wallis Test
 Use when the normality assumption for one-
way ANOVA is violated
 Assumptions:
 The samples are random and independent
 variables have a continuous distribution
 the data can be ranked
 populations have the same variability
 populations have the same shape
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-28
Kruskal-Wallis Test Procedure
 Obtain relative rankings for each value
 In event of tie, each of the tied values gets the
average rank
 Sum the rankings for data from each of the K
groups
 Compute the Kruskal-Wallis test statistic
 Evaluate using the chi-square distribution with K – 1
degrees of freedom
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-29
Kruskal-Wallis Test Procedure
 The Kruskal-Wallis test statistic:
(chi-square with K – 1 degrees of freedom)
1)
3(n
n
R
1)
n(n
12
W
K
1
i i
2
i









 

where:
n = sum of sample sizes in all groups
K = Number of samples
Ri = Sum of ranks in the ith group
ni = Size of the ith group
(continued)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-30
Decision rule
 Reject H0 if W > 2
K–1,
 Otherwise do not reject H0
(continued)
Kruskal-Wallis Test Procedure
 Complete the test by comparing the
calculated H value to a critical 2 value from
the chi-square distribution with K – 1
degrees of freedom
2
2
K–1,
0

Reject H0
Do not
reject H0
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-31
 Do different departments have different class
sizes?
Kruskal-Wallis Example
Class size
(Math, M)
Class size
(English, E)
Class size
(Biology, B)
23
45
54
78
66
55
60
72
45
70
30
40
18
34
44
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-32
 Do different departments have different class
sizes?
Kruskal-Wallis Example
Class size
(Math, M)
Ranking
Class size
(English, E)
Ranking
Class size
(Biology, B)
Ranking
23
41
54
78
66
2
6
9
15
12
55
60
72
45
70
10
11
14
8
13
30
40
18
34
44
3
5
1
4
7
 = 44  = 56  = 20
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-33
 The W statistic is
(continued)
Kruskal-Wallis Example
6.72
1)
3(15
5
20
5
56
5
44
1)
15(15
12
1)
3(n
n
R
1)
n(n
12
W
2
2
2
K
1
i i
2
i






























 

equal
are
means
population
all
Not
:
H
Mean
Mean
Mean
:
H
1
B
E
M
0 

Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-34
Since H = 6.72 > ,
reject H0
(continued)
Kruskal-Wallis Example
5.991
2
2,0.05 
χ
 Compare W = 6.72 to the critical value from
the chi-square distribution for 3 – 1 = 2
degrees of freedom and  = .05:
5.991
2
2,0.05 

There is sufficient evidence to reject that
the population means are all equal
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-35
Two-Way Analysis of Variance
 Examines the effect of
 Two factors of interest on the dependent
variable
 e.g., Percent carbonation and line speed on soft drink
bottling process
 Interaction between the different levels of these
two factors
 e.g., Does the effect of one particular carbonation
level depend on which level the line speed is set?
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-36
Two-Way ANOVA
 Assumptions
 Populations are normally distributed
 Populations have equal variances
 Independent random samples are
drawn
(continued)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-37
Randomized Block Design
Two Factors of interest: A and B
K = number of groups of factor A
H = number of levels of factor B
(sometimes called a blocking variable)
Block
Group
1 2 … K
1
2
.
.
H
x11
x12
.
.
x1H
x21
x22
.
.
x2H
…
…
.
.
…
xK1
xK2
.
.
xKH
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-38
Two-Way Notation
 Let xji denote the observation in the jth group and ith
block
 Suppose that there are K groups and H blocks, for a
total of n = KH observations
 Let the overall mean be x
 Denote the group sample means by
 Denote the block sample means by
K)
,
1,2,
(j
xj 


)
H
,
1,2,
(i
x i 


Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-39
Partition of Total Variation
Variation due to
differences between
groups (SSG)
Variation due to
random sampling
(unexplained error)
(SSE)
Total Sum of
Squares (SST) =
+
Variation due to
differences between
blocks (SSB)
+
 SST = SSG + SSB + SSE
The error terms are assumed
to be independent, normally
distributed, and have the same
variance
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-40
Two-Way Sums of Squares
 The sums of squares are


 

H
1
i
2
i )
x
(x
K
SSB
:
Blocks
-
Between


 

K
1
j
2
j )
x
x
(
H
SSG
:
Groups
-
Between

 


K
1
j
H
1
i
2
ji )
x
(x
SST
:
Total

 

 



K
1
j
H
1
i
2
i
j
ji )
x
x
x
(x
SSE
:
Error
Degrees of
Freedom:
n – 1
K – 1
H – 1
(K – 1)(K – 1)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-41
Two-Way Mean Squares
 The mean squares are
1)
1)(H
(K
SSE
MSE
1
H
SST
MSB
1
K
SST
MSG
1
n
SST
MST









Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-42
Two-Way ANOVA:
The F Test Statistic
F Test for Blocks
H0: The K population group
means are all the same
F Test for Groups
H0: The H population block
means are the same
Reject H0 if
F > FK-1,(K-1)(H-1),
MSE
MSG
F 
MSE
MSB
F  Reject H0 if
F > FH-1,(K-1)(H-1),
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-43
General Two-Way Table Format
Source of
Variation
Sum of
Squares
Degrees of
Freedom
Mean Squares F Ratio
Between
groups
Between
blocks
Error
Total
SSG
SSB
SSE
SST
K – 1
H – 1
(K – 1)(H – 1)
n - 1
1
K
SSG
MSG


1
H
SSB
MSB


1)
1)(H
(K
SSE
MSE



MSE
MSG
MSE
MSB
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-44
 A two-way design with more than one
observation per cell allows one further source
of variation
 The interaction between groups and blocks
can also be identified
 Let
 K = number of groups
 H = number of blocks
 L = number of observations per cell
 n = KHL = total number of observations
More than One
Observation per Cell
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-45
More than One
Observation per Cell
SST
Total Variation
SSG
Between-group variation
SSB
Between-block variation
SSI
Variation due to interaction
between groups and blocks
SSE
Random variation (Error)
Degrees of
Freedom:
K – 1
H – 1
(K – 1)(H – 1)
KH(L – 1)
n – 1
SST = SSG + SSB + SSI + SSE
(continued)
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-46
Sums of Squares with Interaction



 

H
1
i
2
i )
x
(x
KL
SSB
:
blocks
-
Between



 

K
1
j
2
j )
x
x
(
HL
SSG
:
groups
-
Between
2
j i l
jil )
x
(x
SST
:
Total 
 
2
ji
i j l
jil )
x
(x
SSE
:
Error 

 

 




 



K
1
j
H
1
i
2
i
j
ji )
x
x
x
x
(
L
SSI
:
n
Interactio
Degrees of Freedom:
K – 1
H – 1
(K – 1)(H – 1)
KH(L – 1)
n - 1
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-47
Two-Way Mean Squares
with Interaction
 The mean squares are
1)
KH(L
SSE
MSE
1)
1)(H
-
(K
SSI
MSI
1
H
SST
MSB
1
K
SST
MSG
1
n
SST
MST










Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-48
Two-Way ANOVA:
The F Test Statistic
F Test for block effect
F Test for interaction effect
H0: the interaction of groups and
blocks is equal to zero
F Test for group effect
MSE
MSG
F 
MSE
MSB
F 
MSE
MSI
F 
H0: The K population group
means are all the same
H0: The H population block
means are the same
Reject H0 if
F > FK-1,KH(L-1),
Reject H0 if
F > FH-1,KH(L-1),
Reject H0 if
F > F(K-1)(H-1),KH(L-1),
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-49
Two-Way ANOVA
Summary Table
Source of
Variation
Sum of
Squares
Degrees of
Freedom
Mean
Squares
F
Statistic
Between
groups
SSG K – 1
MSG
= SSG / (K – 1)
MSG
MSE
Between
blocks
SSB H – 1
MSB
= SSB / (H – 1)
MSB
MSE
Interaction SSI (K – 1)(H – 1)
MSI
= SSI / (K – 1)(H – 1)
MSI
MSE
Error SSE KH(L – 1)
MSE
= SSE / KH(L – 1)
Total SST n – 1
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-50
Features of Two-Way
ANOVA F Test
 Degrees of freedom always add up
 n-1 = KHL-1 = (K-1) + (H-1) + (K-1)(H-1) + KH(L-1)
 Total = groups + blocks + interaction + error
 The denominator of the F Test is always the
same but the numerator is different
 The sums of squares always add up
 SST = SSG + SSB + SSI + SSE
 Total = groups + blocks + interaction + error
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-51
Examples:
Interaction vs. No Interaction
 No interaction:
Block Level 1
Block Level 3
Block Level 2
Groups
Block Level 1
Block Level 3
Block Level 2
Groups
Mean
Response
Mean
Response
 Interaction is
present:
A B C A B C
Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-52
Chapter Summary
 Described one-way analysis of variance
 The logic of Analysis of Variance
 Analysis of Variance assumptions
 F test for difference in K means
 Applied the Kruskal-Wallis test when the
populations are not known to be normal
 Described two-way analysis of variance
 Examined effects of multiple factors
 Examined interaction between factors

More Related Content

Similar to Newbold_chap17.ppt

chap07.ppt
chap07.pptchap07.ppt
chap07.ppt
Murat Öztürkmen
 
Newbold_chap07.ppt
Newbold_chap07.pptNewbold_chap07.ppt
Newbold_chap07.ppt
cfisicaster
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
NivedhanK1
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
Elisha Gogo
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
GarrinBioinformatics
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
Mishimehar1
 
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
prasad439227
 
Newbold_chap03.ppt
Newbold_chap03.pptNewbold_chap03.ppt
Newbold_chap03.ppt
cfisicaster
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
praba karan
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
HazilahMohd
 
Anova (Analysis of variation)
Anova (Analysis of variation)Anova (Analysis of variation)
Anova (Analysis of variation)
Shakeel Rehman
 
Application of ANOVA
Application of ANOVAApplication of ANOVA
Application of ANOVA
Rohit Patidar
 
anova.ppt
anova.pptanova.ppt
anova.ppt
swetachaudhari7
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)Marianne Maluyo
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering material
TeluguSudhakar3
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
Unsa Shakir
 
Exercise 26 photo.docxLesson 26 Exercise File 2.savQue.docx
Exercise 26 photo.docxLesson 26 Exercise File 2.savQue.docxExercise 26 photo.docxLesson 26 Exercise File 2.savQue.docx
Exercise 26 photo.docxLesson 26 Exercise File 2.savQue.docx
gitagrimston
 
One-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual FoundationsOne-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual Foundations
smackinnon
 

Similar to Newbold_chap17.ppt (20)

chap07.ppt
chap07.pptchap07.ppt
chap07.ppt
 
Newbold_chap07.ppt
Newbold_chap07.pptNewbold_chap07.ppt
Newbold_chap07.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt
ANOVAs01.pptANOVAs01.ppt
ANOVAs01.ppt
 
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOIANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
ANOVAs01.ppt KHLUGYIFTFYLYUGUH;OUYYUHJLNOI
 
Newbold_chap03.ppt
Newbold_chap03.pptNewbold_chap03.ppt
Newbold_chap03.ppt
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
Anova (Analysis of variation)
Anova (Analysis of variation)Anova (Analysis of variation)
Anova (Analysis of variation)
 
Application of ANOVA
Application of ANOVAApplication of ANOVA
Application of ANOVA
 
anova.ppt
anova.pptanova.ppt
anova.ppt
 
F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)F test Analysis of Variance (ANOVA)
F test Analysis of Variance (ANOVA)
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering material
 
analytical representation of data
 analytical representation of data analytical representation of data
analytical representation of data
 
Exercise 26 photo.docxLesson 26 Exercise File 2.savQue.docx
Exercise 26 photo.docxLesson 26 Exercise File 2.savQue.docxExercise 26 photo.docxLesson 26 Exercise File 2.savQue.docx
Exercise 26 photo.docxLesson 26 Exercise File 2.savQue.docx
 
One-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual FoundationsOne-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual Foundations
 
Chap09
Chap09Chap09
Chap09
 

More from cfisicaster

slidesWaveRegular.pdf
slidesWaveRegular.pdfslidesWaveRegular.pdf
slidesWaveRegular.pdf
cfisicaster
 
WavesNotesAnswers.pdf
WavesNotesAnswers.pdfWavesNotesAnswers.pdf
WavesNotesAnswers.pdf
cfisicaster
 
WavesLoading.pdf
WavesLoading.pdfWavesLoading.pdf
WavesLoading.pdf
cfisicaster
 
WavesTransformation.pdf
WavesTransformation.pdfWavesTransformation.pdf
WavesTransformation.pdf
cfisicaster
 
WavesAppendix.pdf
WavesAppendix.pdfWavesAppendix.pdf
WavesAppendix.pdf
cfisicaster
 
WavesLinear.pdf
WavesLinear.pdfWavesLinear.pdf
WavesLinear.pdf
cfisicaster
 
WavesExamplesAnswers.pdf
WavesExamplesAnswers.pdfWavesExamplesAnswers.pdf
WavesExamplesAnswers.pdf
cfisicaster
 
slidesWaveTransformation.pdf
slidesWaveTransformation.pdfslidesWaveTransformation.pdf
slidesWaveTransformation.pdf
cfisicaster
 
WavesStatistics.pdf
WavesStatistics.pdfWavesStatistics.pdf
WavesStatistics.pdf
cfisicaster
 
slidesWaveLoading.pdf
slidesWaveLoading.pdfslidesWaveLoading.pdf
slidesWaveLoading.pdf
cfisicaster
 
WavesExamples.pdf
WavesExamples.pdfWavesExamples.pdf
WavesExamples.pdf
cfisicaster
 
slidesWaveStatistics.pdf
slidesWaveStatistics.pdfslidesWaveStatistics.pdf
slidesWaveStatistics.pdf
cfisicaster
 
WavesSchedule.pdf
WavesSchedule.pdfWavesSchedule.pdf
WavesSchedule.pdf
cfisicaster
 
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
cfisicaster
 
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdfMario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
cfisicaster
 
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
cfisicaster
 
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
cfisicaster
 
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
cfisicaster
 
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
cfisicaster
 
Fisica2.pdf
Fisica2.pdfFisica2.pdf
Fisica2.pdf
cfisicaster
 

More from cfisicaster (20)

slidesWaveRegular.pdf
slidesWaveRegular.pdfslidesWaveRegular.pdf
slidesWaveRegular.pdf
 
WavesNotesAnswers.pdf
WavesNotesAnswers.pdfWavesNotesAnswers.pdf
WavesNotesAnswers.pdf
 
WavesLoading.pdf
WavesLoading.pdfWavesLoading.pdf
WavesLoading.pdf
 
WavesTransformation.pdf
WavesTransformation.pdfWavesTransformation.pdf
WavesTransformation.pdf
 
WavesAppendix.pdf
WavesAppendix.pdfWavesAppendix.pdf
WavesAppendix.pdf
 
WavesLinear.pdf
WavesLinear.pdfWavesLinear.pdf
WavesLinear.pdf
 
WavesExamplesAnswers.pdf
WavesExamplesAnswers.pdfWavesExamplesAnswers.pdf
WavesExamplesAnswers.pdf
 
slidesWaveTransformation.pdf
slidesWaveTransformation.pdfslidesWaveTransformation.pdf
slidesWaveTransformation.pdf
 
WavesStatistics.pdf
WavesStatistics.pdfWavesStatistics.pdf
WavesStatistics.pdf
 
slidesWaveLoading.pdf
slidesWaveLoading.pdfslidesWaveLoading.pdf
slidesWaveLoading.pdf
 
WavesExamples.pdf
WavesExamples.pdfWavesExamples.pdf
WavesExamples.pdf
 
slidesWaveStatistics.pdf
slidesWaveStatistics.pdfslidesWaveStatistics.pdf
slidesWaveStatistics.pdf
 
WavesSchedule.pdf
WavesSchedule.pdfWavesSchedule.pdf
WavesSchedule.pdf
 
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
Richard I. Levine - Estadistica para administración (2009, Pearson Educación)...
 
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdfMario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
Mario F. Triola - Estadística (2006, Pearson_Educación) - libgen.li.pdf
 
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...David R. Anderson - Estadistica para administracion y economia (2010) - libge...
David R. Anderson - Estadistica para administracion y economia (2010) - libge...
 
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
Richard I. Levin, David S. Rubin - Estadística para administradores (2004, Pe...
 
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
N. Schlager - Study Materials for MIT Course [8.02T] - Electricity and Magnet...
 
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
Teruo Matsushita - Electricity and Magnetism_ New Formulation by Introduction...
 
Fisica2.pdf
Fisica2.pdfFisica2.pdf
Fisica2.pdf
 

Recently uploaded

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 

Recently uploaded (20)

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 

Newbold_chap17.ppt

  • 1. Chap 17-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 17 Analysis of Variance Statistics for Business and Economics 6th Edition
  • 2. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-2 Chapter Goals After completing this chapter, you should be able to:  Recognize situations in which to use analysis of variance  Understand different analysis of variance designs  Perform a one-way and two-way analysis of variance and interpret the results  Conduct and interpret a Kruskal-Wallis test  Analyze two-factor analysis of variance tests with more than one observation per cell
  • 3. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-3 One-Way Analysis of Variance  Evaluate the difference among the means of three or more groups Examples: Average production for 1st, 2nd, and 3rd shift Expected mileage for five brands of tires  Assumptions  Populations are normally distributed  Populations have equal variances  Samples are randomly and independently drawn
  • 4. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-4 Hypotheses of One-Way ANOVA   All population means are equal  i.e., no variation in means between groups   At least one population mean is different  i.e., there is variation between groups  Does not mean that all population means are different (some pairs may be the same) K 3 2 1 0 μ μ μ μ : H      pair j i, one least at for μ μ : H j i 1 
  • 5. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-5 One-Way ANOVA All Means are the same: The Null Hypothesis is True (No variation between groups) K 3 2 1 0 μ μ μ μ : H      same the are μ all Not : H i 1 3 2 1 μ μ μ  
  • 6. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-6 One-Way ANOVA At least one mean is different: The Null Hypothesis is NOT true (Variation is present between groups) 3 2 1 μ μ μ   3 2 1 μ μ μ   or (continued) K 3 2 1 0 μ μ μ μ : H      same the are μ all Not : H i 1
  • 7. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-7 Variability  The variability of the data is key factor to test the equality of means  In each case below, the means may look different, but a large variation within groups in B makes the evidence that the means are different weak Small variation within groups A B C Group A B C Group Large variation within groups A B
  • 8. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-8 Partitioning the Variation  Total variation can be split into two parts: SST = Total Sum of Squares Total Variation = the aggregate dispersion of the individual data values across the various groups SSW = Sum of Squares Within Groups Within-Group Variation = dispersion that exists among the data values within a particular group SSG = Sum of Squares Between Groups Between-Group Variation = dispersion between the group sample means SST = SSW + SSG
  • 9. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-9 Partition of Total Variation Variation due to differences between groups (SSG) Variation due to random sampling (SSW) Total Sum of Squares (SST) = +
  • 10. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-10 Total Sum of Squares Where: SST = Total sum of squares K = number of groups (levels or treatments) ni = number of observations in group i xij = jth observation from group i x = overall sample mean SST = SSW + SSG      K 1 i n 1 j 2 ij i ) x (x SST
  • 11. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-11 Total Variation Group 1 Group 2 Group 3 Response, X 2 Kn 2 12 2 11 ) x (x ... ) x (X ) x (x SST K        (continued) x
  • 12. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-12 Within-Group Variation Where: SSW = Sum of squares within groups K = number of groups ni = sample size from group i Xi = sample mean from group i Xij = jth observation in group i SST = SSW + SSG      K 1 i n 1 j 2 i ij i ) x (x SSW
  • 13. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-13 Within-Group Variation Summing the variation within each group and then adding over all groups K n SSW MSW   Mean Square Within = SSW/degrees of freedom (continued)      K 1 i n 1 j 2 i ij i ) x (x SSW i μ
  • 14. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-14 Within-Group Variation Group 1 Group 2 Group 3 Response, X 2 K Kn 2 1 12 2 1 11 ) x (x ... ) x (x ) x (x SSW K        (continued) 1 x 2 x 3 x
  • 15. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-15 Between-Group Variation Where: SSG = Sum of squares between groups K = number of groups ni = sample size from group i xi = sample mean from group i x = grand mean (mean of all data values) 2 i K 1 i i ) x x ( n SSG     SST = SSW + SSG
  • 16. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-16 Between-Group Variation Variation Due to Differences Between Groups 1 K SSG MSG   Mean Square Between Groups = SSG/degrees of freedom (continued) 2 i K 1 i i ) x x ( n SSG     i μ j μ
  • 17. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-17 Between-Group Variation Group 1 Group 2 Group 3 Response, X 2 K K 2 2 2 2 1 1 ) x x ( n ... ) x x ( n ) x x ( n SSG        (continued) 1 x 2 x 3 x x
  • 18. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-18 Obtaining the Mean Squares K n SSW MSW   1 K SSG MSG   1 n SST MST  
  • 19. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-19 One-Way ANOVA Table Source of Variation df SS MS (Variance) Between Groups SSG MSG = Within Groups n - K SSW MSW = Total n - 1 SST = SSG+SSW K - 1 MSG MSW F ratio K = number of groups n = sum of the sample sizes from all groups df = degrees of freedom SSG K - 1 SSW n - K F =
  • 20. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-20 One-Factor ANOVA F Test Statistic  Test statistic MSG is mean squares between variances MSW is mean squares within variances  Degrees of freedom  df1 = K – 1 (K = number of groups)  df2 = n – K (n = sum of sample sizes from all groups) MSW MSG F  H0: μ1= μ2 = … = μK H1: At least two population means are different
  • 21. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-21 Interpreting the F Statistic  The F statistic is the ratio of the between estimate of variance and the within estimate of variance  The ratio must always be positive  df1 = K -1 will typically be small  df2 = n - K will typically be large Decision Rule:  Reject H0 if F > FK-1,n-K, 0  = .05 Reject H0 Do not reject H0 FK-1,n-K,
  • 22. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-22 One-Factor ANOVA F Test Example You want to see if three different golf clubs yield different distances. You randomly select five measurements from trials on an automated driving machine for each club. At the .05 significance level, is there a difference in mean distance? Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204
  • 23. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-23 • • • • • One-Factor ANOVA Example: Scatter Diagram 270 260 250 240 230 220 210 200 190 • • • • • • • • • • Distance 227.0 x 205.8 x 226.0 x 249.2 x 3 2 1     Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 Club 1 2 3 1 x 2 x 3 x x
  • 24. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-24 One-Factor ANOVA Example Computations Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 x1 = 249.2 x2 = 226.0 x3 = 205.8 x = 227.0 n1 = 5 n2 = 5 n3 = 5 n = 15 K = 3 SSG = 5 (249.2 – 227)2 + 5 (226 – 227)2 + 5 (205.8 – 227)2 = 4716.4 SSW = (254 – 249.2)2 + (263 – 249.2)2 +…+ (204 – 205.8)2 = 1119.6 MSG = 4716.4 / (3-1) = 2358.2 MSW = 1119.6 / (15-3) = 93.3 25.275 93.3 2358.2 F  
  • 25. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-25 F = 25.275 One-Factor ANOVA Example Solution H0: μ1 = μ2 = μ3 H1: μi not all equal  = .05 df1= 2 df2 = 12 Test Statistic: Decision: Conclusion: Reject H0 at  = 0.05 There is evidence that at least one μi differs from the rest 0  = .05 Reject H0 Do not reject H0 25.275 93.3 2358.2 MSW MSA F    Critical Value: F2,12,.05= 3.89 F2,12,.05 = 3.89
  • 26. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-26 SUMMARY Groups Count Sum Average Variance Club 1 5 1246 249.2 108.2 Club 2 5 1130 226 77.5 Club 3 5 1029 205.8 94.2 ANOVA Source of Variation SS df MS F P-value F crit Between Groups 4716.4 2 2358.2 25.275 4.99E-05 3.89 Within Groups 1119.6 12 93.3 Total 5836.0 14 ANOVA -- Single Factor: Excel Output EXCEL: tools | data analysis | ANOVA: single factor
  • 27. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-27 Kruskal-Wallis Test  Use when the normality assumption for one- way ANOVA is violated  Assumptions:  The samples are random and independent  variables have a continuous distribution  the data can be ranked  populations have the same variability  populations have the same shape
  • 28. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-28 Kruskal-Wallis Test Procedure  Obtain relative rankings for each value  In event of tie, each of the tied values gets the average rank  Sum the rankings for data from each of the K groups  Compute the Kruskal-Wallis test statistic  Evaluate using the chi-square distribution with K – 1 degrees of freedom
  • 29. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-29 Kruskal-Wallis Test Procedure  The Kruskal-Wallis test statistic: (chi-square with K – 1 degrees of freedom) 1) 3(n n R 1) n(n 12 W K 1 i i 2 i             where: n = sum of sample sizes in all groups K = Number of samples Ri = Sum of ranks in the ith group ni = Size of the ith group (continued)
  • 30. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-30 Decision rule  Reject H0 if W > 2 K–1,  Otherwise do not reject H0 (continued) Kruskal-Wallis Test Procedure  Complete the test by comparing the calculated H value to a critical 2 value from the chi-square distribution with K – 1 degrees of freedom 2 2 K–1, 0  Reject H0 Do not reject H0
  • 31. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-31  Do different departments have different class sizes? Kruskal-Wallis Example Class size (Math, M) Class size (English, E) Class size (Biology, B) 23 45 54 78 66 55 60 72 45 70 30 40 18 34 44
  • 32. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-32  Do different departments have different class sizes? Kruskal-Wallis Example Class size (Math, M) Ranking Class size (English, E) Ranking Class size (Biology, B) Ranking 23 41 54 78 66 2 6 9 15 12 55 60 72 45 70 10 11 14 8 13 30 40 18 34 44 3 5 1 4 7  = 44  = 56  = 20
  • 33. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-33  The W statistic is (continued) Kruskal-Wallis Example 6.72 1) 3(15 5 20 5 56 5 44 1) 15(15 12 1) 3(n n R 1) n(n 12 W 2 2 2 K 1 i i 2 i                                  equal are means population all Not : H Mean Mean Mean : H 1 B E M 0  
  • 34. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-34 Since H = 6.72 > , reject H0 (continued) Kruskal-Wallis Example 5.991 2 2,0.05  χ  Compare W = 6.72 to the critical value from the chi-square distribution for 3 – 1 = 2 degrees of freedom and  = .05: 5.991 2 2,0.05   There is sufficient evidence to reject that the population means are all equal
  • 35. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-35 Two-Way Analysis of Variance  Examines the effect of  Two factors of interest on the dependent variable  e.g., Percent carbonation and line speed on soft drink bottling process  Interaction between the different levels of these two factors  e.g., Does the effect of one particular carbonation level depend on which level the line speed is set?
  • 36. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-36 Two-Way ANOVA  Assumptions  Populations are normally distributed  Populations have equal variances  Independent random samples are drawn (continued)
  • 37. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-37 Randomized Block Design Two Factors of interest: A and B K = number of groups of factor A H = number of levels of factor B (sometimes called a blocking variable) Block Group 1 2 … K 1 2 . . H x11 x12 . . x1H x21 x22 . . x2H … … . . … xK1 xK2 . . xKH
  • 38. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-38 Two-Way Notation  Let xji denote the observation in the jth group and ith block  Suppose that there are K groups and H blocks, for a total of n = KH observations  Let the overall mean be x  Denote the group sample means by  Denote the block sample means by K) , 1,2, (j xj    ) H , 1,2, (i x i   
  • 39. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-39 Partition of Total Variation Variation due to differences between groups (SSG) Variation due to random sampling (unexplained error) (SSE) Total Sum of Squares (SST) = + Variation due to differences between blocks (SSB) +  SST = SSG + SSB + SSE The error terms are assumed to be independent, normally distributed, and have the same variance
  • 40. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-40 Two-Way Sums of Squares  The sums of squares are      H 1 i 2 i ) x (x K SSB : Blocks - Between      K 1 j 2 j ) x x ( H SSG : Groups - Between      K 1 j H 1 i 2 ji ) x (x SST : Total          K 1 j H 1 i 2 i j ji ) x x x (x SSE : Error Degrees of Freedom: n – 1 K – 1 H – 1 (K – 1)(K – 1)
  • 41. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-41 Two-Way Mean Squares  The mean squares are 1) 1)(H (K SSE MSE 1 H SST MSB 1 K SST MSG 1 n SST MST         
  • 42. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-42 Two-Way ANOVA: The F Test Statistic F Test for Blocks H0: The K population group means are all the same F Test for Groups H0: The H population block means are the same Reject H0 if F > FK-1,(K-1)(H-1), MSE MSG F  MSE MSB F  Reject H0 if F > FH-1,(K-1)(H-1),
  • 43. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-43 General Two-Way Table Format Source of Variation Sum of Squares Degrees of Freedom Mean Squares F Ratio Between groups Between blocks Error Total SSG SSB SSE SST K – 1 H – 1 (K – 1)(H – 1) n - 1 1 K SSG MSG   1 H SSB MSB   1) 1)(H (K SSE MSE    MSE MSG MSE MSB
  • 44. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-44  A two-way design with more than one observation per cell allows one further source of variation  The interaction between groups and blocks can also be identified  Let  K = number of groups  H = number of blocks  L = number of observations per cell  n = KHL = total number of observations More than One Observation per Cell
  • 45. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-45 More than One Observation per Cell SST Total Variation SSG Between-group variation SSB Between-block variation SSI Variation due to interaction between groups and blocks SSE Random variation (Error) Degrees of Freedom: K – 1 H – 1 (K – 1)(H – 1) KH(L – 1) n – 1 SST = SSG + SSB + SSI + SSE (continued)
  • 46. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-46 Sums of Squares with Interaction       H 1 i 2 i ) x (x KL SSB : blocks - Between       K 1 j 2 j ) x x ( HL SSG : groups - Between 2 j i l jil ) x (x SST : Total    2 ji i j l jil ) x (x SSE : Error                 K 1 j H 1 i 2 i j ji ) x x x x ( L SSI : n Interactio Degrees of Freedom: K – 1 H – 1 (K – 1)(H – 1) KH(L – 1) n - 1
  • 47. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-47 Two-Way Mean Squares with Interaction  The mean squares are 1) KH(L SSE MSE 1) 1)(H - (K SSI MSI 1 H SST MSB 1 K SST MSG 1 n SST MST          
  • 48. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-48 Two-Way ANOVA: The F Test Statistic F Test for block effect F Test for interaction effect H0: the interaction of groups and blocks is equal to zero F Test for group effect MSE MSG F  MSE MSB F  MSE MSI F  H0: The K population group means are all the same H0: The H population block means are the same Reject H0 if F > FK-1,KH(L-1), Reject H0 if F > FH-1,KH(L-1), Reject H0 if F > F(K-1)(H-1),KH(L-1),
  • 49. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-49 Two-Way ANOVA Summary Table Source of Variation Sum of Squares Degrees of Freedom Mean Squares F Statistic Between groups SSG K – 1 MSG = SSG / (K – 1) MSG MSE Between blocks SSB H – 1 MSB = SSB / (H – 1) MSB MSE Interaction SSI (K – 1)(H – 1) MSI = SSI / (K – 1)(H – 1) MSI MSE Error SSE KH(L – 1) MSE = SSE / KH(L – 1) Total SST n – 1
  • 50. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-50 Features of Two-Way ANOVA F Test  Degrees of freedom always add up  n-1 = KHL-1 = (K-1) + (H-1) + (K-1)(H-1) + KH(L-1)  Total = groups + blocks + interaction + error  The denominator of the F Test is always the same but the numerator is different  The sums of squares always add up  SST = SSG + SSB + SSI + SSE  Total = groups + blocks + interaction + error
  • 51. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-51 Examples: Interaction vs. No Interaction  No interaction: Block Level 1 Block Level 3 Block Level 2 Groups Block Level 1 Block Level 3 Block Level 2 Groups Mean Response Mean Response  Interaction is present: A B C A B C
  • 52. Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chap 17-52 Chapter Summary  Described one-way analysis of variance  The logic of Analysis of Variance  Analysis of Variance assumptions  F test for difference in K means  Applied the Kruskal-Wallis test when the populations are not known to be normal  Described two-way analysis of variance  Examined effects of multiple factors  Examined interaction between factors