Академический Документы
Профессиональный Документы
Культура Документы
The test uses the F-distribution (probability distribution) function and information about the variances of each population (within)
and grouping of populations (between) to help decide if variability between and within each populations are significantly different.
So the method of ANOVA test the hypotheses that:
H0:
Ha: Not all the means are equal
or
) and is a estimate of
When the null hypothesis is false this variance is relatively large and by comparing it with the within-sample variance
we can tell statistically whether H0 is true or not.
The between-sample variance is associated with the explained variation of our experiment.
Example: Given the means of 5 samples: 210, 212, 213, 214 and 214,
Then another estimate of the sample variance of the means is:
Sample
Sample mean
Mean - Grand
Sum of
(1)
Mean (2)
Square
( )
)2
(3)
210
6.76
212
0.36
213
0.16
214
1.96
214
1.96
Average (1)
=212.6
If the data from both examples above are from the same 5 samples or populations then a ratio of both estimates of the variance
would give the following:
If there are k number of population and n number of data values of the all the sample,
then the degree of freedom of the within-sample variance, df1 = k -1 and
the degrees of freedom of the between-sample variance is given has df2 = n - k.
The graph of an F probability distribution starts a 0 and extends indefinitely to the right.
It is skewed to the right similar to the graph shown below.
F-Distribution Graphs:
Rows, i
Sample 2
Sample 3
77
83
80
79
91
82
87
94
86
85
88
85
78
85
80
Mean
81.2
88.2
82.6
Grand
84
Mean,
Sum of Square Worksheet
Rows, i
SS (Column 2)
SS (Column 3)
(77-81.2)2 = 17.6
(83-88.2)2 = 27.0
(80-82.6)2 = 6.76
(79-81.2)2 = 4.84
(91-88.2)2 = 7.84
(82-82.6)2 = 0.36
(87-81.2)2 = 33.6
(94-88.2)2 = 33.6
(86-82.6)2 = 11.5
(85-81.2)2 = 14.4
(88-88.2)2 = 0.04
(85-82.6)2 = 5.76
(78-81.2)2 = 10.2
(85-88.2)2 = 10.2
(80-82.6)2 = 6.76
80.8
78.8
31.2
4
5
SSj (Col
)
Sample
size, nj
SSW = SSE =
SSB = SSTR =
MSB =
F=
5. Know how to construct an ANOVA Table.
The various statistics computed from the analysis of variance above can be summarized in an ANOVA Table
as shown below: These summaries are then used to draw inference about the various samples or treatments of which we are studying.
ANOVA Table - Basic layout:
Source
Between
Sum of
Degree of
Mean
Squares
(SS)
Freedom
(df)
Square
SSB
k-1
Within
Samples
(Unexplained
SSE
P-value
Value from
MSB=
Samples
(Explained)
F-Statistics
F=
Table
n-k
MSE=
Total
SSTO
n-1
The ANOVA table is easily constructed from the ANOVA program by entering each observations for each sample in
appropriate columns and deleting any division by 0 in selected regions of the program.
For the data above the ANOVA table is:
6. Know how to interpret the data in the ANOVA table against the null hypothesis.
The ANOVA table program computes the necessary statistics for evaluating the null hypothesis that
the means are equal: H0:
.
Use the degrees of freedom and an alpha significance level to obtain the expected F-Distribution statistics
from the lookup table or from the ANOVA program.
Acceptance Criteria for the Null Hypothesis:
If the F-statistics computed in the ANOVA table is less than the F-table statistics or
the P-value if greater than the alpha level of significance, then there is not reason to reject the null hypothesis
that all the means are the same:
Rows, i
Treatment of samples j ( 1 to k
Sum of
Sum of
Sum of
Sum of
Sum of
Square
Square
Square
Square
Square
j=1
j=2
j=3
j=4
j=5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SSj (Colu
mn Total)
Sample
size, nj
SSW = SSE =
SSB = SSTR =
ANOVA Table
Source
Between
Sum of
Degree of
Mean
Squares
(SS)
Freedom
(df)
Square
SSB=
k-1=
SSE=
n-k=
SSTO=
n-1=
Samples
(Explained)
Within
Samples
(Unexplained)
Total
F-Statistics
MSB=
MSE=
F=
P-value /
F-Table