Let P1: Population proportion of women who catch a cold and P2: Population proportion of men who catch a cold after taking the drug.
Similarly, let "\\hat{p_{1}}" : Sample proportion of women who catch a cold and "\\hat{p_{2}}" : Sample proportion of men who catch a cold after taking the drug.
Since we have to test the claim that the drug is equally effective for men and women, we can set up the null and alternative hypothesis as, H0 : P1 = P2 against H1: P1 not equal to P2
Thus, we use a two-sample test for population proportions.
Under H0, the test statistic is -
"Z_{calc} = \\frac{\\hat{p_{1}} - \\hat{p_{2}}}{\\sqrt{\\hat{p}\\hat{q}(\\frac{1}{n_{1}}+\\frac{1}{n_{2}})}} \\sim N(0,1)"
n1 and n2 are the corresponding sample sizes.
And "\\hat{p} = \\frac{n_{1}\\hat{p_{1}}+n_{2}\\hat{p_{2}}}{n_{1}+n_{2}}"
We have "\\hat{p_{1}} = 0.38, \\hat{p_{2}} = 0.51, {n_{1}} =100, {n_{2}} = 200"
"\\hat{p} = \\frac{100*0.38 + 200*0.51}{100 + 200} = \\frac{140}{300} = 0.46667"
Now,
"Z_{calc} = \\frac{{0.38} - {0.51}}{\\sqrt{{0.46667 * 0.5333}(\\frac{1}{100}+\\frac{1}{200})}}\n= \\frac{-0.13}{0.06110} = -2.1276"
We have to test the claim at level of significance of 5% (Thus alpha = 0.05). Since its a two-tailed test, the critical value from standard normal tables is:
"Z_{\\alpha\/2} = Z_{0.025} = 1.96"
Test Criteria: Reject H0 if |Zcalc| > Zalpha/2 (i.e. 1.96)
Conclusion: Since our |Zcalc| = 2.1276 is greater than 1.96 we have sufficient evidence to reject H0 at 5% level of significance.
Hence we can reject the company's claim that the drug is equally effective for men and women.
Comments
Leave a comment