Answer:
Test statistic
|Z| = 2.996 > 1.96 at 5% level of significance
Null hypothesis is accepted
There is difference between smokers and non-smokers
Explanation:
Step(i):-
Given size of the sample = 200
First Sample proportion
[tex]p^{-} _{1} = \frac{20}{80} = 0.25[/tex]
Second sample proportion
[tex]p^{-} _{2} = \frac{15}{120} = 0.125[/tex]
Null Hypothesis : p₁ = p₂
Alternative Hypothesis : p₁≠p₂
Step(ii):-
Test statistic
[tex]Z = \frac{p^{-} _{1}-p^{-} _{2} }{\sqrt{PQ(\frac{1}{n_{1} } +\frac{1}{n_{2} } )} }[/tex]
Where
[tex]P = \frac{n_{1} p_{1} + n_{2} p_{2} }{n_{1}+n_{2} }[/tex]
[tex]P = \frac{200X 0.25+ 200 X 0.125 }{400 } = 0.185[/tex]
Q = 1-P = 0.8125
[tex]Z = \frac{0.25-0.125 }{\sqrt{0.185X0.8125(\frac{1}{200} +\frac{1}{200 } )} }[/tex]
Z = -2.996
The calculated value |Z| = 2.996 > 1.96 at 5% level of significance
Null hypothesis is accepted
There is difference between smokers and non-smokers