Professional Documents
Culture Documents
Unit 8
ANOVA
1
ANOVA—Analysis of Variance
2
ANOVA—Analysis of Variance
3
Data Table
• Data for ANOVA are placed in a data
table.
• There must be at least three groups of
data.
4
Assumptions and Hypotheses
The assumptions in ANOVA are:
-normal distribution of the data
-independent simple random samples
-constant variance
The hypotheses are:
H0: all means are equal
HA: not all the means are equal
5
Test Statistic
• The test statistic is V.R. which is
distributed as F with the appropriate
number of numerator degrees of
freedom and denominator degrees of
freedom.
• A large value of F indicates rejection of
H0.
6
Calculations
1. Basic calculations are done to determine
the values of Sx, Sx2 and n for each group.
8
Calculations
3. N and k are used to calculate
degrees of freedom.
TOTAL df = N – 1
GROUP df = k – 1
ERROR df = N - k
9
Calculations
4. Calculations for ANOVA table values:
[A] correction factor [D] SS Error
[B] Sum of Squares Total [E] MS Group
Value (SS Total) [F] MS Error
[C] SS Group [G] F (V.R.)
10
Sample ANOVA Calculations
a. Given
Opercular breathing rates of goldfish
at different temperatures.
N = 48 (number of measurements)
k = 6 (number of groups)
11
12
Sample ANOVA Calculations
b. Assumptions
• normal distribution of data
• independent simple random samples
• constant variance
13
Sample ANOVA Calculations
c. Hypotheses
H0: all means are equal
HA: not all the means are equal
14
Sample ANOVA Calculations
d. Statistical test
15
Sample ANOVA Calculations
Decision criteria
The critical value of F with 5 numerator
degrees of freedom and 42 denominator
degrees of freedom is about 2.45 at the
95% confidence level. We reject H0 if
V.R. > 2.45.
16
17
Sample ANOVA Calculations
18
Sample ANOVA Calculations
19
Sample ANOVA Calculations
20
Sample ANOVA Calculations
21
Sample ANOVA Calculations
22
Sample ANOVA Calculations
23
Sample ANOVA Calculations
24
Sample ANOVA Calculations
f. Discussion
• The 95% CI level for F with 5 numerator
degrees of freedom and 42 denominator
degrees of freedom is 2.45 as read from the
F tables.
• The actual value is 12.01 with a probability
of 2.98 x 10-7.
• This means that H0 is rejected.
25
Sample ANOVA Calculations
g. Conclusions
We conclude that not all the means of the
groups are equal.
26
fin
27