Introduction

I am curious to know whether there is a relationship between the age that people begin to smoke and their smoking status. Tobacco use in most parts of the world is legal at the age of 18, yet it is a global epidemic that is constantly marketed towards young adults posing a serious health threat for teenagers. The impact of cigarette smoking is undeniable, proven to be easily addictive and hard to cessate due to its hormonal adrenaline increase in the brain and increase level of dopamine (Cigarettes and Other Tobacco Products DrugFacts, 2021). Adults that have been considered heavy smokers and Adults that have not smoked heavily were sampled for this study. The population parameter is the difference in proportions between these two response variables. The explanatory variable is whether that started before or by the legal age of 18. Is a difference between heavy-smoker adults and non-heavy smoker adults depend on whether they started smoking before or by the age of 18? We will make the assumption that population proportion of heavy smoker Adults is equal to non-heavy smoker Adults. But we suspect that there is a difference in proportions and an association between heavy-smoking and starting before the legal age.

Data Collection Methods

For this study, we collected datav from the Island simulation and recorded in an excel sheet. From the Island simulation we gathered a random sample of 78 adults, ages 19+ from Tula, Bonne Sante that consented to our study. For the sake of our research question we decided to gather observational units 19+ years of age in order to gather valuable evidence about smoking status. In order to find non-biased evidence and have the ability to generalize our results to the adult population in Tula we used a random number generator to gather valid random samples. Each house and adult member of household were selected randomly from a random number generator. To avoid any discrepancies between survey responses and records we also asked for consent to look at their life record and look for evidence of smoking before or by the age of 18. We then looked for heavy smoker evidence in their history file. Both of our variables are categorical binary variables and our observational units are the people of Tula. In the beginning we wanted to only gather 50 observations but in order to meet the Central Limit Theorem and use theory-based approach we need at least 10 observations in each group, which led us to 78 observational units. The random number generator led us to the same number sometimes which took longer time gathering the samples as well as many of the people being asked for consent were asleep many of the times I tried gathering random samples.

Analysis of Results

library(readr)
Tobaccoaddiction <- read_csv("~/Math247/projects.2022/Tobaccoaddiction - Sheet1 (1).csv")
head(Tobaccoaddiction, n=2)
mosaicplot(Before18 ~ smoker, data = Tobaccoaddiction)

Initial description of Analysis

The population of interest in our study are heavy and non-heavy smoking Adults.

The parameter of interest, \(\pi_{heavy}-\pi_{non-heavy}\), is the difference in proportions of Adults, 19+ islanders of Tula, Bonne-Sante.

Null Hypothesis: The population proportion of heavy smokers is the same as the population proportion of non-heavy smokers. There is no association between smoking status of adults and whether they started smoking before 18.

\(H_0:\pi_{heavy}=\pi_{non-heavy}\)

Alt. Hypothesis: The population proportion of heavy smokers is not equal to the population proportion of non-heavy smokers. There is an association between smoking status of adults and whether they started smoking before 18.

\(H_A:\pi_{heavy}\neq\pi_{non-heavy}\)

Type of Errors

Let’s recall that a type 1 error would mean rejecting the Null hypothesis when it is actually true. This would occur if the population proportion of heavy smokers is the same as the population proportion of non-heavy smoker.

A type 2 error would mean failing to reject the Null hypothesis when it is actually false. This type 2 error would occur if the population proportion of heavy smokers is not equal to non-heavy smokers.

Our random sample should be reasonably considered representative to the entire population of adults on the island of Tula. Because we are just testing adults that are at least 19 in Tula, Bonne Sante and there is no control group with random assignment this is not representative to the entire simulation. The random sample was gathered using a random number generator and we gathered the historical information in order to avoid any discrepancies with their records and answering a survey. We do have to be careful before making any conclusions such that we are conducting an observational study.

Z-test

In order to compare proportions we will use the Z-Statistic. To compare these proportions using the Z-test, the data must meet the Central Limit Theorem. For this we will create a 2x2 table.

tally(`smoker`~`Before18`, data = Tobaccoaddiction, margin = TRUE)
##        Before18
## smoker  no yes
##   no    33  12
##   yes   23  10
##   Total 56  22

As with a single proportion, the theory-based approach for comparing two proportions is only valid when a normal distribution provides a good approximation to the distribution of the statistic. The theory-based significance test and confidence interval work well when there are at least 10 observations in each of the four cells of the two-way table. In other words, we require at least 10 “successes” and at least 10 “failures” in each sample in order to use this theory-based approach.

As we can see, our data meets the Theory-based approach with at least 10 observations in each cell.

We can also visualize these table by turning our data into proportions:

tally(smoker~Before18, data = Tobaccoaddiction, format = "prop")
##       Before18
## smoker        no       yes
##    no  0.5892857 0.5454545
##    yes 0.4107143 0.4545455

Identifying our success as (yes,yes) we can calculate the difference in proportions:

-diffprop(smoker ~ Before18, success = "yes", data = Tobaccoaddiction)
##    diffprop 
## -0.04383117

Before calculating the Z-test, we can report the sample statistic of interest:

#sample sizes
n.No<- 56
n.Yes<- 22  

# counts
Nonheavy.No<- 33
Heavy.Yes<- 10

#sample proportions 
p.hat.No <- Nonheavy.No/n.No 
p.hat.Yes <- Heavy.Yes/n.Yes  

# difference between the sample proportions of Heavy vs Non-Heavy
p.hat.diff<-p.hat.Yes-p.hat.No
p.hat.diff
## [1] -0.1347403

With our sample statistic we can now report the standardized statistic:

#pooled proportion (total successes/cobmined sample size)
p.hat.pooled<- (Nonheavy.No+Heavy.Yes)/(n.No + n.Yes)

# Standard error of the theoretical sampling distribution based on a pooled proportion
SE.diff.null<-sqrt((p.hat.pooled*(1-p.hat.pooled))/n.No 
                   + (p.hat.pooled*(1-p.hat.pooled))/n.Yes)

# Standardized statistic, z
z <- p.hat.diff/SE.diff.null 
round(z,2)
## [1] -1.08

The standardized statistic has a z-score of -1.08. That is between -1.96 and 1.96 which means our statistic lies -1.08 standard deviations below the null hypothesis. Thus, we can not reject the hypothesis statement – there may or may not be an association to smoking addiction and age which they started smoking.

P-Value & interpretation

#Theory-based test p-value
left.tailed.p.value<-pnorm(z, 0, 1, lower.tail = TRUE) 
#right.tailed.p.value<-pnorm(z, 0, 1, lower.tail = FALSE) 

two.sided.p.value<-2*left.tailed.p.value
two.sided.p.value

The probability of observing our sample statistic of -0.135, assuming the null hypothesis is true, is 0.2816. If we calculate a 1-sided p-value, our p-value is then half of 0.2816~ 0.1408.

Using the significance test of 0.05 to use as comparison, a p-value of 0.1408 is not of significance, such a value suggests our reported statistic occurred by random chance alone. Thus we can not reject the null hypothesis. There is not enough evidence to make the conclusion that there is an association between smoking and age they started smoking.

Our study was initially trying to answer the question, “Is a difference between heavy-smoker Adults and non-heavy smoker Adults depending on whether they started smoking before or by the age of 18?”. Using the Theory-Based Approach, we find that both the z-test and the p-value are not of significant value. Both lie along or near the null hypothesis average, which does not give us enough evidence to reject the claim and make a conclusion of an association between age started smoking and smoking status.

Confidence Interval

# Standard error of the sampling distribution based on individual proportions

SE.diff.CI<-sqrt((p.hat.Yes*(1-p.hat.Yes))/n.Yes
              + (p.hat.No*(1-p.hat.No))/n.No)


# 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),2)
##         LB   UB
## [1,] -0.38 0.11

We are 95% confident that the difference in proportions of heavy and non-heavy smokers is between -0.38 and 0.11. This includes the 0 value, which means there is a chance that the difference in proportions may be 0. This is therefore consistent with our previous conclusion of the study; we cannot reject our null hypothesis.

Conclusion

Our initial research question, “Is a difference between heavy-smoker Adults and non-heavy smoker Adults depending on whether they started smoking before or by the age of 18?”, led us to conduct a study on the simulation Island of Tula, Bonne Sante. Based on our theory-based approach we made the conclusion that we cannot reject the null hypothesis, all of our sample statistics gathered from our data were not strong enough to reject the equal proportions between heavy smokers and non-heavy smokers. There are several things that could change in our study in order to make conclusions in context of our study. For one, we are looking at observational data. Although the sample size gathered was randomly chosen, there were many underlying problems looking at their records. Many of the observational units chose to hide their records at a certain year of their lives, so many of these adults had no record at all or only had some information. Thus, these islanders could have the ability of hiding certain information from their records and may have misguided our data results. This is just one confounding variable I can think about, there may be other confounding variables I may still be unaware. During our analysis we did not consider a “margin error” in our differences. Although it appears there is no clear association in the mosaic plot or in our analysis, it would be useful to conduct a larger sample size. It may be that the 78 observations were not enough to make a solid analysis. It may also be useful to conduct this study in a way where we can make a more generalized conclusion. But what makes us think that the islanders of Tula are any different from the other islanders of Bonne Sante? In a future investigation, someone else may find it interesting to use our data to investigate whether there is an association between gender and heavy smoking.