BBT 230 Lecture 17 ANOVA, F-test
BBT 230 Lecture 17 ANOVA, F-test
F-test.
Analysis of variance (ANOVA) can determine whether the means of three or
more groups are different. ANOVA uses F-tests to statistically test the
equality of means.
ANOVA and F-tests work using a one-way ANOVA and two-way ANOVA
If we are using an F Test using technology, the following steps are there:
9
The Logic and the Process of Analysis of
Variance (cont.)
• The test statistic for ANOVA is an F-ratio, which is a
ratio of two sample variances. In the context of
ANOVA, the sample variances are called mean
squares, or MS values.
• The top of the F-ratio MSbetween measures the size of
mean differences between samples. The bottom of
the ratio MSwithin measures the magnitude of
differences that would be expected without any
treatment effects.
11
The Logic and the Process of Analysis of
Variance (cont.)
• Thus, the F-ratio has the same basic structure as the
independent-measures t statistic presented in Chapter 10.
12
The Logic and the Process of Analysis of
Variance (cont.)
• A large value for the F-ratio indicates that the obtained sample mean
differences are greater than would be expected if the treatments had
no effect.
• Each of the sample variances, MS values, in the F-ratio is computed
using the basic formula for sample variance:
SS
sample variance = MS = ──
df
14
The Logic and the Process of Analysis of
Variance (cont.)
• To obtain the SS and df values, you must go through an analysis that
separates the total variability for the entire set of data into two basic
components: between-treatment variability (which will become the
numerator of the F-ratio), and within-treatment variability (which will
be the denominator).
15
The Logic and the Process of Analysis of
Variance (cont.)
• The two components of the F-ratio can be described
as follows:
• Between-Treatments Variability: MSbetween measures
the size of the differences between the sample
means. For example, suppose that three treatments,
each with a sample of n = 5 subjects, have means of
M1 = 1, M2 = 2, and
M3 = 3.
Notice that the three means are different; that is, they
are variable.
16
The Logic and the Process of Analysis of
Variance (cont.)
• By computing the variance for the three means we
can measure the size of the differences.
• Although it is possible to compute a variance for the
set of sample means, it usually is easier to use the
total, T, for each sample instead of the mean, and
compute variance for the set of T values.
17
The Logic and the Process of Analysis of
Variance (cont.)
• Within-Treatments Variability: MSwithin measures the
size of the differences that exist inside each of the
samples.
• Because all the individuals in a sample receive exactly
the same treatment, any differences (or variance)
within a sample cannot be caused by different
treatments.
18
The Logic and the Process of Analysis of
Variance (cont.)
• Considering these sources of variability, the structure of the F-ratio
becomes,
19
• Two sets of data (examples) have been provided for carrying
out Analysis of Variance for one-way ANOVA
• Required steps are also given in a separate slide at the end
• Try to carry out analysis of variance
• We will discuss the results in the next class
21
Treatment 1 Treatment 2 Control
71 77 81
72 67 79
75 79 73
80 78 71
60 81 75
65 72 84
63 71 77
78 84 67
Mathematics English Education Biology
2.59 3.64 4.00 2.78
3.13 3.19 3.59 3.51
2.97 3.15 2.80 2.65
2.50 3.78 2.39 3.16
2.53 3.03 3.47 2.94
3.29 2.61 3.59 2.32
2.53 3.20 3.74 2.58
3.17 3.30 3.77 3.21
2.70 3.54 3.13 3.23
3.88 3.25 3.00 3.57
2.64 4.00 3.47 3.22
Analysis of Variance; one-way classification of variance