219k views
0 votes
A study sampled 350 upperclassmen (Group 1) and 250 underclassmen (Group 2) at high schools around the city of Portland. The study was performed at the end of the school year and asked each if they had used steroids at any point in the last school year. Of the upperclassmen, 23 claimed to have used steroids in the last school year, and of the underclassmen, 21 claimed to have used steroids. Run a 95% confidence interval to test for a significant difference in the proportions of students who used steroids. Enter the confidence interval - round to 3 decimal places.

User Sababado
by
5.5k points

1 Answer

2 votes

Answer:


-0.061 < P_1 -P_2< 0.025

Explanation:

Give data:


</strong>n_1 = 350<strong>


</strong>n_2 =250<strong>


</strong>x_1 = 23<strong>


</strong>x_2 = 21<strong>


</strong>\hat{P} 1 = (x_1)/(n_1) = (23)/(350) = 0.066<strong>


</strong>\hat{P} 2 = (x_2)/(n_2) = (21)/(250) = 0.084<strong>

for 95% confidence interval


</strong>\alpha = 1 - 0.95 = 0.05 and \alpha/2 = 0.025<strong>


</strong>z_(\alpha/2) = 1.96<strong>
from standard z- table

confidence interval for P_1 and P_2 is


</strong>\hat{P} 1 - \hat{P} 2 \pm z_(\alpja/2) \sqrt{\frac{\hat{P} 1(1-\hat{P} 1)}{n_1} +\frac{\hat{P} 2(1-\hat{P} 2)}{n_2}} <strong>


</strong>(0.066 - 0.084) \pm 1.96 \sqrt{(0.066(1-0.066))/(350) +(0.084(1-0.084))/(250)}<strong>


</strong>-0.018 \pm 0.043<strong>

confidence interval is


</strong>-0.018 - 0.043 < P_1 -P_2<-0.018+0.043<strong>


-0.061 < P_1 -P_2< 0.025

User WakeupMorning
by
6.0k points