Not sure this is the right statistical method? Use the Choose Your StatsTest workflow to select the right method.
What is a One-Way Repeated Measures ANOVA?
The One-Way Repeated Measures ANOVA is a statistical test used to determine if 3 or more related groups are significantly different from each other on your variable of interest. Your variable of interest should be continuous, be normally distributed, and have a similar spread across your groups. Your groups should be repeated measures from the same units of observation (e.g. subject, store, location) and you should have enough data (more than 5 values in each group).
The One-Way Repeated Measures ANOVA is also sometimes called the Repeated Measures ANOVA, One-Way Repeated Measures ANOVA F Test, Repeated Measures ANOVA F Test, Within-Subjects ANOVA, ANOVA for Correlated Samples, Repeated Measures Analysis of Variance.
Assumptions for the One-Way Repeated Measures ANOVA
Every statistical method has assumptions. Assumptions mean that your data must satisfy certain properties in order for statistical method results to be accurate.
The assumptions for the One-Way Repeated Measures ANOVA include:
- Normally Distributed
- Random Sample
- Enough Data
Let’s dive in to each one of these separately.
The variable that you care about (and want to see if it is different across the 3+ groups) must be continuous. Continuous means that the variable can take on any reasonable value.
Some good examples of continuous variables include age, weight, height, test scores, survey scores, yearly salary, etc.
The variable that you care about must be spread out in a normal way. In statistics, this is called being normally distributed (aka it must look like a bell curve when you graph the data). Only use a One-Way Repeated Measures ANOVA with your data if the variable you care about is normally distributed.
If your variable is not normally distributed, you should use the Friedman Test instead.
The data points for each group in your analysis must have come from a simple random sample. This means that if you wanted to see if drinking sugary soda makes you gain weight, you would need to randomly select a group of soda drinkers for your soda drinker group.
The key here is that the data points for each group were randomly selected. This is important because if your groups were not randomly determined then your analysis will be incorrect. In statistical terms this is called bias, or a tendency to have incorrect results because of bad data.
If you do not have a random sample, the conclusions you can draw from your results are very limited. You should try to get a simple random sample. If you have independent samples (3 measurements from different, unrelated groups) then you should use a One-Way ANOVA instead.
The sample size (or data set size) should be greater than 5 in each group. Some people argue for more, but more than 5 is probably sufficient.
The sample size also depends on the expected size of the difference across groups. If you expect a large difference across groups, then you can get away with a smaller sample size. If you expect a small difference across groups, then you likely need a larger sample.
In statistics this refers to the idea that the variances of the differences between each possible pair of groups is the same. For instance, if there are 3 groups, the variance of (group 1 – group 2) should be the same as the variance of (group 1 – group 3) and so on. This assumption can be tested in most statistical software.
When to use a One-Way Repeated Measures ANOVA?
You should use a One-Way Repeated Measures ANOVA in the following scenario:
- You want to know if many groups are different on your variable of interest
- Your variable of interest is continuous
- You have 3 or more groups
- You have related samples
- You have a normal variable of interest
Let’s clarify these to help you know when to use a One-Way Repeated Measures ANOVA.
You are looking for a statistical test to see whether three or more groups are significantly different on your variable of interest. This is a difference question. Other types of analyses include examining the relationship between two variables (correlation) or predicting one variable using another variable (prediction).
Your variable of interest must be continuous. Continuous means that your variable of interest can basically take on any value, such as heart rate, height, weight, number of ice cream bars you can eat in 1 minute, etc.
Types of data that are NOT continuous include ordered data (such as finishing place in a race, best business rankings, etc.), categorical data (gender, eye color, race, etc.), or binary data (purchased the product or not, has the disease or not, etc.).
Three or more Groups
A One-Way Repeated Measures ANOVA can be used to compare three or more related groups on your variable of interest. See below for an explanation of what “related” groups means.
If you have only two groups, you should use a Paired Samples T-Test analysis instead.
Related samples means that you have repeated measures from the same units of observation. For example, if you have a group of men undergoing a treatment and you measure their cholesterol levels at 3 time points, then you have 3 groups of related data.
If you have 3 or more independent groups, you should use a One-Way ANOVA instead.
Normal Variable of Interest
Normality was discussed earlier on this page and simply means your plotted data is bell shaped with most of the data in the middle. If you actually would like to prove that your data is normal, you can use the Kolmogorov-Smirnov test or the Shapiro-Wilk test.
One-Way Repeated Measures ANOVA Example
Scenario: A random sample of men undergo an exercise program
Repeated Measures: Data were collected at month 1, 2 and 3
Variable of interest: Cholesterol levels
In this example we have three related groups (the three points in time) and one continuous variable of interest, so we know to perform a One-Way Repeated Measures ANOVA. After confirming that our variable of interest is normal and our data meet the assumptions of this test, we proceed with the analysis.
The null hypothesis, which is statistical lingo for what would happen if the exercise program does nothing, is that none of the three groups have different cholesterol levels, on average. We are trying to determine if receiving any of the three time points is significantly different from the others.
After the experiment is over, we compare the three groups on our variable of interest (cholesterol levels) using a One-Way Repeated Measures ANOVA. When we run the analysis, we get an F-statistic and a p-value. The F-statistic is a measure of how different the three groups are on our cholesterol variable of interest.
A p-value is the chance of seeing our results assuming that the exercise program has no effect on cholesterol levels. A p-value less than or equal to 0.05 means that our result is statistically significant and we can trust that the difference is not due to chance alone.
If the F-statistic is high and the p-value is low, it means that the cholesterol levels were significantly different in at least one of the time points. Further investigation is required to determine the which group(s) was significantly higher/lower than the others.
Frequently Asked Questions
Q: How do I run a One-Way Repeated Measures ANOVA in SPSS or R?
A: This resource is focused on helping you pick the right statistical method every time. There are many resources available to help you figure out how to run this method with your data:
SPSS article: https://statistics.laerd.com/spss-tutorials/one-way-anova-repeated-measures-using-spss-statistics.php
SPSS video: https://www.youtube.com/watch?v=Ep0kGn0i4n0
R article: https://www.datanovia.com/en/lessons/repeated-measures-anova-in-r/
R video: https://www.youtube.com/watch?v=OeQqSZ6GJck
If you still can’t figure something out, feel free to reach out.