Lecture14 OneWayANOVA
Lecture14 OneWayANOVA
Research Question
• What type of therapy is most
effective in curing phobias?
– General counseling
– Systematic desensitization
– Counter conditioning
Comparing 3 (or more) groups
• The IV is nominal (3 categories)
– Regression requires an ordered (ordinal) IV
so we can’t use that
Comparing 3 (or more) groups
• The IV is nominal (3 categories)
– Regression requires an ordered (ordinal) IV
so we can’t use that
– If we used a t-test, we would have to do
three comparisons:
• General counseling vs. Systematic
desensitization
• General counseling vs. Counter conditioning
• Systematic desensitization vs. counter
conditioning
– What’s the problem with this?
Comparing 3 (or more) groups:
Problem with t-test approach
• Whenever you do more than one
comparison in an experiment, you increase
the chance of a Type I error
– If we used the t-test approach, we would
compare
• μ1 & μ2 with α = .05
• μ2 & μ3 with α = .05
• μ1 & μ3 with α = .05
– So you would end up with an experiment-wise
error rate of .05*3 = .15
– Increasing the number of groups makes this
much worse
One-way ANOVA
• A “one-way ANOVA” is an
experimental design with one
independent variable that represents
more than 2 levels of groups
One-way ANOVA
• A “one-way ANOVA” is an experimental
design with one independent variable
that represents more than 2 levels or
groups
One-way ANOVA
• A “one-way ANOVA” is an experimental
design with one independent variable
that represents more than 2 levels or
groups
– The IV in an ANOVA is called a factor
• E.g., Type of therapy, grade level in school (2nd,
3rd, or 4th), dosage of a drug (0mg, 100mg, 500
mg)
One-way ANOVA
• A “one-way ANOVA” is an experimental
design with one independent variable
that represents more than 2 levels or
groups
– The IV in an ANOVA is called a factor
• E.g., Type of therapy, grade level in school (2nd,
3rd, or 4th), dosage of a drug (0mg, 100mg, 500
mg)
• “ANOVA” stands for “analysis of variance”
Analysis of Variance
• When you break up people into groups
(e.g., types of therapy), there are two
sources of variance that are important
Analysis of Variance
• When you break up people into groups
(e.g., types of therapy), there are two
sources of variance that are important
– Variance within each group
• Even in the same type of therapy, people will
differ on how much improvement they make (for
reasons we don’t know about)
• This is the noise
Analysis of Variance
• When you break up people into groups
(e.g., types of therapy), there are two
sources of variance that are important
– Variance within each group
• Even in the same type of therapy, people will differ on
how much improvement they make (for reasons we
don’t know about)
• This is the noise
– Variance between each group
• We are really interested in the differences between the
groups– does one group improve more than the other
two?
• The variance between the groups is our “signal”
Analysis of Variance
• In some ways, ANOVA should be called
“analysis of sums of squares”
– SStotal = Ssbetween-groups + SSwithin-groups
• The point is to parse out how much of the
variance is happening between the
groups (signal that the group is making a
difference), and how much is happening
within the group (random error, or noise)
The ANOVA Table
Source SS df MS F p
Between
group
Within
group
Total
• What type of therapy is most effective in
curing phobias?
– We randomly assigned 15 people to 3 groups
– After therapy, they take a phobia assessment
11 7 4
13 5 5
10 5 6
8 5 7
13 8 3
Counseling Desensitization Counter conditioning
11 7 4
13 5 5
10 5 6
8 5 7
13 8 3
11 7 4
13 5 5
10 5 6
8 5 7
13 8 3
Mean 11 6 5
11 7 4
13 5 5
10 5 6
8 5 7
13 8 3
Mean 11 6 5