Introduction

We all know sleep is important but what about naps? For my project I decided to investigate a version of this question focusing on the effect of day time naps on cognitive performance. My research question is: Is there a significant difference in cognitive task performance between individuals who take daytime naps and those who don’t? A simple Google search on the research question shows that daytime naps have some benefits and to corroborate this I looked at a meta-analysis and an experiment. Most studies in the meta-analysis concluded that “early naps in the afternoon [were] more effective on cognitive performance”(Dutheil et al., 2021).

The experiment that I looked at investigated the effects of daytime naps on memory. The researchers conducted an associative inference task on photographs of household objects and faces to test direct associative memory and relational memory. They found that “participants who napped exhibited better direct associative memory… and more importantly, relational memory” (Lau et al., 2010). However they also noted that their findings could be task specific. The experiment is too complicated for me to replicate, however, I am essentially exploring the same broad research question, the effect of daytime naps on cognitive tasks.

In my study, cognitive performance will be measured through a comprehension test. The explanatory variable in this study is whether the participant had a nap or not before taking the comprehension test. This is a binary variable as there are two conditions, the treatment group and the control group. The response variable is the change in the comprehension test score which is quantitative and measured as a percentage. Due to a lot of constraints, I conducted my study on virtual islanders living in Akkeshi Village. Consequently, my parameter of interest is; the difference in the long-term average change in comprehension test performance between Akkeshi residents aged 18–25 years who take daytime naps and those who do not. Drawing from my own experience and the studies that I read I suspected the actual parameter value to be higher than 0 i.e. naps have a positive effect on cognitive performance.

Data Collection Methods

The observational units in the study are the residents of Akkeshi village on Providence Island who were randomly sampled from the population of 18 to 25 year olds in the village. The population data was obtained from Akkeshi Hall. I used the birth records to compile the list of all the villagers aged 18-25years as of Year 364, day 4. There was a total of 141 villagers in this age range. From the list I then randomly sampled participants using a random number generator of whom 43 consented to by in my study whilst 14 declined. Each villager was assigned a number and if their number came up I asked for their consent and if they said yes, they were selected for the experiment. Because I was using birth records, some villagers had already died when I was sampling so I skipped them. If a number came up twice in the generator it was ignored the second time. After sampling, I randomly assigned the participants to one of the two conditions by flipping a coin(on the web). If the coin came up heads the participant was assigned to the nap group and tails was the no nap condition. There were three participants that withdrew their consent once I had started the experiment and I had to randomly pick another village from the population.

In each group, the participants took the comprehension test twice, first to create a baseline and the second time to see if there was any improvement. There was a 20 minute interval between each test in both groups. The nap time was 15 minutes and then participants were given 5 minutes to recover from sleep inertia. In the no nap condition, the participants were asked to sit for 10 minutes twice to give that 20 min interval between tests. I tried to look for an activity that would minimize cognitive activity and interference with the task stimuli(Lau et al., 2010) and sitting for 20 mins was the best option I had given my time constraints. The change in score on the comprehension test was recorded as a percentage.

Descriptive Statistics

library(readr)
napData<- read_csv("~/Desktop/Math247/final-longformat.csv")
head(napData, n=2)
bwplot(treatment ~ scoreChange, horizontal = TRUE, data = napData)

favstats(scoreChange ~ treatment, data = napData)

Based on the box plot and the summary statistics, it can be observed that the null distribution for the no nap condition is almost normal centered around -0.08, with a small standard deviation of 0.045. The distribution for the nap condition is also approximately normal centered around 0.06 and slightly skewed to the right with a slightly bigger variance. In the sample, if naps did not have an effect on the performance both distributions would be centered around the same number however the data is suggesting that naps have a positive effect on comprehension test performance since the mean change is positive and more than 50% of the participants in the nap condition had an increase in their comprehension score. However there is still need to test for statistical significance.

Analysis of Results

To test for statistical significance I used the two-sample t-test. I used the theory based approach of this test since all the validity conditions were met. There are more than 20 observations in each group, and the sample distributions are not strongly skewed. Also the results from this experiment can be comfortably generalized to the rest of Akkeshi residents within the same age group. Extra caution needs to be taken when generalizing to the rest of the Islands. My hypotheses are as follows:

Null Hypothesis: There is no difference in the long-term mean change in comprehension test performance between Akkeshi residents aged 18–25 years who take daytime naps and those who do not.

\[H_o: \mu_{nap} = \mu_{control}\]

Alternative Hypothesis: The long-term mean change in comprehension test performance is greater for Akkeshi residents aged 18–25 years who take daytime naps and those who do not.

\[H_a: \mu_{nap} > \mu_{control}\]

Given the above hypotheses a type I or type II error can be described as follows. The null hypothesis could be true i.e. no difference in the long-term mean change in comprehension test performance between the two groups but the data leads me to rejecting it, this is type I. A type II error is if the null hypothesis is actually true but the data says I reject the null hypothesis.

stat(t.test(scoreChange ~ treatment, data = napData))
##        t 
## 9.380695

The standardized t-statistic is 9.381 which means the observed sample mean difference is approximately 9 standard deviations above the hypothesized mean difference of 0.

pval(t.test(scoreChange ~ treatment, data = napData))
##      p.value 
## 1.255019e-11

Based on the above p-value and t-statistic, my statistical decision is to reject the null hypothesis.

confint(t.test(scoreChange ~ treatment, data = napData))

The Confidence Interval is: (0.121, 0.188). This means that the average change in comprehension test performance (measured as a percentage) attributable to daytime naps (15 mins) is between 12.1% and 18.8% for Akkeshi residents aged between 18 and 25 years. Since 0 is not included in the confidence interval, that means there is a significant difference in the mean change in comprehension test performance between those who take daytime naps and those who do not in the population. This is in agreement with the t-statistic and associated p-value.

Conclusion

In conclusion, there is a significant difference in the mean change in comprehension test performance between those who took daytime naps and those who did not. This is supported by a p-value of 0 which means that it’s improbable to obtain a similar or more extreme difference in means between the two conditions assuming that the null hypothesis is true. The experiment also shows that in the target population, people who take daytime naps (15 mins) can increase their performance on a comprehension test by at least 12.1% and at most 18.8%. Since the study was an experiment, and it utilized random sampling and assignment, the conclusion is a cause and effect relationship. The results from this experiment can be comfortably generalized to the rest of Akkeshi residents within the same age group. Extra caution needs to be taken when generalizing to the rest of the Islands.

At the beginning of the investigation I expected the participants in the nap condition to show an increase in performance and the data behaved as expected which is also in agreement with my research. Nonetheless, if I was to the experiment again I could improve on my data collection. In particular, I would conduct the experiment around the same time between the two groups so that accumulated fatigue throughout the day is not a factor in the experiment. A different approach in the question would be to further the investigation by comparing what is more effective between coffee and naps.

Bibliography:

Dutheil, F., Danini, B., Bagheri, R., Fantini, M. L., Pereira, B., Moustafa, F., Trousselard, M., & Navel, V. (2021). Effects of a Short Daytime Nap on the Cognitive Performance: A Systematic Review and Meta-Analysis. International Journal of Environmental Research and Public Health, 18(19), 10212. (https://doi.org/10.3390/ijerph181910212)

Lau, H., Tucker, M. A., & Fishbein, W. (2010). Daytime napping: Effects on human direct associative and relational memory. Neurobiology of Learning and Memory, 93(4), 554–560. (https://doi.org/10.1016/j.nlm.2010.02.003)