One-Way ANOVA: What Is This Test For?
One-Way ANOVA: What Is This Test For?
One-Way ANOVA: What Is This Test For?
where µ = group mean and k = number of groups. If, however, the one-way ANOVA
returns a statistically significant result, we accept the alternative hypothesis (H A),
which is that there are at least two group means that are statistically significantly
different from each other.
One study design is to recruit a group of individuals and then randomly split this
group into three or more smaller groups (i.e., each participant is allocated to one,
and only one, group). You then get each group to undertake different tasks (or put
them under different conditions) and measure the outcome/response on the same
dependent variable. For example, a researcher wishes to know whether different
pacing strategies affect the time to complete a marathon. The researcher randomly
assigns a group of volunteers to either a group that (a) starts slow and then
increases their speed, (b) starts fast and slows down or (c) runs at a steady pace
throughout. The time to complete the marathon is the outcome (dependent) variable.
A second study design is to recruit a group of individuals and then split them into
groups based on some independent variable. Again, each individual will be assigned
to one group only. This independent variable is sometimes called an attribute
independent variable because you are splitting the group based on some attribute
that they possess (e.g., their level of education; every individual has a level of
education, even if it is "none"). Each group is then measured on the same dependent
variable having undergone the same task or condition (or none at all). For example,
a researcher is interested in determining whether there are differences in leg
strength between amateur, semi-professional and professional rugby players. The
force/strength measured on an isokinetic machine is the dependent variable.
2. There are two tests that you can run that are applicable when the assumption
of homogeneity of variances has been violated: (1) Welch or (2) Brown and
Forsythe test. Alternatively, you could run a Kruskal-Wallis H Test. For most
situations it has been shown that the Welch test is best. Both the Welch and
Brown and Forsythe tests are available in SPSS Statistics
3. A lack of independence of cases has been stated as the most serious
assumption to fail. Often, there is little you can do that offers a good solution
to this problem.
Structure of results:
Source SS df MS F Sig.
An example:
Source SS df MS F Sig.
Total 367.867 29
You should not report the result as "significant difference", but instead report it as
"statistically significant difference". This is because your decision as to whether the
result is significant or not should not be based solely on your statistical test.
Therefore, to indicate to readers that this "significance" is a statistical one, include
this is your sentence.
What to do now?
Now that you understand the one-way ANOVA, you can go to our guide on
how to run the test in SPSS Statistics: One-way ANOVA in SPSS Statistics.
Note: If your study design not only involves one dependent variable and one
independent variable, but also a third variable (known as a "covariate") that you
want to "statistically control", you may need to perform an ANCOVA (analysis of
covariance), which can be thought of as an extension of the one-way ANOVA. To
learn more, see our SPSS Statistics guide on ANCOVA. Alternatively, if your
dependent variable is the time until an event happens, you might need to run
a Kaplan-Meier analysis.
This "quick start" guide shows you how to carry out a one-way ANOVA using SPSS
Statistics, as well as interpret and report the results from this test. Since the one-way
ANOVA is often followed up with a post hoc test, we also show you how to carry out
a post hoc test using SPSS Statistics. However, before we introduce you to this
procedure, you need to understand the different assumptions that your data must
meet in order for a one-way ANOVA to give you a valid result. We discuss these
assumptions next.
SPSS Statistics
Assumptions
When you choose to analyse your data using a one-way ANOVA, part of the process
involves checking to make sure that the data you want to analyse can actually be
analysed using a one-way ANOVA. You need to do this because it is only
appropriate to use a one-way ANOVA if your data "passes" six assumptions that are
required for a one-way ANOVA to give you a valid result. In practice, checking for
these six assumptions just adds a little bit more time to your analysis, requiring you
to click a few more buttons in SPSS Statistics when performing your analysis, as well
as think a little bit more about your data, but it is not a difficult task.
Before we introduce you to these six assumptions, do not be surprised if, when
analysing your own data using SPSS Statistics, one or more of these assumptions is
violated (i.e., is not met). This is not uncommon when working with real-world data
rather than textbook examples, which often only show you how to carry out a one-
way ANOVA when everything goes well! However, don’t worry. Even when your data
fails certain assumptions, there is often a solution to overcome this. First, let’s take a
look at these six assumptions:
You can check assumptions #4, #5 and #6 using SPSS Statistics. Before doing this,
you should make sure that your data meets assumptions #1, #2 and #3, although
you don't need SPSS Statistics to do this. Remember that if you do not run the
statistical tests on these assumptions correctly, the results you get when running a
one-way ANOVA might not be valid. This is why we dedicate a number of sections of
our enhanced one-way ANOVA guide to help you get this right.
SPSS Statistics
Example
A manager wants to raise the productivity at his company by increasing the speed at
which his employees can use a particular spreadsheet program. As he does not
have the skills in-house, he employs an external agency which provides training in
this spreadsheet program. They offer 3 courses: a beginner, intermediate and
advanced course. He is unsure which course is needed for the type of work they do
at his company, so he sends 10 employees on the beginner course, 10 on the
intermediate and 10 on the advanced course. When they all return from the training,
he gives them a problem to solve using the spreadsheet program, and times how
long it takes them to complete the problem. He then compares the three courses
(beginner, intermediate, advanced) to see if there are any differences in the average
time it took to complete the problem.
SPSS Statistics
Setup in SPSS Statistics
In SPSS Statistics, we separated the groups for analysis by creating a grouping
variable called Course (i.e., the independent variable), and gave the beginners
course a value of "1", the intermediate course a value of "2" and the advanced
course a value of "3". Time to complete the set problem was entered under the
variable name Time (i.e., the dependent variable). In our enhanced one-way ANOVA
guide, we show you how to correctly enter data in SPSS Statistics to run a one-way
ANOVA (see on our Features: One-way ANOVA page). You can learn about our
enhanced data setup content in general on our Features: Data Setup. Alternately,
see our generic, "quick start" guide: Entering Data in SPSS Statistics.
SPSS Statistics
Test Procedure in SPSS Statistics
The eight steps below show you how to analyse your data using a one-way ANOVA
in SPSS Statistics when the six assumptions in the previous section, Assumptions,
have not been violated. At the end of these eight steps, we show you how to
interpret the results from this test. If you are looking for help to make sure your data
meets assumptions #4, #5 and #6, which are required when using a one-way
ANOVA, and can be tested using SPSS Statistics,
SPSS Statistics generates quite a few tables in its one-way ANOVA analysis. In this
section, we show you only the main tables required to understand your results from
the one-way ANOVA and Tukey post hoc test. For a complete explanation of the
output you have to interpret when checking your data for the six assumptions
required to carry out a one-way ANOVA, see our Features: One-way ANOVA page.
This includes relevant boxplots, and output from the Shapiro-Wilk test for normality
and test for homogeneity of variances. Also, if your data failed the assumption of
homogeneity of variances, we take you through the results for Welch ANOVA, which
you will have to interpret rather than the standard one-way ANOVA in this guide.
Below, we focus on the descriptives table, as well as the results for the one-way
ANOVA and Tukey post hoc test only. We will go through each table in turn.
SPSS Statistics
Descriptives Table
The descriptives table (see below) provides some very useful descriptive statistics,
including the mean, standard deviation and 95% confidence intervals for the
dependent variable ( Time ) for each separate group (Beginners, Intermediate and
Advanced), as well as when all groups are combined (Total). These figures are
useful when you need to describe your data.
Published with written permission from SPSS Statistics, IBM Corporation.
SPSS Statistics
ANOVA Table
This is the table that shows the output of the ANOVA analysis and whether there is a
statistically significant difference between our group means. We can see that the
significance value is 0.021 (i.e., p = .021), which is below 0.05. and, therefore, there
is a statistically significant difference in the mean length of time to complete the
spreadsheet problem between the different courses taken. This is great to know, but
we do not know which of the specific groups differed. Luckily, we can find this out in
the Multiple Comparisons table which contains the results of the Tukey post hoc
test.
SPSS Statistics
Descriptives Table
The descriptives table (see below) provides some very useful descriptive statistics,
including the mean, standard deviation and 95% confidence intervals for the
dependent variable ( Time ) for each separate group (Beginners, Intermediate and
Advanced), as well as when all groups are combined (Total). These figures are
useful when you need to describe your data.
Published with written permission from SPSS Statistics, IBM Corporation.
SPSS Statistics
ANOVA Table
This is the table that shows the output of the ANOVA analysis and whether there is a
statistically significant difference between our group means. We can see that the
significance value is 0.021 (i.e., p = .021), which is below 0.05. and, therefore, there
is a statistically significant difference in the mean length of time to complete the
spreadsheet problem between the different courses taken. This is great to know, but
we do not know which of the specific groups differed. Luckily, we can find this out in
the Multiple Comparisons table which contains the results of the Tukey post hoc
test.
SPSS Statistics
Multiple Comparisons Table
From the results so far, we know that there are statistically significant differences
between the groups as a whole. The table below, Multiple Comparisons, shows
which groups differed from each other. The Tukey post hoc test is generally the
preferred test for conducting post hoc tests on a one-way ANOVA, but there are
many others. We can see from the table below that there is a statistically significant
difference in time to complete the problem between the group that took the beginner
course and the intermediate course (p = 0.046), as well as between the beginner
course and advanced course (p = 0.034). However, there were no differences
between the groups that took the intermediate and advanced course (p = 0.989).
It is also possible to run comparisons between specific groups that you decided were
of interest before you looked at your results. For example, you might have expressed
an interest in knowing the difference in the completion time between the beginner
and intermediate course groups. This type of comparison is often called a planned
contrast or a simple custom contrast. However, you do not have to confine yourself
to the comparison between two time points only. You might have had an interest in
understanding the difference in completion time between the beginner course group
and the average of the intermediate and advanced course groups. This is called a
complex contrast. All these types of custom contrast are available in SPSS Statistics.
In our enhanced guide we show you how to run custom contrasts in SPSS Statistics
using syntax (or sometimes a combination of the graphical user interface and syntax)
and how to interpret and report the results. In addition, we also show you how to
"trick" SPSS Statistics into applying a Bonferroni adjustment for multiple
comparisons which it would otherwise not do.
SPSS Statistics
Reporting the output of the one-way ANOVA
Based on the results above, you could report the results of the study as follows
(N.B., this does not include the results from your assumptions tests or effect size
calculations):
General
In our enhanced one-way ANOVA guide, we show you how to write up the results
from your assumptions tests, one-way ANOVA and Tukey post hoc results if you
need to report this in a dissertation, thesis, assignment or research report. We do
this using the Harvard and APA styles (see our Features: One-way ANOVA page to
learn more). It is also worth noting that in addition to reporting the results from your
assumptions, one-way ANOVA and Tukey post hoc test, you are increasingly
expected to report an effect size. Whilst there are many different ways you can do
this, we show you how to calculate an effect size from your SPSS Statistics results in
our enhanced one-way ANOVA guide. Effect sizes are important because whilst the
one-way ANOVA tells you whether differences between group means are "real" (i.e.,
different in the population), it does not tell you the "size" of the difference. Providing
an effect size in your results helps to overcome this limitation.