The research question being examined is does spending time outside reduce tension in Islander adults? The parameter of interest is the difference in proportions of tension improvement between the two walking conditions of walking outside for 60 minutes (treatment group) and walking inside for 60 minutes (control group).
There were several studies that I looked at when considering this research question. One study conducted by Mackay J, James G&N looked at The effect of “green exercise” on state anxiety and the role of exercise duration, intensity, and \(greenness^1\). In this study, green exercise referred to outside \(exercise^1\). The results showed that there was a statistically significant decrease in anxiety in participants who part-took in the green exercise \(experiences^1\). The results also showed that the intensity and duration of exercise did not alter anxiety \(levels^1\). The results of this study helped influence me to look at how time outside impacts tension levels rather than how exercise levels impacts tension levels because it showed that there was no difference in intensity of exercise, but there was a difference with being in nature. Due to this, I am also choosing to just have my participants walk rather than run outdoors because the intensity of the workout shouldn’t matter, according to this study. Another study I looked at, titled “Minimum Time Dose in Nature to Positively Impact the Mental Health of College-Aged Students, and How to Measure It: A Scoping Review,” showed that simply walking in natural settings for a minimum of 10 minutes can have a positive impact on college-aged students psychological and physiological \(well-being^2\). Though this study doesn’t specifically measure tension, it is showing that time outside can have positive benefits, which led me to question whether relieving tension may be included in those benefits. Finally, I looked at a study by David G. Pearson and Tony Craig that showed that nature can lower stress levels because it settles your \(nerves^3\). The authors explained how nature uniquely captures your attention and allows you to focus on it rather than the stress you are \(experiencing^3\). Combined, these studies helped to shape and strengthen my reasoning behind posing my research question because the results make it seem plausible that spending time outside could help reduce anxiousness, restlessness and tenseness. With this, I suspect that the value of the parameter will be positive, meaning that the treatment group, which spent more time outside, will have more people with tension improvement than the control group.
The observational units are the 77 Islanders from Hofn Island. There were initially 80 randomly selected adults collected from Hofn Island, but 3 of them withdrew from the study several days in. These 80 were randomly selected through a random number generator using their house numbers (0-866) and then numbering the adults in the house and using another random number generator to determine which adult to ask to participate in my study. There were many people who did not give consent to be in the study, so I continued to randomly ask other Hofn members for consent until I reached 80 participants. Each of the participants were randomly assigned to one of two groups: the treatment group where they would walk 60 min outside, or the control group where they would walk 60 min inside. The response variable of whether tenseness improved (level of tenseness decreased) was measured by first taking a baseline level of tenseness for all participants before any of them walked. This baseline level was recorded on a scale of 0-12 indicating how tense they were and this was taken at around 8:00 pm on day 27/345. The following morning, at around 8 am, I had half of the participants walk outside, and the other half walk inside. That same day at around 8:00 pm I had them all complete a tenseness survey again and recorded their responses. This procedure of having participants walk at around 8:00 am and take a tenseness survey at around 8:00 pm was repeated for a total of 5 days. After the experiment was completed on day 04/346, I averaged each participant’s tense level for the 5 days they spent walking and then compared that level to their initial baseline tense level. If their average score across the 5 days was lower than their baseline level, then they were said to have improved tenseness which is defined as a success in this study. If their average score across the 5 days was higher or the same as their baseline level, then they were said to have no improved tenseness which is defined as a failure in this study.
There were several things that I did in regards to data collection that are important to note. To start, on the first day of testing I took the subject’s tense levels about 2 hours earlier than I did the baseline tense levels the day before. I thought that this wouldn’t make a difference, but I decided to double check just in case, so at 8:00 pm I had them retake the survey and I found that the responses in tense levels were in fact different. To reduce this non-sampling error, I made sure to have my participants take the survey between 7:30 pm and 8:30 pm every day, so that it matched up with the time they took the baseline survey. Additionally, the reason I had participants take the survey at night and not directly following the walk was because I was interested in how the explanatory variable might impact tense levels over the day, not immediately after the walk. Another thing to note is that sometimes participants were still sleeping at 8:00 am when I went to have them walk, so I would have to circle back to them a little later (no later than 8:30 am) and have them take it once they woke up. One final thing to note, as it could be an area of improvement for next time, was that the baseline survey of tenseness was only taken on one day, but the tense levels were averaged over 5 days for the testing days. This could be a source of non-sampling error because the baseline tense level may have been a particularly stressful day (or a particularly relaxing day) and thus not representative of their average tenseness throughout a week. With this the baseline should have been taken over 5 days as well to get a more accurate comparison tense level to start.
The explanatory variable being examined is walking condition, which includes two categories: 60 minutes walking outside everyday (treatment group) and 60 minutes walking inside everyday (control group).
The response variable being examined is tension improvement status, which includes two categories: improvement of tension vs. no improvement.
library(readr)
Islanders_Data <-
read_csv("~/Documents/Math 247/Projects/Islanders_Data_Collection - Long Data.csv")
head(Islanders_Data, n=3)
#two-way table
tally(Improvement ~ Condition, data = Islanders_Data, format = "count", margin = TRUE)
## Condition
## Improvement Indoor Outdoor
## No 20 11
## Yes 20 26
## Total 40 37
In the two-way table above, it can be seen that the outdoor condition had more people with improved tension than the indoor condition, but the total people in each group are not the same, so to get a better idea of what these values mean they have been converted into proportions in the table below.
#two-way table of proportions
tally(Improvement ~ Condition, data = Islanders_Data, format = "prop")
## Condition
## Improvement Indoor Outdoor
## No 0.5000000 0.2972973
## Yes 0.5000000 0.7027027
Here it can be seen that the proportion of people who had improved tension in the indoor condition was 0.500.
\[\hat{p}_{Indoor}=0.500\]
Whereas, the proportion of people who had improved tension in the outdoor condition was 0.703, which is larger than the indoor condition.
\[\hat{p}_{Outdoor}=0.703\]
-diff(rev(prop(Improvement ~ Condition, success = "Yes", data = Islanders_Data)))
## prop_Yes.Indoor
## 0.2027027
With this, the difference in proportions between the outdoor and indoor conditions is 0.203. This seems like a notable difference in proportions, suggesting that there could be a significant difference in improved tenseness between the outdoor and indoor conditions, but more formal hypothesis testing needs to be done to know for sure.
bargraph(~Condition, groups = Improvement, data = Islanders_Data, auto.key = TRUE, stack = TRUE)
Additionally, this difference in proportions of people with improved tension between the two conditions can be clearly seen in this stacked bar plot, where the outdoor condition has a larger proportion of people with improved tension.
The population in this study is the adult residents of Hofn Island. The parameter of interest is the difference in proportions of tension improvement between the two walking conditions of walking outside for 60 minutes (treatment group) and walking inside for 60 minutes (control group).
The null hypothesis of this study is that there is no difference between the population proportion of Hofn Islanders that have improved tenseness between the indoor and outdoor conditions. In other words, there is no association between the walking condition and whether Hofn adults have improved tenseness. \[H_0: \pi_{outdoor}-\pi_{indoor}=0\]
The alternative hypothesis is that there is a positive difference between the population proportion of Hofn Islanders that have improved tenseness between the indoor and outdoor conditions. In other words, there is a positive association between the walking condition and whether Hofn adults have improved tenseness. \[H_A: \pi_{outdoor}-\pi_{indoor}>0\]
With these tow hypotheses in mind, there is potential for type I and type II error. Type I error would mean that, in actuality, there is no association between the walking condition and whether Hofn adults have improved tenseness, but the data collected leads one reject this statement. In other words, the null hypothesis is actually true, but the data leads one to reject it. Type II error, on the other hand, means that it is actually false that there is no association between the walking condition and whether Hofn adults have improved tenseness, but the data collected does not lead one to reject this statement. In other words, the null hypothesis is actually false, but the data does not lead one to reject it. To reduce these types of errors and so that the sample can reasonably be considered a representative sample from the populations of interest, participants were found using a simple random sampling method. To ensure simple random sampling, the 866 homes on Hofn Island were numbers and then a random number generator was used to select a random house number. Next, adults in the house were numbered and another random number generator was used to determine which adult to ask to participate in the study. In this way, the sample of participants was representative of the larger population.
To evaluate the data, a theory-based approach with a two-sample z-test was used. The calculation and value of the standardized z-statistic can be seen below.
#sample sizes
n.indoor<- 40
n.outdoor<- 37
# counts
Yes.indoor<- 20
Yes.outdoor<- 26
#sample proportions
p.hat.indoor <- Yes.indoor/n.indoor
p.hat.outdoor <- Yes.outdoor/n.outdoor
# difference between the sample proportions of outdoor vs indoor conditions
p.hat.diff<-p.hat.outdoor-p.hat.indoor
#pooled proportion (total successes/combined sample size)
p.hat.pooled<- (Yes.indoor+Yes.outdoor)/(n.indoor + n.outdoor)
# Standard error of the theoretical sampling distribution based on a pooled proportion
SE.diff.null<-sqrt((p.hat.pooled*(1-p.hat.pooled))/n.indoor
+ (p.hat.pooled*(1-p.hat.pooled))/n.outdoor)
# Standardized statistic, z
z <- p.hat.diff/SE.diff.null
cat("standardized statistic z is",round(z,4))
## standardized statistic z is 1.8121
The standardized statistic is 1.81 which means the statistic of interest is 1.81 standard errors above the center of the null distribution of the difference in sample proportions. Using a theory-based test is valid for this data because, as shown in the 2x2 table below, there are at least 10 observations in each of the cells. There are 20 observations in both the Indoor “No” improvement and Indoor “Yes” improvement groups, and there are 11 observations in the Outdoor No” improvement group and 26 observations in the Outdoor “Yes” improvement group. With this, we can use a theory-based test to analyze the two proportions in this study.
#two-way table
tally(Improvement ~ Condition, data = Islanders_Data, format = "count", margin = TRUE)
## Condition
## Improvement Indoor Outdoor
## No 20 11
## Yes 20 26
## Total 40 37
To further test the significance of the data, the theory-based right-tailed p-value was found and can be seen below.
#Theory-based test p-value
right.tailed.p.value<-pnorm(z, 0, 1, lower.tail = FALSE)
cat("the right-tailed theory-based p-value is",right.tailed.p.value)
## the right-tailed theory-based p-value is 0.03498736
The right-tailed theory-based p-value of 0.035 is the probability of observing the difference in sample proportions of 0.203 or higher assuming the null hypothesis is true. Because this p-value is below 0.05, we reject the null hypothesis. This means that there is sufficient evidence to support the alternative hypothesis in that there is a positive association between the walking condition and whether Hofn adults have improved tenseness.
# Standard error of the sampling distribution based on individual proportions
SE.diff.CI<-sqrt((p.hat.indoor*(1-p.hat.indoor))/n.indoor
+ (p.hat.outdoor*(1-p.hat.outdoor))/n.outdoor)
# margin of error for 95% CI
MoE <- 1.96 * SE.diff.CI
#MoE
LB<-p.hat.diff - MoE # lower limit of 95% CI
UB<-p.hat.diff + MoE # upper limit of 95% CI
round(cbind(LB,UB),4)
## LB UB
## [1,] -0.0111 0.4165
The 95% confidence interval is (-0.011, 0.417) which means we are 95% confident that the difference in population proportions between the outdoor and indoor groups of Hofn Island individuals that have improved tenseness is between -0.011 and 0.417. Zero, the hypothesized parameter value, is included in the interval which indicates that zero is a plausible value for the difference in the population proportions. From this, one would typically conclude that there is not a statistically significant difference between population proportions of the outdoor and indoor groups that have improved tenseness, thus there is not sufficient evidence to reject the null hypothesis. This confidence interval, however, is based on a two-sided alternative hypothesis, but the alternative hypothesis being assessed in this experiment was one-sided. As a result, it is unsurprising that the confidence interval and p-value provide different conclusions about the data because they are providing evidence based on two different alternative hypotheses. Had the p-value been a two-sided test, then we would fail to reject the null because the p-value would’ve been double what was found, giving a p-value of 0.70 which does not provide evidence against the null.
Overall, the null hypothesis was rejected meaning that there is evidence to support the alternative hypothesis which states that there is a positive difference between the population proportion of Hofn Islanders that have improved tenseness between the indoor and outdoor conditions. Stated another way, there is evidence to suggest that there is a positive association between the walking condition and the tension improvement status. This was the expected result given the previous literature and research on the positive mental health benefits of time spent outdoors. This conclusion was supported by the one-sided, theory-based p-value which was below 0.05 at 0.035. Though the confidence interval did not support this conclusion, as zero was included in the CI, this was not surprising considering the fact that the CI was based on a two-sided alternative hypothesis and the alternative being assessed here was one-sided. In regards to the representatives of the sample, the participants were collected using a simple random sampling method, thus we can generalize these results to the population that the sample came from which was Hofn Island adults. Additionally, because this study used random assignment to form the two groups, which mitigates confounding variables, we can draw cause-and-effect conclusions and say that we have compelling evidence that the explanatory variable of the walking condition caused the response variable of tenseness improvement status. If I were to conduct this study again, I would have collected more participants to account for the possibility that several would withdraw during the course of the study and to help ensure that there are enough subjects so that theory-based analysis testing could be used. Another thing I would have done differently is survey the participants tense levels before testing for the same number of days as I surveyed them during testing so that I get a more accurate representation of what their true baseline tense level is. In this way, I could ensure that their baseline level was not just a fluke because it would be based off of more than just one day. Along the same lines, I would have liked to survey the participants for a longer time period than 5 days so that I could evaluate the long-lasting effects that time spent outside had on tenseness. To build off of this study, someone could examine how different types of outdoor environments play a role in reducing tension. For example, comparing a tropical island to a city and see if the effects of being outside are similar between the two. Additionally, one could look at if there is a minimum time spent outside to where it still impacts tension levels by having participants walk for varying amounts of time. This could be interesting to examine because maybe you only need 10 minutes outside a day to improve tenseness, or maybe you need a full hour. One other area of interest moving forward could be to examine how being outside at different parts of the day impact tension, is it that the sunniest part of the day reduces tension the most, or does being outside at night achieve the same effects?