Note that the written report should have the style of a research paper. That means that there needs to be a continuing storyline. Do not include the questions, just your answers to them. Do not use bullet points. Have connective narratives between the sentences.
At first, I wanted to find out whether listening to music can significantly reduce anxiety and depression levels, but since I do not have direct access to an individual’s level of depression, so instead, I changed my subject to cortisol level, an indicator of depression and anxiety. Ultimately, my research question is whether listening to classical music for 10 minutes can significantly reduce cortisol levels.
The parameter of interest in this study is the difference in mean blood cortisol levels between groups that listened to classical music for 10 minutes and those that did not listen to music.
The study has two research as references. The first one is a meta-analysis that aims to determine the impact of music therapy on anxiety, depression, and sleep quality in ICU patients through a comprehensive review of relevant randomized controlled trials. And this study by Li et al. (2022) successfully found the impact. The second study is that when added to treatment as usual, can effectively improve depressive symptoms in individuals with depression, as well as decrease anxiety levels and improve overall functioning . However, the authors of the study also noted that more comprehensive research with larger sample sizes, particularly focusing on children and adolescents, is necessary to fully understand the mechanisms of music therapy in addressing depression (Aalbers et al., 2017).
Based on the articles above, I suspected that group listened to music has higher mean of Blood Cortisol level compared to those who didn’t listen to the classical music for 10 mins.
The observational units are individuals living in the Shinobi Island, and they were randomly assigned to either controlled group, do not listen to music and experimental group, listen to music by using random number generator. The experiment has 30 participants in total, so the random number generator will generate number 15 times. After numbering participants from 1-30, individual who has the number that is the same as random number generator’s result will be selected to the experimental group.
These participants in experimental group will be asked to “listening to classical music for 10 mins” by using the fuction provided by Island.Then,the response variable of the subject’s level of depression was measured using the “testing blood cortisol” function, serving as a direct indicator of the individual’s level of depression, with higher levels of cortisol indicating higher levels of depression. If in experimental group, participant were asked to immedeiately take the blood cortisol test right after listned to music.
During the study, one thing that didn’t went well was some participants rejected taking the experiment, so I have to regenerate number for assigning to experimental group, which means I generate number more than 15 times. Another thing was that since all participants were from one island, the sampling method I used was Convenience Sampling, which can reduce the validity of the research. Moreover, because cortisol level can be affected by many things, some confunding variables such as participants didn’t get enough sleep could influence the result.
Numerical and visual summaries that are appropriate for your data.
library(readr)
cortisol_Data <- read_csv("~/Documents/Yiming Data - Sheet1.csv")
colnames(cortisol_Data) <- c("music", "cortisol")
favstats(cortisol ~ music, data = cortisol_Data)
diff(mean(cortisol ~ music, data = cortisol_Data))
## Yes
## -1.22
bwplot(music ~ cortisol,
horizontal = TRUE,
main="Side-by-side boxplots",
data = cortisol_Data)
histogram(~ cortisol|music, data = cortisol_Data, width = 1, layout = c(1, 2))
The data show that there is difference in mean of blood cortisol level between experimental and controlled group. The group that listened to classical music has mean in cortisol level of 6.58, and the group that did not listened to music has mean of 7.8. The group listened to classical music has lower cortisol level meaning they have less level of depression.However, from the box plot, we can see that there is an outlier in the group that did not listened to classical music.
The parameter of interest is the difference in mean blood cortisol levels between groups that listened to classical music for 10 minutes and those that did not listen to music.
The null hypothesis is that listening to music can not significantly reduce blood cortisol level, and the alternative hypothesis is that listening to music can significantly reduce blood cortisol level. To express them in symbol, the null hypothesis is that \(\mu_{music}\)-\(\mu_{nomusic}\)=0, and the alternative hypothesis is that \(\mu_{music}\) - \(\mu_{nomusic}\) < 0.
In the given context, a Type I error might lead to the false belief that listening to music has a significant impact on cortisol levels when it doesn’t. On the other hand, a Type II error might result in the failure to recognize the true effect of music on cortisol levels.
My sample can not be reasonable to conclude in general population. I used convenience sampling, with participants only in one island, so they cannot be representative to the general public.
####HOW ISLANDER BE REPRESENTATIVE
Because the distribution is not evenly distributed, and there is no at least 20 observations in each group, the theory based approach is not valid, we will need a simulation based to further explore the relationship between listening to classical music and its effect in reducing blood cortisol level. However, the theory based t value is 2.84.
stat(t.test(cortisol ~ music, data = cortisol_Data))
## t
## 2.840614
From the p value of 0.00935, we can know that under the condition that listening to music for 10 mins has no effect in cortisol level, mean difference (-1.22) obtained in this study or a more extreme result would occur by chance approximately 0.9358% of the time.
pval(t.test(cortisol ~ music, data = cortisol_Data))
## p.value
## 0.009358492
According to this p value, we can know that there is a significant effect of listening to music reduces the cortisol level, so the null hypothesis is well rejected.
However, because the study does not meet valid condition for theory based, so we need to conduct simulation based again. The p-vaue using simulation based approach is 0.506, which unlike 0.093 from theory based approach, is larger than 0.05, meaning that failed to reject the null hypothesis. Under the simulation based condition, there is no effect of listening to classical music to blood cortisol level.
set.seed(4983)
Music.null <- do(1000) * diffmean(shuffle(cortisol) ~ music, data = cortisol_Data)
favstats(~ diffmean, data = Music.null)
p_value <- prop(~(diffmean >= -0.02), data = Music.null)
p_value
## prop_TRUE
## 0.506
The confidence interval is [-2.109, -0.33]. We can be 95% confident that true difference in mean blood cortisol levels is between -2.1 and 0.33 in cortisol levels resulting from listening to music for 10 minutes is somewhere within this interval.Since this interval difference in blood cortisol level between the two groups does not include zero, it suggests that there is a statistically significant effect.
confint(t.test(cortisol ~ music, data = cortisol_Data))
In conclusion, the result is that there is a significant effect of listening to music reduces the cortisol level. Becausem there might be some confounding variables have impact on obtained cortisol level. Also, since the theory based approach is not valid, and simulation based approach tells a different story, the data does not behave as I expected and it might not be appropriate to generalize the results to larger populations In the future study, I’ll look for more sample, and select from different island and village, cover a wide age range, increasing the generalibility of the study. At the same time, the increased sample size could guratee the validity of the theory-based study. Furthermore, In future study, researchers could rule out the confounding variables, looking for more direct association between listening to music and it effects on reducing depression rather than looking at cortisol levels. For example, directly assess the level of depression after participants listened to music.
Aalbers S, Fusar-Poli L, Freeman RE, Spreen M, Ket JC, Vink AC, Maratos A, Crawford M, Chen XJ, Gold C. Music therapy for depression. Cochrane Database Syst Rev. 2017 Nov 16;11(11):CD004517. doi: 10.1002/14651858.CD004517.pub3. PMID: 29144545; PMCID: PMC6486188.
Li D, Yao Y, Chen J, Xiong G. The effect of music therapy on the anxiety, depression and sleep quality in intensive care unit patients: A protocol for systematic review and meta-analysis. Medicine (Baltimore). 2022 Feb 25;101(8):e28846. doi: 10.1097/MD.0000000000028846. PMID: 35212283; PMCID: PMC8878864.
Presentation: Style, organization, layout, grammar, presentation of a written report, creativity. Make use to cite any work/studies you used to come up with your research question.
R code: Also, make sure that all relevant R code and output are in the body of your report.