Skip to main content

ANOVA example using Patty Neighmond's "To ease pain, reach for your play list."

I often share news stories that illustrate easy-to-follow, engaging research that appeals to undergraduates. For the first time, I'm also providing a mini data set that 1) mimics the original findings and 2) provides an example of ANOVA.

This story by Patty Neighmond, reporting for NPR, describes a study investigating the role of music in pain reduction. The study used three groups of kids, all recovering from surgery. The kids either 1) listened to music, 2) listened to an audio books, or 3) sat with noise-cancelling ear phones for 30 minutes. The researchers found that kids in both the music and audio book experienced pain reduction levels comparable to over-the-counter pain medication while the control group enjoyed no such benefits.

And the research used the 10-point FACES scale, allowing for a side discussion about how we collect data from humans who don't have the best vocabularies or limited communication skills.


This study can also be used as a way to explain ANOVA. The researchers didn't use ANOVA (and the data I provide below IS NOT the original data), but the original design and findings do provide us with three levels of a factor as well as some significant post-hocs.

Here is a data set generated via Richard Landers' data set generator and modified as to use a 1-10 FACES scale used in the original research (yes, the n-size is small for this design). It approximates the original findings: Statistically significant ANOVA, with post-hocs that demonstrate that Audio Book and Music conditions do not differ significantly but that participants in theses two groups report significantly less pain that the control condition.


Audio Book
Music Control
5 5 4
6 4 8
7 4 7
2 7 6
6 6 10
3 4 6
4 6 10
8 4 8
5 3 5
4 5 6

Now, if you have the students listen to the news story first, they are going to know the results. I don't think this is a bad thing, necessarily. I think this could be used when first introducing students to ANOVA as an example with training wheels (interesting news story to listen to for four minutes followed by a statistical exercise for which they know the outcomes). Additionally, I teach statistics to a lot of non-psychology majors (nursing, pre-physical therapy, pre-physician assistant) so a medical example helps me reach those students.

This could also be used as a prompt a discussion about turning this study into a more complicated one-way ANOVA (include more levels of your factor, like 30 minutes of video games or TV) as well as how you could turn the original study into a factorial ANOVA (by including severity of surgery, length of hospital stay, age of child, etc.). 

Popular posts from this blog

Ways to use funny meme scales in your stats classes

Have you ever heard of the theory that there are multiple people worldwide thinking about the same novel thing at the same time? It is the multiple discovery hypothesis of invention . Like, multiple great minds around the world were working on calculus at the same time. Well, I think a bunch of super-duper psychology professors were all thinking about scale memes and pedagogy at the same time. Clearly, this is just as impressive as calculus. Who were some of these great minds? 1) Dr.  Molly Metz maintains a curated list of hilarious "How you doing?" scales.  2) Dr. Esther Lindenström posted about using these scales as student check-ins. 3) I was working on a blog post about using such scales to teach the basics of variables.  So, I decided to create a post about three ways to use these scales in your stats classes:  1) Teaching the basics of variables. 2) Nominal vs. ordinal scales.  3) Daily check-in with your students.  1. Teach your students the basics...

Leo DiCaprio Romantic Age Gap Data: UPDATE

Does anyone else teach correlation and regression together at the end of the semester? Here is a treat for you: Updated data on Leonardo DiCaprio, his age, and his romantic partner's age when they started dating. A few years ago, there was a dust-up when a clever Redditor r/TrustLittleBrother realized that DiCaprio had never dated anyone over 25. I blogged about this when it happened. But the old data was from 2022. Inspired by this sleuthing,  I created a wee data set, including up-to-date information on his current relationship with Vittoria Ceretti, so your students can suss out the patterns that exist in this data.

Tyler Vigen's Spurious Correlations

Tyler Vigen has has created  a long list of easy-to-paste-into-a-powerpoint graphs that illustrate that correlation does not equal causation. For instance, while per capita consumption of cheese and number of people who die by become tangled in their bed sheets may have a strong relationship (r = 0.947091), no one is saying that cheese consumption leads to bed sheet-related death. Although, you could pose The Third Variable question to your students for some of these relationships). Property of Tyler Vigens, http://i.imgur.com/OfQYQW8.png Vigen has also provided a menu of frequently used variables (deaths by tripping, sunlight by state) to help you look for specific examples. This portion is interactive, as you and your students can generate your own graphs. Below, I generated a graph of marriage rates in Pennsylvania and consumption of high fructose corn syrup. Generated at http://www.tylervigen.com/