SlideShare a Scribd company logo
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Statistics for
Business and Economics
7th Edition
Chapter 15
Analysis of Variance
Ch. 15-1
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-2
One-Way Analysis of Variance
 Evaluate the difference among the means of three
or more groups
Examples: Average production for 1st, 2nd, and 3rd shifts
Expected mileage for five brands of tires
 Assumptions
 Populations are normally distributed
 Populations have equal variances
 Samples are randomly and independently drawn
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
15.2
Ch. 15-3
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)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
K3210 μμμμ:H  
pairji,oneleastatforμμ:H ji1 
Ch. 15-4
One-Way ANOVA
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
All Means are the same:
The Null Hypothesis is True
(No variation between
groups)
K3210 μμμμ:H  
sametheareμallNot:H i1
321 μμμ 
Ch. 15-5
One-Way ANOVA
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
At least one mean is different:
The Null Hypothesis is NOT true
(Variation is present between groups)
321 μμμ  321 μμμ 
or
(continued)
K3210 μμμμ:H  
sametheareμallNot:H i1
Ch. 15-6
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Small variation within groups
A B C
Group
A B C
Group
Large variation within groups
A B
Ch. 15-7
Partitioning the Variation
 Total variation can be split into two parts:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
Ch. 15-8
Partition of Total Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Variation due to
differences
between groups
(SSG)
Variation due to
random sampling
(SSW)
Total Sum of Squares
(SST)
= +
Ch. 15-9
Total Sum of Squares
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
1i
n
1j
2
ij
i
)x(xSST
Ch. 15-10
Total Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Group 1 Group 2 Group 3
Response, X
2
Kn
2
12
2
11 )x(x...)x(X)x(xSST K

(continued)
x
Ch. 15-11
Within-Group Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
1i
n
1j
2
iij
i
)x(xSSW
Ch. 15-12
Within-Group Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Summing the variation
within each group and then
adding over all groups Kn
SSW
MSW


Mean Square Within =
SSW/degrees of freedom
(continued)
 

K
1i
n
1j
2
iij
i
)x(xSSW
iμ
Ch. 15-13
Within-Group Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Group 1 Group 2 Group 3
Response, X
2
KKn
2
112
2
111 )x(x...)x(x)x(xSSW K

(continued)
1x 2x
3x
Ch. 15-14
Between-Group Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
1i
i )xx(nSSG  
SST = SSW + SSG
Ch. 15-15
Between-Group Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Variation Due to
Differences Between Groups
1K
SSG
MSG


Mean Square Between Groups
= SSG/degrees of freedom
(continued)
2
i
K
1i
i )xx(nSSG  
iμ jμ
Ch. 15-16
Between-Group Variation
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Group 1 Group 2 Group 3
Response, X
2
KK
2
22
2
11 )xx(n...)xx(n)xx(nSSG 
(continued)
1x 2x
3x
x
Ch. 15-17
Obtaining the Mean Squares
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Kn
SSW
MSW


1K
SSG
MSG


1n
SST
MST


Ch. 15-18
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
One-Way ANOVA Table
Source of
Variation
dfSS MS
(Variance)
Between
Groups
SSG MSG =
Within
Groups
n - KSSW 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 =
Ch. 15-19
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)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
MSW
MSG
F 
H0: μ1= μ2 = … = μK
H1: At least two population means are different
Ch. 15-20
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Decision Rule:
 Reject H0 if
F > FK-1,n-K,
0
 = .05
Reject H0Do not
reject H0
FK-1,n-K,
Ch. 15-21
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?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Club 1 Club 2 Club 3
254 234 200
263 218 222
241 235 197
237 227 206
251 216 204
Ch. 15-22
One-Factor ANOVA Example:
Scatter Diagram
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
••
••
•
270
260
250
240
230
220
210
200
190
•
•
•
•
•
••
•
••
Distance
227.0x
205.8x226.0x249.2x 321


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
1x
2x
3x
x
Ch. 15-23
One-Factor ANOVA Example
Computations
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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 
Ch. 15-24
One-Factor ANOVA Example
Solution
H0: μ1 = μ2 = μ3
H1: μi not all equal
 = .05
df1= 2 df2 = 12
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
F = 25.275
Test Statistic:
Decision:
Conclusion:
Reject H0 at  = 0.05
There is evidence that
at least one μi differs
from the rest
0
 = .05
Reject H0Do not
reject H0
25.275
93.3
2358.2
MSW
MSA
F 
Critical Value:
F2,12,.05= 3.89
F2,12,.05 = 3.89
Ch. 15-25
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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: data | data analysis | ANOVA: single factor
Ch. 15-26
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Multiple Comparisons Between
Subgroup Means
 To test which population means are significantly
different
 e.g.: μ1 = μ2 ≠ μ3
 Done after rejection of equal means in single factor
ANOVA design
 Allows pair-wise comparisons
 Compare absolute mean differences with critical
range
x =  1 2 3
Ch. 15-27
Two Subgroups
 When there are only two subgroups, compute
the minimum significant difference (MSD)
Where Sp is a pooled estimate of the variance
 Use hypothesis testing methods of Ch. 10
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
n
2
StMSD pα/2
Ch. 15-28
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Multiple Supgroups
 q is a factor from appendix Table 13
for the chosen level of 
 k = number of subgroups, and
 MSW = Mean square within from ANOVA table
n
S
qMSD(k) p

 The minimum significant difference between k
subgroups is
where MSWSp 
Ch. 15-29
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
...etc
xx
xx
xx
32
31
21



If the absolute mean difference is
greater than MSD then there is a
significant difference between
that pair of means at the chosen
level of significance.
Compare:
?MSD(k)xxIs ji 
Multiple Supgroups
(continued)
n
S
qMSD(k) p

Ch. 15-30
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
20.2xx
43.4xx
23.2xx
32
31
21



Since each difference is greater
than 9.387, we conclude that all
three means are different from
one another at the .05 level of
significance.
(where q = 3.77 is from Table 13
for  = .05 and 12 df)
Multiple Supgroups: Example
9.387
15
93.3
3.77
n
S
qMSD(k) p

x1 = 249.2
x2 = 226.0
x3 = 205.8
n1 = 5
n2 = 5
n3 = 5
Ch. 15-31
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
15.3
Ch. 15-32
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-33
Kruskal-Wallis Test Procedure
 The Kruskal-Wallis test statistic:
(chi-square with K – 1 degrees of freedom)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
1)3(n
n
R
1)n(n
12
W
K
1i 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)
Ch. 15-34
Kruskal-Wallis Test Procedure
Decision rule
 Reject H0 if W > 2
K–1,
 Otherwise do not reject H0
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
 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 H0Do not
reject H0
Ch. 15-35
Kruskal-Wallis Example
 Do different departments have different class
sizes?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
Ch. 15-36
Kruskal-Wallis Example
 Do different departments have different class
sizes?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
Ch. 15-37
Kruskal-Wallis Example
 The W statistic is
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
6.721)3(15
5
20
5
56
5
44
1)15(15
12
1)3(n
n
R
1)n(n
12
W
222
K
1i i
2
i






















 
equalaremeanspopulationallNot:H
MeanMeanMean:H
1
BEM0 
Ch. 15-38
Kruskal-Wallis Example
Since H = 6.72 > ,
reject H0
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
5.9912
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.9912
2,0.05 
There is sufficient evidence to reject that
the population means are all equal
Ch. 15-39
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?
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
15.4
Ch. 15-40
Two-Way ANOVA
 Assumptions
 Populations are normally distributed
 Populations have equal variances
 Independent random samples are
drawn
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
(continued)
Ch. 15-41
Randomized Block Design
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
Ch. 15-42
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
K),1,2,(jxj 
)H,1,2,(ix i 
Ch. 15-43
Partition of Total Variation
 SST = SSG + SSB + SSE
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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)
+
The error terms are assumed
to be independent, normally
distributed, and have the same
variance
Ch. 15-44
Two-Way Sums of Squares
 The sums of squares are
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

 
H
1i
2
i )x(xKSSB:Blocks-Between

 
K
1j
2
j )xx(HSSG:Groups-Between
 

K
1j
H
1i
2
ji )x(xSST:Total
 
 
K
1j
H
1i
2
ijji )xxx(xSSE:Error
Degrees of
Freedom:
n – 1
K – 1
H – 1
(K – 1)(K – 1)
Ch. 15-45
Two-Way Mean Squares
 The mean squares are
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
1)1)(H(K
SSE
MSE
1H
SST
MSB
1K
SST
MSG
1n
SST
MST








Ch. 15-46
Two-Way ANOVA:
The F Test Statistic
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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),
Ch. 15-47
General Two-Way Table Format
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
1K
SSG
MSG


1H
SSB
MSB


1)1)(H(K
SSE
MSE


MSE
MSG
MSE
MSB
Ch. 15-48
More than One
Observation per Cell
 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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
15.5
Ch. 15-49
More than One
Observation per Cell
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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)
Ch. 15-50
Sums of Squares with Interaction
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall

 
H
1i
2
i )x(xKLSSB:blocks-Between

 
K
1j
2
j )xx(HLSSG:groups-Between
2
j i l
jil )x(xSST:Total  
2
ji
i j l
jil )x(xSSE:Error  
 
 
K
1j
H
1i
2
ijji )xxxx(LSSI:nInteractio
Degrees of Freedom:
K – 1
H – 1
(K – 1)(H – 1)
KH(L – 1)
n - 1
Ch. 15-51
Two-Way Mean Squares
with Interaction
 The mean squares are
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
1)KH(L
SSE
MSE
1)1)(H-(K
SSI
MSI
1H
SST
MSB
1K
SST
MSG
1n
SST
MST










Ch. 15-52
Two-Way ANOVA:
The F Test Statistic
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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),
Ch. 15-53
Two-Way ANOVA
Summary Table
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
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
Ch. 15-54
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-55
Examples:
Interaction vs. No Interaction
 No interaction:
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall
Block Level 1
Block Level 3
Block Level 2
Groups
Block Level 1
Block Level 3
Block Level 2
Groups
MeanResponse
MeanResponse
 Interaction is
present:
A B C A B C
Ch. 15-56
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
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-57

More Related Content

What's hot

Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
RekhaChoudhary24
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Salim Azad
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Srikant001p
 
Multiple Regression Analysis (MRA)
Multiple Regression Analysis (MRA)Multiple Regression Analysis (MRA)
Multiple Regression Analysis (MRA)
Naveen Kumar Medapalli
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
Dr Shovan Padhy, MD
 
Presentation on regression analysis
Presentation on regression analysisPresentation on regression analysis
Presentation on regression analysis
Sujeet Singh
 
Logistic Regression.ppt
Logistic Regression.pptLogistic Regression.ppt
Logistic Regression.ppt
habtamu biazin
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Upama Dwivedi
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
Habibullah Bahar University College
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
Andi Koentary
 
Point estimation
Point estimationPoint estimation
Point estimation
Shahab Yaseen
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
Khadijah Sohail
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentationCarlo Magno
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to know
Stat Analytica
 
Analysis Of Variance - ANOVA
Analysis Of Variance - ANOVAAnalysis Of Variance - ANOVA
Analysis Of Variance - ANOVA
Saumya Bhatnagar
 
Simple linear regression and correlation
Simple linear regression and correlationSimple linear regression and correlation
Simple linear regression and correlation
Shakeel Nouman
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
Wansuklangk
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
Tesfamichael Getu
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
Sandeep Soni Kanpur
 

What's hot (20)

Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Multiple Regression Analysis (MRA)
Multiple Regression Analysis (MRA)Multiple Regression Analysis (MRA)
Multiple Regression Analysis (MRA)
 
Shovan anova main
Shovan anova mainShovan anova main
Shovan anova main
 
Presentation on regression analysis
Presentation on regression analysisPresentation on regression analysis
Presentation on regression analysis
 
Logistic Regression.ppt
Logistic Regression.pptLogistic Regression.ppt
Logistic Regression.ppt
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Point estimation
Point estimationPoint estimation
Point estimation
 
Multivariate analysis
Multivariate analysisMultivariate analysis
Multivariate analysis
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Multiple regression presentation
Multiple regression presentationMultiple regression presentation
Multiple regression presentation
 
Analysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to knowAnalysis of variance (ANOVA) everything you need to know
Analysis of variance (ANOVA) everything you need to know
 
Analysis Of Variance - ANOVA
Analysis Of Variance - ANOVAAnalysis Of Variance - ANOVA
Analysis Of Variance - ANOVA
 
Simple linear regression and correlation
Simple linear regression and correlationSimple linear regression and correlation
Simple linear regression and correlation
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 

Similar to Chap15 analysis of variance

Newbold_chap17.ppt
Newbold_chap17.pptNewbold_chap17.ppt
Newbold_chap17.ppt
cfisicaster
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
Babasab Patil
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
praba karan
 
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
 
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
 
anova.ppt
anova.pptanova.ppt
anova.ppt
swetachaudhari7
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
sadiakhan783184
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
SUJAY G GOWDA
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
GoharSaeed6
 
ANOVA ANALYSIS OF VARIANCE power point.pdf
ANOVA ANALYSIS OF VARIANCE power point.pdfANOVA ANALYSIS OF VARIANCE power point.pdf
ANOVA ANALYSIS OF VARIANCE power point.pdf
sandra burga gogna
 
Chap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topicsChap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topics
Judianto Nugroho
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
Ravi Rohilla
 
Stat2013
Stat2013Stat2013
One-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual FoundationsOne-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual Foundations
smackinnon
 

Similar to Chap15 analysis of variance (20)

Newbold_chap17.ppt
Newbold_chap17.pptNewbold_chap17.ppt
Newbold_chap17.ppt
 
Analysis of variance ppt @ bec doms
Analysis of variance ppt @ bec domsAnalysis of variance ppt @ bec doms
Analysis of variance ppt @ bec doms
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
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
 
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)
 
anova.ppt
anova.pptanova.ppt
anova.ppt
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
ANOVA.pptx
ANOVA.pptxANOVA.pptx
ANOVA.pptx
 
ANOVA.ppt
ANOVA.pptANOVA.ppt
ANOVA.ppt
 
ANOVA ANALYSIS OF VARIANCE power point.pdf
ANOVA ANALYSIS OF VARIANCE power point.pdfANOVA ANALYSIS OF VARIANCE power point.pdf
ANOVA ANALYSIS OF VARIANCE power point.pdf
 
Chap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topicsChap10 hypothesis testing ; additional topics
Chap10 hypothesis testing ; additional topics
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Stat2013
Stat2013Stat2013
Stat2013
 
One-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual FoundationsOne-Way ANOVA: Conceptual Foundations
One-Way ANOVA: Conceptual Foundations
 

More from Judianto Nugroho

Chap14 en-id
Chap14 en-idChap14 en-id
Chap14 en-id
Judianto Nugroho
 
Chap19 en-id
Chap19 en-idChap19 en-id
Chap19 en-id
Judianto Nugroho
 
Chap18 en-id
Chap18 en-idChap18 en-id
Chap18 en-id
Judianto Nugroho
 
Chap16 en-id
Chap16 en-idChap16 en-id
Chap16 en-id
Judianto Nugroho
 
Chap15 en-id
Chap15 en-idChap15 en-id
Chap15 en-id
Judianto Nugroho
 
Chap17 en-id
Chap17 en-idChap17 en-id
Chap17 en-id
Judianto Nugroho
 
Chap13 en-id
Chap13 en-idChap13 en-id
Chap13 en-id
Judianto Nugroho
 
Chap12 en-id
Chap12 en-idChap12 en-id
Chap12 en-id
Judianto Nugroho
 
Chap11 en-id
Chap11 en-idChap11 en-id
Chap11 en-id
Judianto Nugroho
 
Chap10 en-id
Chap10 en-idChap10 en-id
Chap10 en-id
Judianto Nugroho
 
Chap09 en-id
Chap09 en-idChap09 en-id
Chap09 en-id
Judianto Nugroho
 
Chap08 en-id
Chap08 en-idChap08 en-id
Chap08 en-id
Judianto Nugroho
 
Chap05 en-id
Chap05 en-idChap05 en-id
Chap05 en-id
Judianto Nugroho
 
Chap07 en-id
Chap07 en-idChap07 en-id
Chap07 en-id
Judianto Nugroho
 
Chap06 en-id
Chap06 en-idChap06 en-id
Chap06 en-id
Judianto Nugroho
 
Chap04 en-id
Chap04 en-idChap04 en-id
Chap04 en-id
Judianto Nugroho
 
Chap03 en-id
Chap03 en-idChap03 en-id
Chap03 en-id
Judianto Nugroho
 
Chap02 en-id
Chap02 en-idChap02 en-id
Chap02 en-id
Judianto Nugroho
 
Chap01 en-id
Chap01 en-idChap01 en-id
Chap01 en-id
Judianto Nugroho
 
Spss session 1 and 2
Spss session 1 and 2Spss session 1 and 2
Spss session 1 and 2
Judianto Nugroho
 

More from Judianto Nugroho (20)

Chap14 en-id
Chap14 en-idChap14 en-id
Chap14 en-id
 
Chap19 en-id
Chap19 en-idChap19 en-id
Chap19 en-id
 
Chap18 en-id
Chap18 en-idChap18 en-id
Chap18 en-id
 
Chap16 en-id
Chap16 en-idChap16 en-id
Chap16 en-id
 
Chap15 en-id
Chap15 en-idChap15 en-id
Chap15 en-id
 
Chap17 en-id
Chap17 en-idChap17 en-id
Chap17 en-id
 
Chap13 en-id
Chap13 en-idChap13 en-id
Chap13 en-id
 
Chap12 en-id
Chap12 en-idChap12 en-id
Chap12 en-id
 
Chap11 en-id
Chap11 en-idChap11 en-id
Chap11 en-id
 
Chap10 en-id
Chap10 en-idChap10 en-id
Chap10 en-id
 
Chap09 en-id
Chap09 en-idChap09 en-id
Chap09 en-id
 
Chap08 en-id
Chap08 en-idChap08 en-id
Chap08 en-id
 
Chap05 en-id
Chap05 en-idChap05 en-id
Chap05 en-id
 
Chap07 en-id
Chap07 en-idChap07 en-id
Chap07 en-id
 
Chap06 en-id
Chap06 en-idChap06 en-id
Chap06 en-id
 
Chap04 en-id
Chap04 en-idChap04 en-id
Chap04 en-id
 
Chap03 en-id
Chap03 en-idChap03 en-id
Chap03 en-id
 
Chap02 en-id
Chap02 en-idChap02 en-id
Chap02 en-id
 
Chap01 en-id
Chap01 en-idChap01 en-id
Chap01 en-id
 
Spss session 1 and 2
Spss session 1 and 2Spss session 1 and 2
Spss session 1 and 2
 

Recently uploaded

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
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
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
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
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
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
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
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
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
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
 

Recently uploaded (20)

Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
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
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).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
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
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 ...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
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
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
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
 

Chap15 analysis of variance

  • 1. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Statistics for Business and Economics 7th Edition Chapter 15 Analysis of Variance Ch. 15-1
  • 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-2
  • 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 shifts Expected mileage for five brands of tires  Assumptions  Populations are normally distributed  Populations have equal variances  Samples are randomly and independently drawn Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 15.2 Ch. 15-3
  • 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) Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall K3210 μμμμ:H   pairji,oneleastatforμμ:H ji1  Ch. 15-4
  • 5. One-Way ANOVA Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall All Means are the same: The Null Hypothesis is True (No variation between groups) K3210 μμμμ:H   sametheareμallNot:H i1 321 μμμ  Ch. 15-5
  • 6. One-Way ANOVA Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall At least one mean is different: The Null Hypothesis is NOT true (Variation is present between groups) 321 μμμ  321 μμμ  or (continued) K3210 μμμμ:H   sametheareμallNot:H i1 Ch. 15-6
  • 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Small variation within groups A B C Group A B C Group Large variation within groups A B Ch. 15-7
  • 8. Partitioning the Variation  Total variation can be split into two parts: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 Ch. 15-8
  • 9. Partition of Total Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Variation due to differences between groups (SSG) Variation due to random sampling (SSW) Total Sum of Squares (SST) = + Ch. 15-9
  • 10. Total Sum of Squares Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 1i n 1j 2 ij i )x(xSST Ch. 15-10
  • 11. Total Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Group 1 Group 2 Group 3 Response, X 2 Kn 2 12 2 11 )x(x...)x(X)x(xSST K  (continued) x Ch. 15-11
  • 12. Within-Group Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 1i n 1j 2 iij i )x(xSSW Ch. 15-12
  • 13. Within-Group Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Summing the variation within each group and then adding over all groups Kn SSW MSW   Mean Square Within = SSW/degrees of freedom (continued)    K 1i n 1j 2 iij i )x(xSSW iμ Ch. 15-13
  • 14. Within-Group Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Group 1 Group 2 Group 3 Response, X 2 KKn 2 112 2 111 )x(x...)x(x)x(xSSW K  (continued) 1x 2x 3x Ch. 15-14
  • 15. Between-Group Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 1i i )xx(nSSG   SST = SSW + SSG Ch. 15-15
  • 16. Between-Group Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Variation Due to Differences Between Groups 1K SSG MSG   Mean Square Between Groups = SSG/degrees of freedom (continued) 2 i K 1i i )xx(nSSG   iμ jμ Ch. 15-16
  • 17. Between-Group Variation Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Group 1 Group 2 Group 3 Response, X 2 KK 2 22 2 11 )xx(n...)xx(n)xx(nSSG  (continued) 1x 2x 3x x Ch. 15-17
  • 18. Obtaining the Mean Squares Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Kn SSW MSW   1K SSG MSG   1n SST MST   Ch. 15-18
  • 19. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall One-Way ANOVA Table Source of Variation dfSS MS (Variance) Between Groups SSG MSG = Within Groups n - KSSW 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 = Ch. 15-19
  • 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) Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall MSW MSG F  H0: μ1= μ2 = … = μK H1: At least two population means are different Ch. 15-20
  • 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Decision Rule:  Reject H0 if F > FK-1,n-K, 0  = .05 Reject H0Do not reject H0 FK-1,n-K, Ch. 15-21
  • 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? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Club 1 Club 2 Club 3 254 234 200 263 218 222 241 235 197 237 227 206 251 216 204 Ch. 15-22
  • 23. One-Factor ANOVA Example: Scatter Diagram Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall •• •• • 270 260 250 240 230 220 210 200 190 • • • • • •• • •• Distance 227.0x 205.8x226.0x249.2x 321   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 1x 2x 3x x Ch. 15-23
  • 24. One-Factor ANOVA Example Computations Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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  Ch. 15-24
  • 25. One-Factor ANOVA Example Solution H0: μ1 = μ2 = μ3 H1: μi not all equal  = .05 df1= 2 df2 = 12 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall F = 25.275 Test Statistic: Decision: Conclusion: Reject H0 at  = 0.05 There is evidence that at least one μi differs from the rest 0  = .05 Reject H0Do not reject H0 25.275 93.3 2358.2 MSW MSA F  Critical Value: F2,12,.05= 3.89 F2,12,.05 = 3.89 Ch. 15-25
  • 26. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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: data | data analysis | ANOVA: single factor Ch. 15-26
  • 27. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Multiple Comparisons Between Subgroup Means  To test which population means are significantly different  e.g.: μ1 = μ2 ≠ μ3  Done after rejection of equal means in single factor ANOVA design  Allows pair-wise comparisons  Compare absolute mean differences with critical range x =  1 2 3 Ch. 15-27
  • 28. Two Subgroups  When there are only two subgroups, compute the minimum significant difference (MSD) Where Sp is a pooled estimate of the variance  Use hypothesis testing methods of Ch. 10 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall n 2 StMSD pα/2 Ch. 15-28
  • 29. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Multiple Supgroups  q is a factor from appendix Table 13 for the chosen level of   k = number of subgroups, and  MSW = Mean square within from ANOVA table n S qMSD(k) p   The minimum significant difference between k subgroups is where MSWSp  Ch. 15-29
  • 30. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall ...etc xx xx xx 32 31 21    If the absolute mean difference is greater than MSD then there is a significant difference between that pair of means at the chosen level of significance. Compare: ?MSD(k)xxIs ji  Multiple Supgroups (continued) n S qMSD(k) p  Ch. 15-30
  • 31. Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 20.2xx 43.4xx 23.2xx 32 31 21    Since each difference is greater than 9.387, we conclude that all three means are different from one another at the .05 level of significance. (where q = 3.77 is from Table 13 for  = .05 and 12 df) Multiple Supgroups: Example 9.387 15 93.3 3.77 n S qMSD(k) p  x1 = 249.2 x2 = 226.0 x3 = 205.8 n1 = 5 n2 = 5 n3 = 5 Ch. 15-31
  • 32. 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 15.3 Ch. 15-32
  • 33. 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-33
  • 34. Kruskal-Wallis Test Procedure  The Kruskal-Wallis test statistic: (chi-square with K – 1 degrees of freedom) Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1)3(n n R 1)n(n 12 W K 1i 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) Ch. 15-34
  • 35. Kruskal-Wallis Test Procedure Decision rule  Reject H0 if W > 2 K–1,  Otherwise do not reject H0 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued)  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 H0Do not reject H0 Ch. 15-35
  • 36. Kruskal-Wallis Example  Do different departments have different class sizes? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 Ch. 15-36
  • 37. Kruskal-Wallis Example  Do different departments have different class sizes? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 Ch. 15-37
  • 38. Kruskal-Wallis Example  The W statistic is Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) 6.721)3(15 5 20 5 56 5 44 1)15(15 12 1)3(n n R 1)n(n 12 W 222 K 1i i 2 i                         equalaremeanspopulationallNot:H MeanMeanMean:H 1 BEM0  Ch. 15-38
  • 39. Kruskal-Wallis Example Since H = 6.72 > , reject H0 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) 5.9912 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.9912 2,0.05  There is sufficient evidence to reject that the population means are all equal Ch. 15-39
  • 40. 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? Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 15.4 Ch. 15-40
  • 41. Two-Way ANOVA  Assumptions  Populations are normally distributed  Populations have equal variances  Independent random samples are drawn Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall (continued) Ch. 15-41
  • 42. Randomized Block Design Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 Ch. 15-42
  • 43. 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall K),1,2,(jxj  )H,1,2,(ix i  Ch. 15-43
  • 44. Partition of Total Variation  SST = SSG + SSB + SSE Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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) + The error terms are assumed to be independent, normally distributed, and have the same variance Ch. 15-44
  • 45. Two-Way Sums of Squares  The sums of squares are Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall    H 1i 2 i )x(xKSSB:Blocks-Between    K 1j 2 j )xx(HSSG:Groups-Between    K 1j H 1i 2 ji )x(xSST:Total     K 1j H 1i 2 ijji )xxx(xSSE:Error Degrees of Freedom: n – 1 K – 1 H – 1 (K – 1)(K – 1) Ch. 15-45
  • 46. Two-Way Mean Squares  The mean squares are Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1)1)(H(K SSE MSE 1H SST MSB 1K SST MSG 1n SST MST         Ch. 15-46
  • 47. Two-Way ANOVA: The F Test Statistic Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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), Ch. 15-47
  • 48. General Two-Way Table Format Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 1K SSG MSG   1H SSB MSB   1)1)(H(K SSE MSE   MSE MSG MSE MSB Ch. 15-48
  • 49. More than One Observation per Cell  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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 15.5 Ch. 15-49
  • 50. More than One Observation per Cell Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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) Ch. 15-50
  • 51. Sums of Squares with Interaction Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall    H 1i 2 i )x(xKLSSB:blocks-Between    K 1j 2 j )xx(HLSSG:groups-Between 2 j i l jil )x(xSST:Total   2 ji i j l jil )x(xSSE:Error       K 1j H 1i 2 ijji )xxxx(LSSI:nInteractio Degrees of Freedom: K – 1 H – 1 (K – 1)(H – 1) KH(L – 1) n - 1 Ch. 15-51
  • 52. Two-Way Mean Squares with Interaction  The mean squares are Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1)KH(L SSE MSE 1)1)(H-(K SSI MSI 1H SST MSB 1K SST MSG 1n SST MST           Ch. 15-52
  • 53. Two-Way ANOVA: The F Test Statistic Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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), Ch. 15-53
  • 54. Two-Way ANOVA Summary Table Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 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 Ch. 15-54
  • 55. 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-55
  • 56. Examples: Interaction vs. No Interaction  No interaction: Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Block Level 1 Block Level 3 Block Level 2 Groups Block Level 1 Block Level 3 Block Level 2 Groups MeanResponse MeanResponse  Interaction is present: A B C A B C Ch. 15-56
  • 57. 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 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 15-57