Question #226747

Chi-Square Testing 

A survey was carried out in a firm of the smoking habits of men and women employees with the following results:

       

Men Women

Smokers 48 27

Non-smokers 58 57

 

It is required to test whether, at the 5% level of significance, the survey reveals any difference in the smoking habits of men and women.


Expert's answer

Expected values:

MenWomenSmokers41.8433.16Nonsmokers64.1650.84\begin{matrix} & Men&Women \\ Smokers & 41.84 & 33.16\\ Non-smokers & 64.16 & 50.84 \end{matrix}

Test statistic: χ2=(4841.84)241.84+(2733.16)233.16+(5864.16)264.16+(5750.84)250.84=3.387.\chi^2=\frac{(48-41.84)^2}{41.84}+\frac{(27-33.16)^2}{33.16}+\frac{(58-64.16)^2}{64.16}+\frac{(57-50.84)^2}{50.84}=3.387.

Degrees of freedom: df=(21)(21)=1.df=(2-1)(2-1)=1.

P-value: p=P(χ2>3.387)=0.0657.p=P(\chi^2>3.387)=0.0657.

Since the p-value is greater than 0.05, fail to reject the null hypothesis.

The survey did not reveal any difference in the smoking habits of men and women.


LATEST TUTORIALS
APPROVED BY CLIENTS