Question #207370

Given that two machines A and B produced 200 and 300 items respectively. From these samples, machine A produced 18 defective items and machine B produced 15 defective items. Construct a 95% confidence interval for the difference in the proportion of defective items produced by machine A and B. How do you interpret the interval?


1
Expert's answer
2021-06-16T10:34:05-0400

The sample proportion 1 is computed as follows, based on the sample size n1=200n_1=200

and the number of defective items x1=18x_1=18:


p1^=x1n1=18200=0.09\hat{p_1}=\dfrac{x_1}{n_1}=\dfrac{18}{200}=0.09

The sample proportion 2 is computed as follows, based on the sample size n2=300n_2=300

and the number of defective items x2=15x_2=15:


p2^=x2n2=15300=0.05\hat{p_2}=\dfrac{x_2}{n_2}=\dfrac{15}{300}=0.05

The critical value for α=0.95\alpha=0.95 is zc=z1α/2=1.96.z_c=z_{1-\alpha/2}=1.96. The corresponding confidence interval is computed as shown below:


CI=(p1^p2^zcp1^(1p1^)n1+p2^(1p2^)n2,CI=\bigg(\hat{p_1}-\hat{p_2}-z_c\sqrt{\dfrac{\hat{p_1}(1-\hat{p_1})}{n_1}+\dfrac{\hat{p_2}(1-\hat{p_2})}{n_2}},

p1^p2^+zcp1^(1p1^)n1+p2^(1p2^)n2)\hat{p_1}-\hat{p_2}+z_c\sqrt{\dfrac{\hat{p_1}(1-\hat{p_1})}{n_1}+\dfrac{\hat{p_2}(1-\hat{p_2})}{n_2}}\bigg)

=(0.090.051.960.09(10.09)200+0.05(10.05)300,=\big(0.09-0.05-1.96\sqrt{\dfrac{0.09(1-0.09)}{200}+\dfrac{0.05(1-0.05)}{300}},


0.090.05+1.960.09(10.09)200+0.05(10.05)300)0.09-0.05+1.96\sqrt{\dfrac{0.09(1-0.09)}{200}+\dfrac{0.05(1-0.05)}{300}}\big)




=(0.0067,0.0867)=(-0.0067, 0.0867)

Therefore, based on the data provided, the 95% confidence interval for the difference between the population proportions p1p2p_1-p_2 is 0.0067<p1p2<0.0867,-0.0067<p_1-p_2<0.0867, which indicates that we are 95% confident that the true difference between population proportions is contained by the interval (0.0067,0.0867).(-0.0067, 0.0867).



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS