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
Step-by-step explanation:
Step(i):-
Given size of the sample = 200
First Sample proportion
![p^(-) _(1) = (20)/(80) = 0.25](https://img.qammunity.org/2021/formulas/business/college/1bz8n52zuy30bv9pansyckzxjjma865eu0.png)
Second sample proportion
![p^(-) _(2) = (15)/(120) = 0.125](https://img.qammunity.org/2021/formulas/business/college/slbm4b4x8p3dpnlcjkkynzmnf2szccb7r3.png)
Null Hypothesis : p₁ = p₂
Alternative Hypothesis : p₁≠p₂
Step(ii):-
Test statistic
![Z = \frac{p^(-) _(1)-p^(-) _(2) }{\sqrt{PQ((1)/(n_(1) ) +(1)/(n_(2) ) )} }](https://img.qammunity.org/2021/formulas/business/college/ifjphnw5kc0cis55xpm7b1tbzkvmeocvvv.png)
Where
![P = (n_(1) p_(1) + n_(2) p_(2) )/(n_(1)+n_(2) )](https://img.qammunity.org/2021/formulas/business/college/9gwi8iv10gsfxnp0mw3hij03mp3gd9w20k.png)
![P = (200X 0.25+ 200 X 0.125 )/(400 ) = 0.185](https://img.qammunity.org/2021/formulas/business/college/qez8bvou5qs22xg0rj4lbw6bab6aswprxs.png)
Q = 1-P = 0.8125
![Z = \frac{0.25-0.125 }{\sqrt{0.185X0.8125((1)/(200) +(1)/(200 ) )} }](https://img.qammunity.org/2021/formulas/business/college/14is7l00x8ru52u73s5upe34b8i0xgxq3g.png)
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