Question

In: Math

A survey was conducted to study if parental smoking is associated with the incidence of smoking...

A survey was conducted to study if parental smoking is associated with the incidence of smoking in children when they reach high school. Randomly chosen high school students were asked whether they smoked and whether at least one of their parents smoked.

The results are summarized in the following table:

Student Smoke Student Don’t

Parents Smoke 262 183

Parents Don’t 120 380

(a) For a randomly selected student in this study, find the conditional probability of smoking given his/her parents smoke.

(b) Suppose we are interested in testing whether parental smoking is independent of children smoking. Which statistical test would you consider for this problem?

(c) (4 points) Write down the R code to carry out that test. You first need to store the data into a matrix.

(d) Calculate the test statistic by yourself.

(e) Write down the R code to obtain the p-value based on your answer in
part(d).
(f) Suppose the p-value is 0.0001, what would be your really world conclusion? (You may use α = 0:05.)

Solutions

Expert Solution

A survey was conducted to study if parental smoking is associated with the incidence of smoking in children when they reach high school. Randomly chosen high school students were asked whether they smoked and whether at least one of their parents smoked.

The results are summarized in the following table:

StudentSmoke

StudentDon’t

Total

ParentsSmoke

262

183

445

ParentsDon’t

120

380

500

Total

382

563

945

(a) For a randomly selected student in this study, find the conditional probability of smoking given his/her parents smoke.

P=262/445 =0.58876

(b) Suppose we are interested in testing whether parental smoking is independent of children smoking. Which statistical test would you consider for this problem?

Chi square test

(c) (4 points) Write down the R code to carry out that test. You first need to store the data into a matrix.

x<-c(262,183)

y<-c(120,380)

mydata <- data.frame(x,y)

chisq.test(mydata)

R output:

Pearson's Chi-squared test with Yates' continuity correction

data: mydata

X-squared = 117.48, df = 1, p-value < 2.2e-16

(d) Calculate the test statistic by yourself.

Chi-Square Test

Observed Frequencies

Column variable

Calculations

StudentSmoke

StudentDon’t

Total

fo-fe

ParentsSmoke

262

183

445

82.1164

-82.1164

ParentsDon’t

120

380

500

-82.1164

82.1164

Total

382

563

945

Expected Frequencies

Column variable

StudentSmoke

StudentDon’t

Total

(fo-fe)^2/fe

ParentsSmoke

179.8836

265.1164

445

37.4859

25.4345

ParentsDon’t

202.1164

297.8836

500

33.3625

22.6367

Total

382

563

945

Data

Level of Significance

0.05

Number of Rows

2

Number of Columns

2

Degrees of Freedom

1

Results

Critical Value

3.841

Chi-Square Test Statistic

118.92

p-Value

0.0000

Reject the null hypothesis

(e) Write down the R code to obtain the p-value based on your answer in
part(d).

pchisq(118.92, df=1, lower.tail=FALSE)

(f) Suppose the p-value is 0.0001, what would be your really world conclusion? (You may use α = 0:05.)

Since p value 0.0001 < 0.05 level of significance, Ho is rejected.

We conclude that parental smoking is not independent of children smoking


Related Solutions

Smoking habits of UK residents: A survey was conducted to study the smoking habits of UK...
Smoking habits of UK residents: A survey was conducted to study the smoking habits of UK residents. Below is a data matrix displaying a portion of the data collected in this survey. Note that "£" stands for British Pounds Sterling, "cig" stands for cigarettes, and "N/A" refers to a missing component of the data. sex age marital grossIncome smoke amtWeekends amtWeekdays 1 Female 42 Single Under £2600 Yes 12 cig/day 12 cig/day 2 Male 44 Single £10,400 to £15,600 No...
No Smoking: The general social survey conducted a poll of 685 adults in which the subjects...
No Smoking: The general social survey conducted a poll of 685 adults in which the subjects were asked whether they agree that the government should prohibit smoking in public places. In addition, each was asked how many people lived in his or her household. The results are summarized in the following contingency table. Household Size 1 2 3 4 5 Agree 66 109 37 28 30 no opinion 26 56 29 19 30 Disagree 51 79 46 48 31 (a)...
Imagine that we conducted a survey and asked individuals about their education and their smoking habits....
Imagine that we conducted a survey and asked individuals about their education and their smoking habits. The results are below. Are these two variables correlated? If so, what are two potential confounding variables that would explain a statistically significant correlation between education and smoking habits? Explain. LESS EDUCATED MORE EDUCATED HEAVY SMOKER 15 3 LIGHT SMOKER 40 17 NON SMOKER 48 74
The Canadian Tobacco Monitoring Survey is a national survey administered by Statistics Canada to study smoking...
The Canadian Tobacco Monitoring Survey is a national survey administered by Statistics Canada to study smoking trends of Canadians aged 15 or older. The most recent survey found that 20.25% of Canadians aged 15 years or older smoke on a daily basis. In addition, 24% of men are smokers, and 16.5% of women are smokers. The most recent census shows that men make up 50% of the Canadian population, with women making up the remainder. You randomly pick a Canadian...
A survey was conducted to determine whether a household's income was associated with the number of...
A survey was conducted to determine whether a household's income was associated with the number of pets kept in that household. The table below shows the number of households, sorted by income level, that kept no pets, one pet or two or more pets:a) Calculate the proportion of total households that were high-income households and also kept no pets. Give your answer as a decimal to 3 decimal places. Proportion = b) Calculate the proportion of low income households that kept...
A survey was conducted to determine whether the gender of voters is associated with the gender...
A survey was conducted to determine whether the gender of voters is associated with the gender of their choice of political candidates in an election where a male was running against a female. A total of 40 women and 40 men voters were surveyed. 30 of the women voters chose the female candidate, and 10 chose the man. 24 of the male voters chose the male candidate, and 16 chose the female. 1. Construct an appropriate 2x2 contingency table (3...
A survey was conducted to determine whether the gender of voters is associated with the gender...
A survey was conducted to determine whether the gender of voters is associated with the gender of their choice of political candidates in an election where a male was running against a female. A total of 40 women and 40 men voters were surveyed. 30 of the women voters chose the female candidate, and 10 chose the man. 24 of the male voters chose the male candidate, and 16 chose the female. With the computer or by hand: a)construct an...
A cohort study of smoking and bladder cancer was conducted in a small island population. There...
A cohort study of smoking and bladder cancer was conducted in a small island population. There were a total of 1,000 people on the island. Four hundred were smokers and 600 were not. Fifty of the smokers developed bladder cancer. Ten of the non-smokers developed bladder cancer. What is the exposure and what is the disease? Set up the two by two table for these data with labels for exposures and disease status. Which measure of association/comparison should we use...
A study was conducted to investigate the relationship between maternal smoking during pregnancy and the presence...
A study was conducted to investigate the relationship between maternal smoking during pregnancy and the presence of congenital malformations in the child. Among children who suffer from an abnormality other than Down’s syndrome or an oral cleft, 32.8% have mothers who smoked during pregnancy. You wish to determine if this proportion is the same for those children born with an oral cleft. In a random sample of 27 infants with an oral cleft, 15 had mothers who smoked during pregnancy....
A retrospective study conducted in Japan in 1975 investigated the relationship between Smoking and Lung Cancer....
A retrospective study conducted in Japan in 1975 investigated the relationship between Smoking and Lung Cancer. After the study was done, the 2000 people in the sample were classified by whether the had died from Lung Cancer (LC) or not (NLC) and by whether they had been smokers (S) or non-smokers (NS) during their lifetimes. The final table produced from the sample looked like this: S NS TOTAL LC 350 150 500 NLC 624 876 1500 TOTAL 974 1026 2000...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT