This project investigated the question: Does consuming caffeine (200 mg tablet) one hour before running improve endurance running performance (5k time)? The population I investigated was the Islander population. The parameter of interest is the long run difference between average 5k time without consuming caffeine and the average 5k time with the consumption of 200 mg of caffeine 1 hour before running. As a runner, I chose to investigate these variables because I have always heard that caffeine helps running performance, and I wanted to investigate whether that is true for the Islanders. I think that running a 5k is a good indicator of running endurance because a 5k is a fairly long distance for an average person to run, but still most people are able to complete it without prior training, so my hope is that most of the Islanders will be able to complete it. I think whether the subject consumed 200 mg of caffeine is also a good variable because it has been found that, “consuming low-to-moderate doses of caffeine (from 200 mg to 400 mg, equivalent to 3 to 6 mg of caffeine per kg body mass) about 1 hour before exercise improves endurance performance by 2-7%” (Wang et al, 2022, p. 2). So, if the caffeine will have an effect on running performance, 200 mg should be a sufficient does, although it does depend on body mass, and the Islanders may not have the same response to caffeine as humans.
According to existing literature, “Caffeine is one of the most widely consumed performance-enhancing substances in sport due to its well-established ergogenic effects in a myriad of exercise situations” (Wang et al., 2022, p.2). Caffeine can lead to “increased central nervous system drive, increased catecholamine release, and enhanced skeletal muscle contractile capacity” (Wang et al., 2022, p.2). This leads to many athletes consuming caffeine prior to competition. For example, “89 percent of the athletes were found to use a caffeinated substance in the 2005 Triathlon World Championships” (Ping et al., 2010, p.36). A meta analysis conducted on caffeine’s ability to improve endurance running, however, found that “when analyzing the ergogenic effect on time-trial runs according to participants’ training status, the benefit of caffeine was not statistically significant for trained runners or recreational runners” (Wang et al., 2022, p.13). This is an interesting finding considering that caffeine is seen as a performance enhancer in many different activities, but could have different effects based on training status.
Some studies, specifically for cycling, have found that caffeine can mediate a placebo effect in some athletes. However, one study conducted on endurance running did not observe “placebo effects of perceived caffeine-dose ingestion on cognitive and running performance” (Desbrow et al, 2020, p.170). Another study used specific conditions to find that, “ingestion of 5 mg of caffeine per kg of body weight one hour before the exercise improved the endurance running performance among non-users of caffeine in a hot and humid condition but did not impose any significant effect on other individual cardiorespiratory parameters in heat-adapted recreational runners” (Ping et al, 2010, p. 40).
My research question is inspired by this research because it will provide a further look into how caffeine influences time-trial runs for all people, regardless of if they are an elite athlete, recreational runner, or do not regularly participate in exercise. By taking a random sample of the Islanders, it could be possible to generalize the results to all of the Islanders, regardless of age, if they normally consume caffeine or exercise, etc.
Based on previous studies and experience, I predicted that caffeine intake would cause a decrease in 5K time. So, I predicted that the population mean 5K time for the control group would be greater than that of the caffeine group. I did not know if Islanders would respond to caffeine like humans do, but I suspected they would.
The observational units in this study are the individual Islanders. To collect a random and representative sample of the Islander population, I chose to select 16 Islanders from each Island (Ironbard, Providence, and Bonne Sante) to participate in my study. In each Island, I chose a specific town to sample to represent a variety of terrain and landscapes. I chose Hofn for Ironbard (on the coast), I chose Kiyobico for Providence (inland, in the mountains), and I chose Vaiku for Bonne Sante (inland, flat). Therefore, I used a stratified sampling technique. I thought it was necessary to have an even representation of different terrains in my sample because I wanted the Islanders to run an outdoor 5K, so their times could be influenced by the temperature and terrain of the place. Then, to randomly select the Islanders from these specific towns, I used a random number generator with the amount of houses in the town. If a house was chosen with multiple residents, I numbered all the residents over 18 and then used the random number generator again to randomly choose an individual. I repeated this process until I had 16 Islanders from each town that consented to my study for a total of 48 Islanders. A few issues came up during this part of the data collection process. First, not all of the Islanders consented to participate in my study. Overall, I selected 10 Islanders that did not consent to participate in my study. Another issue was choosing numbers of houses where the house no longer existed. This happened in 2 cases. So, overall, I attempted to sample 58 individuals from 58 different houses, but only 48 actually existed or consented to participate, leading to a response rate of 82.8%. After selecting my random sample of Islanders using this stratified sampling method (separating Islanders based on where they live, then simple random sampling), I divided each group from each Island into two separate groups of 8 Islanders each using random assignment. I had one group of Islanders run an outdoor 5k with no caffeine and the other group run an outdoor 5k with consuming 200 mg of caffeine (2 100 mg tablets) approximately 1 hour before they ran. One Islander withdrew from my study, so overall, the sample size was 24 for the control group and 23 for the caffeine group.
Since 24 and 23 are relatively small sample sizes considering how many Islanders there are, this sample size may not be perfectly representative of the whole population. Also, I chose specific towns within each Island by instinct, so there could be some Islanders that are not represented by my specific selection of locations to collect data from. There are also some potential nonsampling errors that could skew the data. For example, the temperatures of the town could contribute to different 5K times. Also, this data can only represent the population of Islanders who are willing to consent to studies.
library(readr)
CaffeineRun <- read_csv("~/Documents/math 247 fall 2023/CaffeineRun.csv")
data(CaffeineRun)
favstats( Time ~ Caffeine, data = CaffeineRun)
The caffeine variable is a binary categorical variable. In this table, N represents the control group who did not have caffeine intake before their 5K run. The response variable, 5K time, is a quantitative variable. It is outdoor 5K time reported in minutes. As can be seen in this table, the average 5k time of the control group was 23.72 minutes while the average 5k time of the caffeine group was 21.12 minutes. These means that the value of the sample statistic, \(\bar{x}_{control}-\bar{x}_{caffeine}=2.6 minutes\). This value reflects that the different groups have different averages, but they are not too far apart, so they may not be statistically significantly different. The sample statistic is positive, which support my inital conjecture that control times would be on average, slower than caffeine 5K times. The standard deviations are fairly similar, but the standard deviation of the caffeine group is larger than that of the control group. The histograms of both groups show fairly symmetric distributions. There is an evident outlier in the caffeine group. The caffeine group is centered at a smaller value than the control group.
histogram(~Time | Caffeine, data = CaffeineRun,layout = c(1, 2))
bwplot(Caffeine ~ Time,
horizontal = TRUE,
main="Side-by-side boxplots of caffeine intake (Y or N) vs. 5K time",
xlab="5K time (minutes)",
data = CaffeineRun)
The side-by-side boxplot shows that there are a couple outliers in the
caffeine group, while there are no significant outliers in the control
group. The median of the caffeine group appears to be smaller than the
median of the control group. The interquartile range of the control
group appears to be larger than that of the caffeine group. There does
not seem to be a significant association between caffeine intake and 5K
time because there is a lot of overlap between the side-by-side boxplots
of the two groups even though the medians are slightly different.
The population that is being studied is the Islander population, and the observational units are the individual Islanders. The parameter of interest is the difference in population average 5k time for caffeine consumption vs. no caffeine consumption, which can be represented as \(\mu_{control}-\mu_{caffeine}\).
The null hypothesis is that there is no difference in population means so there is no association between caffeine intake and 5K time, meaning that \(\mu_{control}=\mu_{caffeine}\). The alternative hypothesis is that \(\mu_{control}>\mu_{caffeine}\), or that \(\mu_{control}-\mu_{caffeine}>0\). So, the alternative hypothesis is that control times will be slower on average than caffeine 5K times. This means that a one-sided test will be conducted.
A type I error would be rejecting the null hypothesis that there is no association between caffeine intake and 5K time when there actually is no significant association in the population, so the null hypothesis would actually be true in the population. A type II error would be accepting the null hypothesis when there actually is a significant positive association between caffeine intake and 5K time in the population.
Both types of error could occur in this study because the sample size is relatively small and may not be representative of the entire Islander population that it is intended to represent. Choosing three towns by choice rather than randomly may mean that the results of this study cannot be generalized to the whole Islander population but rather the three specific towns that were studied. However, the simple random sampling technique within the three towns produced a random assortment of Islanders that should be able to represent the variety of the Islander population, so the results of this study should be fairly generalizable.
stat(t.test(Time ~ Caffeine, data = CaffeineRun))
## t
## 1.368517
The standardized statistic is 1.369. This means that the sample statistic of 2.6 is 1.369 standard deviations away from the center of the theorized null distribution. In order for the validity conditions to be satisfied, there needs to be at least 20 observations in each group. In this study, there were 24 observations in one group and 23 observations in the other group, so this condition is satisfied. Also, neither group should have a strongly skewed distribution. As can be seen in the histograms of each group, neither is strongly skewed, so this validity condition is also satisfied, allowing the theory based test to be conducted.
pval(t.test(Time ~ Caffeine, data = CaffeineRun))
## p.value
## 0.1782844
The two-sided p-value is 0.178, so the one-sided p-value that corresponds with the alternative hypothesis is 0.089. This means that the probability of observing a population parameter of 2.6 (\(\mu_{control}-\mu_{caffeine}\)) or higher assuming the null hypothesis is true is 0.089, or 8.9%.
This p-value leads me to the conclusion that there is weak evidence against the null hypothesis, so we fail to reject the null hypothesis. Therefore, it is plausible that there is no association between caffeine intake and 5K time for the Islander population. This means that there is also not strong evidence in support of the alternative hypothesis that average 5K times will be slower for the control population group, so the alternative hypothesis cannot be accepted.
confint(t.test(Time ~ Caffeine, data = CaffeineRun))
The confidence interval is -1.23 to 6.43. This means that we are 95% confident that the population mean 5K time without caffeine is 1.23 minutes faster to 6.43 minutes slower than the mean 5K for Islanders that consume 200 mg of caffeine before their 5K run. 0 minutes is included in the confidence interval, which supports the conclusion that it is plausible that there is no significant difference in 5K time between Islanders who consume caffeine before their run and those who do not.
In conclusion, the results of this study did not provide strong evidence to support the alternative hypothesis that 200 mg of caffeine decreases outdoor 5K time. Based on the t-statistic of 1.37 and one-sided p-value of 0.089, there is very weak evidence against the null hypothesis that there is no association between caffeine intake and 5K time, so we fail to reject the null hypothesis. The data behaved somewhat like I expected, as the sample statistic was positive like I hypothesized, but not to a significant degree. I think it is fairly reasonable to generalize this result to the whole Islander population because I used simple random sampling within the three different towns that I studied. The towns also represent a variety of the different Islands and different temperatures and terrain. Next time, I think simple random sampling from the entire Islander community could help the results be more generalizable to the whole Islander population.
Another question that came up during this study was whether the 200 mg of caffeine was enough to have a significant effect on all the Islanders as the effect of the caffeine may be different based on body mass, gender, etc. So, another research question could be: How does the amount of caffeine consumed before a run affect running speed (5K time)? This would involve both a quantitative response variable and quantitative explanatory variable, so a linear regression analysis would be appropriate.
Desbrow, B., Irwin, C., Delang, N., & Cox, G. R. (2020). The Impact Of Placebo Caffeine Dose On Cognitive Performance And Endurance Running In Recreational Athletes. Medicine and Science in Sports and Exercise, 52(7 Suppl), 170–170. https://doi.org/10.1249/01.mss.0000675308.80069.e5.
Ping, W. C., Keong, C. C., & Bandyopadhyay, A. (2010). Effects of acute supplementation of caffeine on cardiorespiratory responses during endurance running in a hot & humid climate. Indian Journal of Medical Research (New Delhi, India: 1994), 132(1), 36–41.
Wang, Z., Qiu, B., Gao, J., & Del Coso, J. (2022). Effects of Caffeine Intake on Endurance Running Performance and Time to Exhaustion: A Systematic Review and Meta-Analysis. Nutrients, 15(1), 148–166. https://doi.org/10.3390/nu15010148.