Академический Документы
Профессиональный Документы
Культура Документы
Microsoft Excel
6th Edition
Chapter 11
Assumptions
Populations are normally distributed
μ1 μ 2 μ 3
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-4
One-Way ANOVA DCOVA
(continued)
H0 : μ1 μ2 μ3 μc
H1 : Not all μ j are the same
The Null Hypothesis is NOT true
At least one of the means is different
(Factor Effect is present)
or
μ1 μ2 μ3 μ1 μ2 μ3
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-5
Partitioning the Variation
DCOVA
DCOVA
SST = SSA + SSW
SST ( Xij X) 2
j 1 i 1
Where:
SST = Total sum of squares
c = number of groups or levels
nj = number of observations in group j
Xij = ith observation from group j
X = grand mean (mean of all data values)
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-8
Among-Group Variation
DCOVA
SSA
Variation Due to
Differences Among Groups MSA
c 1
Mean Square Among =
SSA/degrees of freedom
i j
SSA n 1 (X1 X) 2 n 2 (X 2 X) 2 n c (X c X) 2
SSW ( Xij X j ) 2
j 1 i1
Where:
SSW = Sum of squares within groups
c = number of groups
nj = sample size from group j
Xj = sample mean from group j
Xij = ith observation in group j
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-12
Within-Group Variation
(continued)
nj
DCOVA
c
SSW ( Xij X j ) 2
j 1 i1
SSW
Summing the variation
MSW
within each group and then
adding over all groups nc
Mean Square Within =
SSW/degrees of freedom
μj
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-13
Within-Group Variation
DCOVA
(continued)
SST
MST Mean Square Total
n 1 (d.f. = n-1)
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-15
One-Way ANOVA Table
DCOVA
c = number of groups
n = sum of the sample sizes from all groups
df = degrees of freedom
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-16
One-Way ANOVA
F Test Statistic DCOVA
H0: μ1= μ2 = … = μc
H1: At least one population means are different
Test statistic MSA
FSTAT
MSW
MSA is mean squares among groups
MSW is mean squares within groups
Degrees of freedom
df1 = c – 1 (c = number of groups)
df2 = n – c (n = sum of sample sizes from all populations)
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-17
Interpreting One-Way ANOVA
F Statistic DCOVA
Decision Rule:
Reject H if F
0 STAT > Fα,
otherwise do not reject
0
H0 Do not
reject H0
Reject H0
Fα
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-18
One-Way ANOVA
F Test Example DCOVA
H 0: μ 1 = μ 2 = μ 3 Test Statistic:
H1: μj not all equal
MSA 2358.2
= 0.05 FSTAT 25.275
MSW 93.3
df1= 2 df2 = 12
Critical Decision:
Value:
Reject H0 at = 0.05
Fα = 3.89
Conclusion:
= .05
There is evidence that
0 Do not Reject H 0
at least one μj differs
reject H0
FSTAT = 25.275 from the rest
Fα = 3.89
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 11-22
Exercise