Introduction

This research study is concerned with seeing if there is a connection between a decrease in stress and listening to music. The stress of the participants was recorded by the proxy variable blood cortisol. The research question that will be investigated in this study is can listening to music help decrease anxiety/stress levels?

In this study the population parameter of interest is the long run difference between the average change in cortisol of the music group and the average change in cortisol of the treatment group. In symbols we would express this as \(\mu_{music} - \mu_{control}\).

One of the sources that inspired this study’s research question was the article “Music listening as a means of stress reduction in daily life” published in Psychoneuroendocrinology. The article states that results from previous experimental studies show that music listening has the potential to reduce stress. However, this article also stated that listening to music seems to be more effective at reducing stress when the listening is done with the purpose of relaxation. This is important to keep in mind for this study as the Islanders do not have motivation for listening to the music.

Another article that informed the research question was “Music therapy for stress reduction: a systematic review and meta-analysis”. Although this article was focused on music therapy it said that music listening “showed an overall medium-to-large effect on stress-related outcomes”. Although at first glance music therapy sounds like it might be listening to music with an intent to relax (when relaxation is the goal) it is a practice that is performed by a health professional and has highly individualized goals. While these findings do seem to show that music might help lower anxiety levels the process of music therapy is very different than what was done with the Islanders, and thus does not completely apply to this study. From these two main sources, and some other articles that were considered including “The Role of Music Therapy in the Emotional Regulation and Psychological Stress Relief of Employees in the Workplace” it appears that there is a connection between music listening and stress.

From these research papers it seems likely that the participants in the treatment group will have a larger decrease in stress than the participants in the control group. However, as some of the research suggests that the intent behind the music listening is important, it is possible there will be no association between the two variables. It seems very unlikely that the control group will have a higher decrease in stress than the treatment group.

Data Collection Methods

The experimental units in the study are the 162 different people from the 27 towns on the Islands. The sample of the Islanders was a random sample. To do this 6 people from each town of the Islands were chosen. For each town the number of houses in the town was recorded and then a random number generator was used to get a number between one and the number of houses in the town. Once the house was randomly chosen the participant from the house was chosen using a random number generator. If only one person lived in the house they were asked to participate in the study. If more than one person over the age of 18 lived in the house another random number generator was used to get a number between one and the number of people over the age of 18. The randomly chosen person was then asked to participate in the study. The names in the houses appear in a top down list so when assigning numbers the top person was number one, the second was number two and so on. If at any point someone denied participating in the study we went back to the list of houses and got a new random number and redid the process. This process was done until we had six participants from each town on the Islands.

Once all of the experimental units were collected they were randomly assigned to the treatment and control groups using Google sheets. To get the data from the treatment group the blood cortisol of the members was taken. Once the blood cortisol was done it was recorded and the participants were made to listen to ten minutes of classical music. Immediately after they were done listening to the music their blood cortisol levels were taken again. The levels were then recorded in Google sheets data set and the change in their cortisol levels was calculated.

For the control group, their blood cortisol was taken. They were then left alone to wait for ten minutes without doing anything. After ten minutes had passed their blood cortisol levels were taken again and recorded in the Google sheets data set. The change in their cortisol levels was then calculated.

Because there was lots of data to collect it was not all collected on the same day. Thus, it is possible that the day the data was collected somehow impacted the stress level of the participants. Furthermore, the time of day the data was collected was not always the same for the participants in the different groups. For most of the tests the blood cortisol was recorded exactly ten minutes apart and directly after the treatment group had finished listening to music. However, there were a couple instances where the data was recorded after slightly more than ten minutes minutes, maybe 15 minutes, and some instances where the second cortisol level for the control participants was taken before ten minutes had passed.

The change in blood cortisol of all the participants was taken on the first visit and no repeat visits occurred. Furthermore, no participants withdrew from the study. Because there are an even number of experimental units the number of people in the treatment group was the same as the number in the control.

Descriptive Statistics

The explanatory variable for this study is whether the participant was in the treatment or control group. The response variable is their change in cortisol level. This data is loaded into R with the code below so that we can create visualizations and perform analysis.

Music_data <- read_csv('~/Documents/Stats Apps/Final Project/Mini Project 3 Data - Final Long.csv')

Because we have a binary categorical and a quantitative varibale we will visualize this data in side-by-side boxplots.

bwplot(Group ~ Difference, 
       horizontal = TRUE, 
       main="Side-by-side boxplots",
       data = Music_data)

From the side-by-side boxplots we can see that the standard deviation of the music group is much larger than that of the control group. Furthermore, there are outliers in the music group, while the control group appears to be approximately bell shaped. We can also look at the data on a histogram to get another view, and more easily see the shape of the distributions.

histogram(~Difference | Group, data = Music_data, width = 1, layout = c(1, 2))

From the two histograms above we can more clearly see that the control group data is approximately bell shaped and the treatment/music group data is not bell shaped as it is skewed-right because of the outliers.

We will also take a look at the summary statistics for the data to get a little more understanding.

favstats(Difference ~ Group, data = Music_data)

From the summary statistics we can see that the treatment group, as we anticipated from the graphs, has a standard deviation of 1.27 which is larger than the standard deviation of the control group which is 0.758. Furthermore, the maximum and minimum values of the treatment group are larger and smaller than the respective maximum and minimum of the control group. Lastly, the mean of the treatment group is 0.509 which is larger than the 0.170 mean of the control group. This gives us a statistic \(bar{x}_{music}- \bar{x}_{control}\) of 0.339.

Analysis of Results

To carry out a test of significance we will begin by defining the parameters and the null and alternative hypotheses. All the towns and individuals Islands are represented in the data so the population corresponds to all inhabitants of the Islands over 18 years of age. The parameter that this study is interested in is the long run difference between the average change in cortisol of the music group and the average change in cortisol of the control group.

The null hypothesis for this study is that there is no association between the group the participants were in and their change in cortisol. In symbols this is expressed as \(H_0: \mu_{music} - \mu_{control} =0\). The alternative hypothesis is that there is a positive association between the group the participants were in and their change in cortisol. In symbols this is expressed as \(H_a: \mu_{music} - \mu_{control} > 0\).

In this study a type I error is when there is no association between the group that participant is in and their stress level, but we reject the null hypothesis and say that an association exists. A type II error is when there is an association between the group the participant is in and their stress level, the null hypothesis is false, but we fail to reject the null hypothesis.

These measurements can be considered a representative sample of the inhabitants of the Islands over 18 years of age because the participants were collected using random sampling. For more information on this please refer to the earlier section of this paper which went into detail about the data collection process.

To begin we will use a theory based approach to see if we have a statistically significant result. We will first find the t-statistic for the data.

stat(t.test(Difference ~ Group, data = Music_data))
##         t 
## -2.060031

Although the output for the t-statistic is -2.06 R is looking at the control group mean minus the treatment group mean. We are interested in the treatment group mean minus the control group mean. Thus, the t-statistic that we are interested in is 2.06. This means that the difference of 0.339 that we found is 2.06 standard deviations above the mean if the null hypothesis were true. Whenever using a theory-based approach it is important to make sure that validity conditions are met. For theory-based t-statistic it is necessary that we have at least 20 observations in each group and the sample distributions of the data are not strongly skewed. While each group has more than 20 observation, they have 81, we saw earlier that the sample distribution of the treatment group had several outliers which caused it to be significantly skewed. Thus, the validity conditions are not met and we will perform a simulation-based approach later on.

Now that we have the t-statistic we can use this value to find the theory-based p-value, which we do in the code below.

pval(t.test(Difference ~ Group, data = Music_data))
##    p.value 
## 0.04138375

The theory-based p-value is found to be 0.041. Since this p-value is below 0.05 but above 0.01 we have strong evidence against the null hypothesis. Thus, we can reject the null hypothesis that there is no association between the group the participants are in their change in stress. However, remember that the validity conditions were not met so we need to perform a simulation-based test to see if these results are valid.

Since the validity conditions were not met for the theory-based approach we will also conduction a simulation based approach. To begin the simulation-based approach we will assume that the null hypothesis is true and ‘shuffle’ the differences between the control and treatment groups. We will then find the difference between the two groups means. Once this is done we will repeat this process 1000 times. This process is done in the R code below and the first 2 results are displayed.

set.rseed(2348) 
Music.null <- do(1000) * diffmean(shuffle(Difference) ~ Group, data = Music_data)
head(Music.null,2)

Now that we have this data we want to create the null distribution. We also want to highlight the p-value on the graph. Since our original statistic was \(\bar{x}_{music}-\bar{x}_{control}=0.339\) we will highlight values on the graph that are equal to or more extreme than 0.399. The code below creates the null distribution and highlights these values.

dotPlot(~ diffmean,
        data = Music.null,
        main="Simulated null distribution of the difference in sample means",
        xlab="Difference in sample means",
        width = 0.01, cex = 0.5,
        groups = (diffmean >= 0.339))

Now that we have the null distribution we can calculate the simulation-based p-value. Since the alternative hypothesis is that \(\mu_{music}-\mu_{control} > 0\) we are calculating a right-tailed p-value.

p_value<-prop(~(diffmean >= 0.339), data = Music.null)
cat("right-tailed p-value is", p_value)
## right-tailed p-value is 0.021

The right-tailed p-value is found to be 0.021. Since this is value is less than 0.05 but greater than 0.01 we once again have strong evidence against the null hypothesis. Even though this p-value brings us to the same conclusion as our theory-based p-value it is important to note that the two values differ by 0.02 which is not an insignificant amount.

Now that we have the simulation-based p-value let us find a 95% confidence interval so we can describe plausible values for the average difference between the two groups. This process is performed in the code below.

x.bar.diff <- 0.339

# simulated standard deviation
SE.x.bar.diff <- sd(~ diffmean, data = Music.null)

# margin of error for 95% CI
MoE <- 2 * SE.x.bar.diff

LB<-x.bar.diff - MoE # lower limit of 95% CI
UB<-x.bar.diff + MoE # upper limit of 95% CI
round(cbind(LB,UB),3)
##         LB    UB
## [1,] 0.017 0.661

The 95% confidence interval is (0.017, 0.661). This means that we are 95% confident that the difference between the mean of the treatment group and the mean of the control group is between 0.017 and 0.661. Note that zero is not in the confidence interval. This means that zero is not a plausible value for the difference between the means of the populations and thus we can reject the null hypothesis. Therefore, we have evidence to support the alternative hypothesis, since the values in the confidence interval are entirely positive.

Conclusion

Ultimately the data behaved as expected. We found that we have strong evidence to conclude that music helps decrease stress. Although the validity conditions were not met for a theory-based approach, the results from the simulation-based approach were statistically significant. Using the simulation-based approach we obtained a p-value of 0.021. As this value is between 0.05 and 0.01 we say that we have strong evidence against the null hypothesis. Thus, we have evidence to support the alternative hypothesis. Furthermore, the simulation-based confidence interval also gives us evidence against the null hypothesis. The 95% confidence interval was found to be (0.017, 0.661). As this value does not contain zero we have evidence against the null hypothesis. With these values to support our claim we can say that music helps decrease stress in the Islanders. Because the sample was taken randomly, and random assignment was used, we are able to generalize this result to all the Islanders, as well as draw a cause and effect conclusion.

If this experiment were to be repeated more participants could be added so the sample sizes are larger. Although this is not strictly necessary it might help meet theory-based validity conditions. Furthermore, measurements could be taken more efficiently and with less error in waiting times.

To build of these results, it might be interesting to see if there is a specific genre of music that relaxes people more than others. Furthermore, one could also research if the length of time someone listens to music matters. In this study all the participants listened to music for 10 minutes. However, could 20 minutes of music listening decreased their stress even more? Another study could look into that claim.

Bibliography: References to literature mentioned in the introduction

Linnemann, A., Ditzen, B., Strahler, J., Doerr, J. M., & Nater, U. M. (2015). Music listening as a means of stress reduction in daily life. Psychoneuroendocrinology, 60, 82–90. https://doi.org/10.1016/j.psyneuen.2015.06.008

Mao, N. (2022). The Role of Music Therapy in the Emotional Regulation and Psychological Stress Relief of Employees in the Workplace. Journal of Healthcare Engineering, 2022, 4260904–4260907. https://doi.org/10.1155/2022/4260904

de Witte, M., Pinho, A. da S., Stams, G.-J., Moonen, X., Bos, A. E. R., & van Hooren, S. (2022). Music therapy for stress reduction: a systematic review and meta-analysis. Health Psychology Review, 16(1), 134–159. https://doi.org/10.1080/17437199.2020.1846580

Rigatti, Olivia,