UNDERSTANDING
ANOVA
A HOW-TO GUIDE
University of Arizona
Military REACH
U N D E R S T A N D I N G A N O V A
Understanding ANOVA: A How-To Guide
Do children of dierent ethnicies aend youth programs at dierent rates? Do these dierences
depend on the gender of the youth? Could an intervenon aimed at increasing youth parcipaon in
programs be eecve? Does the eecveness of the intervenon depend on the gender of the youth?
These quesons and more can be answered (at least in part) by using Analysis of Variance (ANOVA). In
this How-To Guide we will discuss the uses of ANOVA to answer such quesons where dierences are
explored between three or more groups of individuals. This guide is intended for individuals who are
unfamiliar with ANOVA and serves as a basic guide for the contexts in which ANOVA is typically used.
Analysis of Variance, more commonly referred to as ANOVA, is similar to t-tests (see the Understanding
t-Tests: A How-To Guide for more informaon on t-tests). t-tests are used when you want to compare
two means, ANOVA is used when you want to compare more than two means. We begin with asking the
queson: “Why can’t we just do mulple t-tests between three or four groups?”
Let’s say we have three groups and we want to compare the mean of each group to each other.
Group 1 compared to Group 2
Group 2 compared to Group 3
Group 1 compared to Group 3
One opon might be to conduct mulple t-tests, in this case three separate tests. The problem with
conducng these t-tests has to do with the rate of error. For each t-test conducted there would be a
certain degree of error associated with each test. In other words, each test has a probability of being
wrong. The probability of being wrong is typically small, but when mulple tests are conducted the
chances that at least one of the tests is wrong increases. To solve this problem of increasing error, we
use ANOVA to make comparisons of means between mulple groups instead of lots of t-tests.
ANOVA, like a t-test, tells us if the means of dierent groups are the same or dierent, and the p-value
associated with ANOVA tells us if in fact the groups are dierent, if that dierence is stascally
signicant (see the How-To Guide on Stascal Language for more informaon on p-values and
signicance).
There are a few types of ANOVA including:
One-Way ANOVA
Factorial ANOVA
Repeated Measures ANOVA
2
U N D E R S T A N D I N G A N O V A
Below we discuss each of these dierent types of ANOVA and the contexts in which they might be used.
One-Way ANOVA
Use
The One-Way ANOVA is used when comparing the means from three or more groups. Specically, a One
-Way ANOVA is used when there is a single independent variable that has three or more categories.
The One-Way ANOVA tells us if the three groups dier from one another on a dependent variable.
Example
Imagine a study in which researchers implemented two separate intervenons, one designed to
improve skill building among youth (Intervenon A) and another designed to increase supporve rela-
onships between instructors and youth (Intervenon B). In addion, the researchers also employed a
control group¹ in their study.
The researchers want to know if either of these two intervenons improved instrucon quality. In this
study there are three groups, parcipants who received Intervenon A, those that received Intervenon
B, and the control group. Below is a graph of what the means for each group might look like. Research-
ers interested in dierences between these three groups in terms of instrucon quality would imple-
ment a One-Way ANOVA. The One-Way ANOVA provides informaon about if there were stascally
signicant instrucon quality dierences between these three groups
Interpretaon
The result of a One-Way ANOVA indicates that there are dierences between the three means.
However, ANOVA on its own does not provide informaon about where these dierences actually are.
In this example there could be a dierence in instruconal quality between the control and Intervenon
A, between the control and Intervenon B, and/or between Intervenon A and Intervenon B. To get at
these dierences addional analyses must be conducted. See the secon below on Post-Hoc Analyses
and Planned Contrasts for more informaon.
3
¹ A control group is used in experimental researcher designs. In such designs, typically one group of individuals is given some sort of treatment
or intervention while the other group is not (or is given something similar but innocuous). The control group is the group that is not given the
treatment or intervention. In well-designed experiments, difference between these groups would reflect the effect of the treatment or intervention.
U N D E R S T A N D I N G A N O V A
Factorial ANOVA
Use
Unlike a One-Way ANOVA, a Factorial ANOVA is used when there is more than one independent
variable. In the previous example there was only one independent variable with three levels
(Intervenon A, Intervenon B, control group). Now suppose that a researcher also wanted to know if
there were addional group dierences between boys and girls in the youth program. When this second
independent variable is added to the analysis, a Factorial ANOVA must be used.
Example
Factorial ANOVA’s typically use a mathemacal notaon to indicate the kind of Factorial ANOVA being
conducted. In the present example 3 x 2 Factorial ANOVA is being conducted. Below is an example of
how to break down this notaon:
In this example there are two independent variables, one with three levels (Intervenon A, Intervenon
B, control group) and one with two levels (boy, girl). Thus, the analysis would be a 3 x 2 Factorial
ANOVA.
The results of a Factorial ANOVA consist of several parts. First are called main eects. Main eects tell
you if there is a dierence between groups for each of the independent variables. For example, a main
eect of intervenon type (intervenon A, intervenon B, control group) would indicate that there is a
signicant dierence between these three groups. That is, somewhere among these three means, at
least two of them are signicantly dierent from one another. Like the One-Way ANOVA, a Factorial
ANOVA does not provide informaon on where these dierences are and addional analyses are
required, these addional analyses are discussed below (Post-Hoc Analyses and Planned Contrasts)
A main eect of gender would indicate that there is a dierence between the means of boys and girls.
In addion to the main eects, Factorial ANOVA also oen provides informaon about interacon
eects as well. Interacon eects provide informaon about whether an observed group dierence in
one independent variable varies as a funcon of another independent variable.
An example will clarify:
Suppose that a researcher found a main eect for intervenon type. This tells us that there is a signi-
cant dierence in instrucon quality between these three groups. If there were a signicant interacon
between intervenon type and gender, this would mean that the dierences found between interven-
on types were only there for one gender and not the other. Below is an example of such an interac-
on.
4
Intervenon A Intervenon B Control Group
By
Boy Girl
3
x
2
U N D E R S T A N D I N G A N O V A
The graph shows that there are no dierences for boys (green line) between the control, Intervenon A,
or Intervenon B. However, there are clear dierences for girls (blue line) between these three groups.
The implicaon of an interacon is that dierences between groups are dependent on membership in
another group (in this case, being a boy or girl).
Interpretaon
In the above example, because there is an interacon between intervenon type and gender, mean
dierences in instrucon quality among intervenon types only exist for girls and not boys.
Repeated Measures ANOVA
Use
As discussed in the How-To Guide on t-tests, a dependent samples t-test is used when the scores
between two groups are somehow dependent on each other. One example of such a dependency is
when the same people are given the same measure over me to see whether there is change in that
measure. Oen this may take the form of pre- and post-test scores (see the How-To Guide on t-tests for
a refresher on stascal dependency). The Repeated Measures ANOVA takes the dependent samples
t-test one step further and allows the research to ask the queson “Does the dierence between the
pre-test and post-test means dier as a funcon of group membership?”
Example
Imagine that pre-test and post-test data were collected regarding instrucon quality among 100 youth
program instructors. Between the pre- and post-tests an intervenon was implemented aimed at
improving instrucon quality. If you were only interested in the dierence between pre- and post-test
means, a dependent samples t-test would be sucient. However, suppose that a researcher wanted to
know whether the dierence in instrucon quality between pre- and post-test was dierent between
male and female instructors; in this case a Repeated Measures ANOVA would be used.
5
U N D E R S T A N D I N G A N O V A
In this example, there would be two independent variables: (1) tesng period (pre vs. post) and gender
(male vs. female). In the language of a Repeated Measures ANOVA the tesng period independent
variable would be called a within-subjects factor² while the gender independent variable would be
called a between-subjects factor³.
Like the Factorial ANOVA, the Repeated Measures ANOVA has both main eects and an interacon.
One main eect in this example would be for tesng period. A signicant main eect for tesng period
would indicate that the means for instrucon quality between pre- and post-test were meaningfully
dierent from one another.
Interpretaon
In this example a signicant main eect of gender would indicate that there was a meaningful dierence
in instruconal quality between male and female instructors. In this case the analysis would test for an
interacon between tesng period and gender. This would provide informaon regarding if the dier-
ence observed in instrucon quality between pre- and post-test diered depending on if the instructor
were male or female. A signicant interacon would indicate that the dierence observed between
pre- and post-test instrucon quality may be present for female instructors and not male instructors. In
the gure below we can see that the means for men (green line) are the same between pre-test (1) and
post-test (2). However, there was a big dierence between pre- and post-test means for women (blue
line). From this analysis one might conclude that the intervenon was eecve for female instructors
but not male instructors.
6
² A within-subjects factor is an independent variable that varies within the participants of the study. This means that the variance of the variable is
centered on the changes observed within each study participant, such as between a pre-test and a post-test
³ A between-subjects factor is an independent variable that varies only between participants but does not change within participants. Gender can
be treated as a between-subjects factor as it is static within an individual but varies between individuals.
U N D E R S T A N D I N G A N O V A
Post-Hoc Analyses and Planned Contrasts
The results of an ANOVA only tell you that there is a dierence between means of dierent groups; it
does not provide informaon about where these dierences lie. In the Factorial ANOVA described
above, an ANOVA would tell us that there is a dierence among the means between intervenon A,
intervenon B, and the control group. However, it does not tell us which means dier from each other.
Is the dierence between intervenon A and intervenon B? Is it between the control group and inter-
venon A? Is it between all three means?
In order to answer these quesons addional analyses have to be conducted.
There are two types of follow-up analyses that might be conducted with an ANOVA
post-hoc analyses
planned contrasts
Post-hoc analyses are used aer the fact, that is these analyses are used when the researcher does not
have specic predicons about where the dierences between means lie. Planned contrasts are exactly
that: planned. These analyses are used when the researcher has specic predicons about dierences
between the means.
Summary
In this How-To Guide we have gone over the basics of Analysis of Variance. We hope that we have
provided useful informaon about ANOVA, the dierent types, and informaon about how and why
ANOVA is used in research. In addion to this guide on ANOVA, our website has several other guides
that may be of interest. These include guides on t-tests, correlaon, regression, and others. We encour-
age readers to examine these guides as well to become crical consumer of youth program quality re-
search.
7
U N D E R S T A N D I N G A N O V A
8
The Arizona Center for Research and Outreach (AZ REACH)
Lynne M. Borden, Principal Invesgator
Extension Specialist and Professor
The Military REACH Team
Lynne M. Borden, Ph.D. – Principal Invesgator Bryna Koch, M.P.H
Leslie Bosch, M.S. Mary Koss, Ph.D.
Noel A. Card, Ph.D. Leslie Langbert, M.S.W.
Deborah M. Casper, M.S. Ann Mastergeorge, Ph.D.
Sandra Fletcher, M.S. Stephen Russell, Ph.D.
Stacy Ann Hawkins, Ph.D. Amy Schaller, M.A.
Ashley Jones, B.S.
Gabriel Schlomer, Ph.D. (Primary Author)
Chrisne Bracamonte Wiggs, M.S. (Co-Principal Invesgator)
John & Doris Norton School of Family and Consumer Sciences
The University of Arizona
Tucson, Arizona
Phone: 520.621.1075
Website: hp://ag.arizona.edu/fcs/
The Arizona Center for Research and Outreach (AZ REACH)
The University of Arizona
Tucson, Arizona
Phone: 520.621.1742
Website: hp://reachmilitaryfamilies.arizona.edu/