Beruflich Dokumente
Kultur Dokumente
ANOVA
ANOVA
• ANOVA avoids this type of Type I error inflation by
conducting a single test whether the entire set of
sample means suggests that the samples were drawn
from the same general population.
• ANOAVA is used to determine the probability that
differences in means (across several groups) are due
solely to sampling error.
Ho: μ1 = μ2 = μ3 = … = μk
HA: μ1 ≠ μ2 ≠ μ3 ≠ … ≠ μk
ANOVA - post hoc tests
• Examination of the group means enables you to
assess the relative standing of each group on the
dependent measure.
• The F statistic test assesses the null hypothesis of
equal means, and it does not address the question
of which means are different.
• For example, in a three‐group situation, all three
groups may differ significantly, or two may be
equal but differ from the third.
• To assess these differences, the researcher can
employ either planned comparisons or post hoc
tests.
The Purpose of ANOVA
• ANOVA can tell you whether:
– Groups scores differ from one another.
– Additional analysis can be done to find out:
• One group has a higher mean score than all the other
groups.
• One group has a higher mean score than another group.
ANOVA: F-statistic
• F-statistic is the ratio of MSB to MSW.
• It is a measure of:
– how much variance is attributable to the different
groups versus the variance expected from
random sampling.
• The ratio of MSB to MSW is similar in concept
to the t statistic, but in this case gives us a
value for the F statistic.
Essence of ANOVA
• An ANOVA is an examination of means (i.e., mean differences) based on
means themselves and variations from the means.
• Concept: If everyone did have the same score, then the overall mean
would have zero variance. When not everyone scores exactly the same,
then, it is possible to express each person’s score as a deviation from the
grand mean.
5 0 38
Mean Deviation SS
Essence of ANOVA
• The ANOVA seeks to determine how much total
variation can be explained by the independent
variable (or group identity), by dividing the
total variance (i.e., sum of squares, SST) into
two parts:
a) the variance attributable to the variables in the
study (between sums of squares, SSB)
b) the variance attributable to variables not included
in the study (within sums of squares, SSW)
Essence of ANOVA
• The elements of an ANOVA
– Differences between a group mean and the grand
mean ( SSB )
– Differences between an individual’s score and his or
her group means (SSW)
– Differences between an individual’s score and the
grand mean (SST)
Test score of
Test score of
Experimental What you want to see Control Group
Group
Essence of ANOVA
Student1 4 -1 1 Control
Student2 3 -2 4 Control
Student3
Student4
6
4
1
-1
1
1
Control
Control
4.8 (4.8) - (5) = -0.2 0.04
Student5 7 2 4 Control
Student6 3 -2 4 Experiment
Student7 7 2 4 Experiment
Student8
Student9
6
2
1
-3
1
9
Experiment
Experiment
5.2 (5.2) - (5) = 0.2 0.04
Student10 8 3 9 Experiment
5 0 38 5 0.08
Mean Deviation SS
SSB
0.08 x 5 = 0.4 (between sums of
squares)
Within-groups Variation
5
Mean
0 38
Deviation SS
37.6
SSW
(Within sums of
squares)
SST = SSB + SSW
38 = 0.4 + 37.6
Student1 4 -1 1 Control
Student2 3 -2 4 Control
Student3 6 1 1 Control
Student4 4 -1 1 Control
Student5 7 2 4 Control
Student6 3 -2 4 Experiment
Student7 7 2 4 Experiment
Student8 6 1 1 Experiment
Student9 2 -3 9 Experiment
Student10 8 3 9 Experiment
5 0 38
Mean Deviation SS
SST
Variation & Variance
SSB / dfB
SSW / dfW
Variation = Sum of Squares
ANOVA
Grand mean
ANOVA
Between‐groups of variance
ANOVA
Within‐groups of variance
ANOVA
Differences between
individuals within each group
• Compare the p-value (based on the calculated F-value) to a significance level (or a
critical value of F).
5
Results of F-tests
• The probability of finding an F-value of xxxx
(or an even more extreme value) under Ho is
xxxx.
• If this probability (p-value) is very low (e.g.,
less than a alpha level = 0.05), then we can
reject the null hypothesis.
• If this probability (p-value) is not very small
(e.g., greater than a alpha level = 0.05), then
we cannot reject the null hypothesis.
The probability of
observing an F-ratio of
1.638 or more given the
null hypothesis is true is
0.203.
p-values
In the SPSS computer output, we do not find a critical F* value, but rather
the expression of the associated p-value (“Sig”). This is the empirical
significance level, which represents a probability of finding an F-ratio (or
an even more extreme value) under Ho.
Results of F-tests
• You set a significance level, 0.05 The probability
of 0.05.
• When the p-value is less than 0.05 (i.e.,
significance level of 0.05), you reject the null
hypothesis and concludes that the groups scores
differ.
• When the p-value is greater than 0.05 (i.e.,
significance level of 0.05), you cannot reject the
null hypothesis and concludes that the groups
scores do not differ.
ANOVA &
Sample size
ANOVA & Sample size
• Sample size requirements from increasing either
the number of levels or the number of factors
• For each group, a sample size should be at least
about 20 or so observations.
• Thus, increasing the number of levels in any
factor requires an increase in sample size. Also,
analyzing multiple factors can create a situation
of large sample size requirements rather quickly.
• When two or more factors are included in the
analysis, the number of groups formed is the
product of the number of levels, not their sum.
ANOVA & Sample size
School 1 School 2
25 25 50
Gender School 1 School 2
Male
Female
25
25
25
25
100
SES School 1 School 2
Low
Medium
25
25
25
25
150
High 25 25