Chapter 7
Chapter 7
Chapter Seven
Analysis of Variance
When an F test is used to test a hypothesis concerning the means of three or more populations,
the technique is called analysis of variance (commonly abbreviated as ANOVA).
For a test of the difference among three or more means, the following hypotheses should be
used:
Ho: µ1 = µ2 = . . . = µk
Ha: At least one mean is different from the others.
As stated previously, a significant test value means that there is a high probability that this
difference in means is not due to chance, but it does not indicate where the difference lies.
The degrees of freedom for this F test are d.f.N(V1) = k - 1, where k is the number of Groups,
and d.f.D(V2) = N - k, where N is the sum of the sample sizes of the groups N = n1 + n2 + . . .
nk. The sample sizes need not be equal. The F test to compare means is always right-tailed.
X GM =
∑X
N
S
2
=
∑ ¿( X i− X GM )
2
B
K−1
Note: This formula finds the variance among the means by using the sample sizes as
weights and considers the differences in the means.
S
2
=
∑ 2
(¿−1)S i
w
∑ (¿−1)
Note: This formula finds an overall variance by calculating a weighted average of the
individual variances. It does not involve using differences of the means.
Illustration: A researcher wishes to try three different techniques to lower the blood pressure of
individuals diagnosed with high blood pressure. The subjects are randomly assigned to three
groups; the first group takes medication, the second group exercises, and the third group follows
a special diet. After four weeks, the reduction in each person’s blood pressure is recorded. At a
0.05 level of significance, test the claim that there is no difference among the means. The data
are shown below.
Solution
Step 1: State the hypotheses and identify the claim.
H0: µ1 = µ2 = µ3
H1: At least one mean is different from the others.
Step 2: Find the critical value. Since k = 3 and N = 15,
d.f.N. = k - 1 = 3 - 1 = 2
d.f.D. = N - k = 15 - 3 = 12
The critical value is 3.89, obtained from table with α = 0.05.
Step 3 Compute the test value.
a. Find the mean and variance of each sample (these values are shown below the data).
b. Find the grand mean.
= 10 + 12 + 9 + ……. + 4 = 116 = 7.73
15 15
Step 4: Make the decision. The decision is to reject the null hypothesis, since 9.17 > 3.89.
Step 5: Summarize the results. There is enough evidence to reject the claim and conclude that at
least one mean is different from the others.