Section 5.8 Post-hoc Tests
To add to our ANOVA and descriptive statistics, we can run what is called Post-hoc Tests. These are meant to dive deeper into the ANOVA model. While an ANOVA model tells us if there is a statistically significant difference, Post-hoc Tests tell us where the difference is. The
TukeyHSD command provides the insight.
TukeyHSD(anova_model)
Tukey multiple comparisons of means
95% family-wise confidence level
Fit: aov(formula = score ~ method, data = memory)
$method
diff lwr upr p adj
Rereading-Flashcards -6.594305 -12.173359 -1.015251 0.0167319
Testing-Flashcards 9.612406 4.033352 15.191460 0.0003304
Testing-Rereading 16.206711 10.627657 21.785765 0.0000000
We have three different rows, with each studying technique compared to each other. The βdiffβ column shows the mean difference between groups (Group 2 β Group 1).
-
Positive = first group has a higher mean.
-
Negative = first group has a lower mean.
Looking here, we can see that testing has a higher mean than both flashcards and rereading when compared against the two. We also look at the p adj, which is just the p-value. All three are statistically significant, specifically the two related to testing.
We can visualize this difference in mean comparisons using the
plot command in base R.
plot(TukeyHSD(anova_model))

Taking all this into consideration:
-
Descriptive statistics show that the mean of Testing is higher than the other techniques.
-
The ANOVA results show that there is a statistically significant difference between the means of the different techniques.
-
The Post-hoc test results show that testing has higher means than Flashcards and Rereading, and that those differences are statistically significant.
All of this brings us to the conclusion: The Testing studying technique provides the highest memory exam scores.
