With an interest in climate and its relationship to disease I formulated the following research question: Do children living in a warmer climate experience higher rates of illness or infection than those in colder climates? My question is based on the initial population of interest found in “Climate Change and Children’s Health and Well-Being in the United States” published in April 2023 by the U.S. Environmental Protection Agency which stated that a change in climate could lead to an expansion in the ranges and active-season lengths of insects that carry vector-borne diseases(1). Inspired by this review I wanted to explore how the range and density of pathogens differs between warm and cold environments in the absence of climate change since the islands are not able to simulate climate change. This article defines Children as being up to age 17 which is how I defined my parameter for the age of children(1). Another piece of literature that inspired my research question was a study on the influence of temperature, humidity, and rainfall on respiratory diseases (2). The study found that the humidity had an affect on acute respiratory infections causing me to wonder if the islanders in the warm climate experience this effect (2). Another article I found on the impact of a change in climate on respiratory diseases wasn’t able to formulate any strong conclusions based on its review of 34 articles exploring the matter (3). Given the unclear answer I decided to move forward with my research question and see what information the islanders would give regarding rates of illness and climate. Based on the predictions of transmission with increased temperatures I suspected the parameter value would be higher for the warmer climates.
In order to answer my research question I set out with my experimental design. The first variable I chose to work with is the climate that the islander lived in for the first 17 years of their life. This variable is the explanatory binary variable and it is categorical. The two categories will be warm climate or cold climate. I chose to work with this variable because there are three islands to choose from with various climates so the samples can be narrowed down to specific islands that match the climate of interest. The islands with different climates have temperatures ranging from 18 degrees Celsius to 32 degrees Celsius offering the ability to examine a warm and cold environment. The second variable I chose to work with is the number of illnesses the islander in that climate experienced in the first 17 years of their life. This variable is the response variable and is quantitative. I chose to work with this variable because each islander has a detailed history of their life and their illnesses making the data from any islander for a random sample accessible. Given that I have chosen one quantitative variable and one categorical variable I will answer my research question by using a difference in means. This makes it so that the parameter of interest is \(\mu_{warm}-\mu_{cold}\) and the \(H_0\) is \(H_0:\mu_{warm}-\mu_{cold}=0\) and can be stated as there is no association between the climate a child lived in for the first 17 years of their life and the number of infections they experienced. Given the \(H_0\) the \(H_a\) being tested would be \(H_a:\mu_{warm}-\mu_{cold}>0\) which is stated as there is an association between the climate a child lived in for the first 17 years of their life and the number of infections they experienced, with children in the warmer climate experiencing higher rates of infection.
The observational units were the islanders older than 17 years old who lived in Ironbard or Bonne Santé in the first 17 years of their life. Ironbard was picked to represent the cold climate and Bonne Santé was picked to represent the warm climate. These two islands best represented the extremes in climate my research question was interested in exploring. In order to obtain a random sample I listed the available villages on each island then shuffled the villages for each island and randomly assigned them a number. Then using a random number generator I identified four villages from each island to sample from. The resulting villages from Ironbard were Hofn, Helvig, Helluland, and Bjurholm. Then the resulting villages for Bonne Santé were Eden, Mahuti, Valais, and Pauma. With the randomly selected villages I found my sample for cold and warm climates by entering the village number of houses into a random number generator and going to 25 of the randomly generated house numbers to sample one islander from each house. Resulting in 25 samples from each village and 200 total. When looking at the inhabitants of the house I chose the first islander on the list unless they had a child that was older than 17 years old. Some issues that were encountered that I had to account for in my sampling was moving and preexisting health conditions that might result in higher rates of illness. So house occupants born on another island or moved before the age of 17 were ineligible. Islanders that had preexisting conditions such as asthma were also deemed ineligible since such conditions would weaken the immune system and potentially cause a confounding variable. In the sampling I pulled islanders from various ages above 17 in order to control for the potential confounding variable of an endemic or pandemic in a certain area over a certain age groups childhood. When an islander was found to be eligible their name was recorded along with their climate type and history of illnesses. Islanders frequently had descriptions in their history such as “Caught V4” or “B3 infection.” Each instance was counted towards their number of illnesses in the first 17 years of their life. This process was repeated for all 8 villages across the two islands until a sample of 200 was achieved.
As for potential errors a sampling error that could have occurred while reading the islander history is missing a move in location to another island or preexisting conditions which could potentially affect the accuracy of the number of illnesses according to their specific climate. But overall the collection process was smooth with a high response rate since consent did not need to be obtained for observing their life history.
The following side by side box plot seen below displays the binary categorical explanatory variable of climate on the y-axis and the quantitative response variable of infections on the x-axis. The boxplot displays variability in both the warm and cold climates, however the warm climate displays a greater amount of variability with 50% of the distribution in the box being larger than the cold climate’s box. The greater variability in the warm climate is further supported by the whiskers that extend from 1 to 5 as compared to the cold climate’s whiskers extending from 1 to 4. The cold group has one outlier greater than 1.5 times the middle 50% of the distribution and found at 0 infections, whereas the warm climate contains no outliers. The relationship between the two groups as displayed in the boxplot can be further described numerically in the summary statistics.
library(readr)
MiniProject3_Data <-
read_csv("~/Documents/Math 247 F23/Mini Project 3 Data - Sheet1 (1).csv")
bwplot(Climate ~ infection, horizontal = TRUE, data = MiniProject3_Data)
The summary statistics show that there is a difference in the medians with the cold climate having a smaller median. The \(SD_{warm}\) was found to be 0.84 and the \(SD_{cold}\) was found to be 0.89 with both standard deviations similar to one another and with the cold climate possessing a larger standard deviation and more variability. The \(SD\) for the groups and their indications however do not match what what visually observed in the boxplot. To further investigate this discrepancy I decided to compare the groups quartiles. The lower quartile, \(Q_1\), for the warm climate is 2 with the upper quartile, \(Q_3\), being 4 making the inter-quartile range, \(IQR\), 2. The lower quartile, \(Q_1\), for the cold climate is 2 with the upper quartile, \(Q_3\), being 3 making the inter-quartile range, \(IQR\), 1. Looking at the \(IQR\) is more reliable than the standard deviation for comparing the two groups because due to an outlier in the cold group the distribution is skewed and an \(IQR\) measurement is more resistant to skew than standard deviations. This is because the standard deviation assumes that the variability below the mean is the same as the variability above the mean. So since the \(IQR\) is not affected by outliers the cold climate \(IQR\) of 1 and warm climate \(IQR\) of 2 are more reliable when looking at the variability within the group and seeing that the cold climate is less variable than the warm climate given the smaller width of the \(IQR\). The summary statistics also show that there is a difference in the means between the two groups by one infection with the warm climate with more infections. The \(\bar{x}_{warm}\) was found to be 3.03 infections and the \(\bar{x}_{cold}\) was found to be 2.07 infections. This difference in means indicates that something could be going on between the two groups causing a difference. To test the significance of this difference in means further analysis was to be conducted.
data(MiniProject3_Data)
favstats(infection ~ Climate, data = MiniProject3_Data)
To complete further analysis of the study the study design will first be examined. The 200 islanders from the two chosen climates represent the population of the study. The difference in the amount of infections experienced by these two groups is the parameter which can be stated as \(\mu_{warm}-\mu_{cold}\). Further, the null and alternative hypotheses can be stated as follows: \(H_0:\mu_{warm}-\mu_{cold}=0\) and \(H_a:\mu_{warm}-\mu_{cold}>0\) where we are testing whether or not children in warmer climates experience higher rates of infection than those in colder climates. In the context of this study a type I error would be defined as there being no association between the climate and the amount of infections they experienced but we reject this and the \(H_0\) creating a type one error. In this study a type II error would be defined as there is an association between the climate and the amount of infections they experienced but there isn’t enough evidence displaying that so we fail to reject the \(H_0\) creating a type II error. Now to evaluate the sample and sampling methods, the sample was obtained by randomizing the villages on each island and randomly selecting four villages from each island. Within each village 25 islanders were selected were selected at random through a random number generator using the house numbers. In addition to this another measure was taken to increase representation. When sampling I pulled islanders from various ages above 17 in order to control for the potential confounding variable of an endemic or pandemic in a certain area over a certain age groups childhood. This measure allows observations drawn to be more reliably concluded to a greater population. Given the sampling and data collection methods the sample is considered to be representative of the occurrences of infection in children in their first 17 years of life in a cold or warm environment.
Next the significance of the difference in means was tested. The \(\bar{x}_{warm}-\bar{x}_{cold}\) was found to be 0.96 infections which is a relatively large difference when considering the variability in the distribution of the data. This difference could just be by chance but it also could be due to the difference in climate. To test this the standardized two-sample t-statistic for measuring a difference in sample means will be used to find how many times the \(\bar{x}_{warm}-\bar{x}_{cold}\) value of 0.96 or more extreme values occur in order to obtain the p-value. Using the theory based method the t-statistic was found to be -7.81. The output is negative due to the fact that it reads alphabetically therefore cold comes before warm producing a negative value. The sign can be adjusted to a positive sign given that we are testing with a focus on the warm climate group. The t-statistic of 7.81 indicates that the observed statistic is 7.81 standard deviations below the \(H_0\) value of 0. Then the p-value which corresponds to the t-statistic was found to be 3.21e-13 which is approximately 0. Based on the p-value of 3.21e-13 or approximately 0, there is 0 probability of observing a difference in sample mean infections for cold or warm climates just by chance if the type of climate the child lived in for the first 17 years of their life was not associated with the amount of infections that occurred when assuming that the \(H_0\) is true. In terms of the study we would say based on the p-value that the mean number of infections is higher in warm climate compared to cold climate on the islands. Based on the p-value of 0 we can say at a confidence level of 0.05 that the \(H_a\) is plausible and we would reject the \(H_0\) stating that there is no association. This leads me to the conclusion that there is an association between the number of infections a child experienced in the first 17 years of their life and the climate they were living in. Since we are testing the prediction that children in warmer climates experience higher rates of infection the conclusion to be drawn from the p-value is children in warmer climates experience higher rates of infection than those in colder climates.
diff(mean(infection ~Climate, data = MiniProject3_Data))
## Warm
## 0.96
stat(t.test(infection ~ Climate, data = MiniProject3_Data))
## t
## -7.814199
pval(t.test(infection ~ Climate, data = MiniProject3_Data))
## p.value
## 3.2125e-13
To compare and further investigate the theory-based results the simulation-based p-value was calculated for comparison. The simulation based method was chosen as a follow up method since the validity conditions were potentially violated for theory based analysis. The conditions were met in that there were at least 20 observations in each group but the conditions were potentially un-met as the cold group has a relatively strong skew to the left with a outlier to the left as can be seen in the previous boxplot and the histogram below. The histogram below also shows that the distribution of the cold group sample does not follow a normal distribution and is skewed to the left giving more reason the validity conditions for a theory-based test not being met. Given the possible violation of validity conditions a simulation-based approach was conducted to eliminate any uncertainty in the theory-based results.
histogram(~ infection |Climate, data = MiniProject3_Data, width = 1)
Using the simulation based method the following null distribution was created. The null distribution was created by generating possible values of the difference in sample means under the \(H_0\) by shuffling which recorded infection amounts or the response variable go with which climate assignments or the explanatory variable values and repeating the process 1000 times to produce a simulated null distribution of the difference in sample means in the dotplot below. The dotplot below also displays the estimated p-value, however, since the statistic 0.96 or a more extreme value does not occur once, there are no values to be highlighted. This gives supportive indications that there is a significant difference between the two means given that the observed value or one larger than it did not occur once making a difference in means by chance less plausible. Following the estimation of the theory-based p-value, the simulation-based p-value was found to be 0 which is a value similar in strength and supports the conclusions drawn with the theory-based p-value.
set.rseed(562)
Climate.null <- do(1000) * diffmean(shuffle(infection) ~ Climate, data = MiniProject3_Data)
dotPlot(~ diffmean, data = Climate.null,
main="Simulated Null Distribution of the difference in sample means",
xlab="difference in sample means",
width = 0.01, cex = 1,
groups = (diffmean >= 0.96))
p_value<-prop(~(diffmean >= 0.96), data = Climate.null)
cat("The simulation-based p-value is",p_value)
## The simulation-based p-value is 0
However, further analysis is still to be completed to determine by how much the number of infection experienced by children in warmer climates differ from those in colder climates. To find this measurement a 95% confidence interval was conducted for both simulation and theory based approaches, with both producing the same value. This indicates that the validity conditions were not violated as suspected before. The theory-based 95% confidence interval produced a lower bound of 0.7177 and an upper bound of 1.202. This confidence interval can be interpreted as we are 95% confident that in the long run, the mean amount of infections experienced by a child in the first 17 years of their life would be 0.71 to 1.2 infections higher for those that live in a warmer climate compared to those that live in a cold climate. The confidence interval does not include the \(H_0\) value of 0 which indicates further that the \(H_a\) is plausible and we would reject the \(H_0\) as found with the p-value analysis.
confint(t.test(infection ~ Climate, data = MiniProject3_Data))
confint(lm(infection ~ Climate, data = MiniProject3_Data))
## 2.5 % 97.5 %
## (Intercept) 1.8986901 2.241310
## ClimateWarm 0.7177312 1.202269
Overall, based on the strength of the analysis and results there is enough evidence to reject the \(H_0\) which states that there is no association between climate type and rates of infection. The small p-value provided evidence that it’s not plausible for the cold and warm climate mean infection rates to be the same in the population based on the randomized observed sample. Then the evidence from the confidence interval provides further evidence given that we are 95% confident that in the long run, the mean amount of infections experienced by a child in the first 17 years of their life would be 0.71 to 1.2 infections higher for those that live in a warmer climate compared to those that live in a cold climate. The data ended up behaving as I predicted and tested for. I was surprised by the strength of the evidence in that I assumed there would be more nuance and potentially less of a difference between the two group means. This allowed me to learn that Islanders living in the sampled villages did experience higher rates of infection in the first 17 years of their life as compared to the children living in the colder climates. These results show an association between the two groups assuming that the \(H_0\) is true. Cause and effect conclusions cannot be drawn from the results given that this was not an experiment and was an observational study. However with the randomization utilized in the sampling methods the results can be generalized to a larger group than the sample. These results can be generalized to a population greater than the observed sample but generalizing these results to all islanders is cautioned against since only four villages were selected and observed. I say this because the islands could be programmed to have different burdens of disease in different towns. Given this and taking into account the study design and data collection methods, the results of this study can be generalized to those represented in the study which are Islanders from Bonne Santé residing in Eden, Mahuti, Valais, and Pauma and Islanders from Ironbard residing in Hofn, Helvig, Helluland, and Bjurholm.
In regards to the literature that inspired the research conjecture it makes further sense as to why there would be a concern regarding disease transmission and an increase in temperatures especially if children in warmer climates are already predisposed to higher rates of infection. However it is difficult for parallels to be drawn completely since the Island program is very different from a real world scenario and we do not know how illness is programmed into the Islands. However it provides an interesting comparison to previous literature. So in regards to the study it cannot be concluded that an increase in temperature in the real world would result in the same rates of infection found for children in the Islands. So the results are exclusive to the Islands. To combat this exclusivity future studies could compare the rates of infection for children living in similar environments in the real world to those in the Islands to examine potential differences and similarities in the results between the real world and the Islands. If I was to complete the study again I would not only sample from more villages on the island but also obtain more observational units within each village to further increase the sample size and representation. Another aspect that would be interesting to explore is the inclusion of data collection from the third Island to compare to the two observed Islands. With this I would be interested to see if a gradient would be observed and gain more insight on how each of the Islands experience disease. Future work could also expand the sample size to cover either more villages or cover all the villages on the chosen islands to gain the ability to observe how the results might change with an increased sample coverage and be able to generalize to a greater population. This increase in sample size would have a limit however since dealing with the entirety of a population would require adjustments in methods and the theory-based approach.
Climate Change and Children’s Health and Well-Being in the United States. (2023). In United States Environmental Protection Agency Retrieved from https://www.epa.gov/system/files/documents/2023-04/CLiME_Final%20Report.pdf
B. Budiyono, Rismawati Rismawati, Sutopo Patria Jati, & Praba Ginandjar. (2017). Potential impact of climate variability on respiratory diseases in infant and children in Semarang. IOP Conference Series, 55, 012049–012049. https://doi.org/10.1088/1755-1315/55/1/012049
Mohammad Zahid Hossain, Bambrick, H., Wraith, D., Tong, S., Azharul Islam Khan, Samar Kumar Hore, & Hu, W. (2019). Sociodemographic, climatic variability and lower respiratory tract infections: a systematic literature review. International Journal of Biometeorology, 63(2), 209–219. https://doi.org/10.1007/s00484-018-01654-1
Rpubs Link: http://rpubs.com/baym/1128646