Professional Documents
Culture Documents
Chapter III :
ANALYSIS OF VARIANCE
(ANOVA)
In previous chapter, we studied inferential
method of comparing the means of two
populations. Now we will study analysis of
variance, or ANOVA, which provides methods
for comparing the means of more than two
populations. There are several different
ANOVA procedures, just as there are several
different procedures for comparing the means of
two populations.
We will examine two types of ANOVA
procedures. The first, called a one-way analysis
of variance. The second, called a two-way
analysis of variance.
Statistics for Engineering Page 1
Institute of Technology of Cambodia 2013-2014
... nk xk x
2
SSTR
MSTR
k 1
* Error sum of squares, SSE
SSE n1 1 s12 n2 1 s22 ... nk 1 sk2
* Error mean squares, MSE
SSE
MSE
nk
where,
k = number of populations being
sampled
n = n1 n2 ... nk = total number of
pieces of data
x = mean of all n pieces of data
and, for j = 1,2,…,k,
n j = size of sample from Population j
x j = mean of sample from Population
j
s 2j = variance of sample from
Population j
SST x
2
T1 T2 x
2
2 2 2
Tk
SSTR ...
n1 n2 nk n
SSE SST SSTR
where, for j = 1,2,…,k,
n j = size of sample from
Population j
T j = sum of sample data from
Population j.
Step 5: Construct the one-way ANOVA
table
Step 6: If the value of the F-statistic falls
in the rejection region, the reject
H 0 ; otherwise, do not reject H 0 .
Step 7: State the conclusion in words.
SST x
2
n
* Treatment sum of squares, SSTR
x
2
1 2
SSTR T1 T2 ... Tk
2 2
m n
* Block sum of squares, SSB
2
1 2 x
SSB B1 B2 ... Bm
2 2
k n
* Error sum of squares, SSE
SSE SST SSTR SSB
where,
k = number of treatments
m= number of blocks
n = km = total number of pieces of
data
and, for i = 1,2,…,m, and j = 1,2,…,k,
T j = sum of sample data for treatment
j
B j = sum of sample from Block j
4.Two-way ANOVA tables
MSTR
Treatment k-1 SSTR MSTR F=
MSE
Block m-1 SSB MSB
Error n-k-m+1 SSE MSE
Total n-1 SST
SST x
2
1 T1 T2 x
2
2 2 2
T
SSTR ... k
m n1 n2 nk n
x
2
1 2
SSB B1 B22 ... Bm2
k n
SSE SST SSTR SSB
Step 5: Construct the two-way ANOVA
table
Step 6: If the value of the F-statistic falls
in the rejection region, the reject
H 0 ; otherwise, do not reject H 0 .
Step 7: State the conclusion in words.
Analgesic (Treatment)
1 18 22 25
13
Person (Block)
2 14 23
3 21 19 23
4 20 29 24
5 12 19 13
6 13 20 20