Answer:
At 95% confidence level, the difference between the proportion of freshmen using steroids in Illinois and the proportion of seniors using steroids in Illinois is -7.01135×10⁻³ < [tex]\hat{p}_1-\hat{p}_2[/tex] < 1.237
Step-by-step explanation:
Here we are required to construct the 95% confidence interval of the difference between two proportions
The formula for the confidence interval of the difference between two proportions is as follows;
[tex]\hat{p}_1-\hat{p}_2\pm z^{*}\sqrt{\frac{\hat{p}_1\left (1-\hat{p}_1 \right )}{n_{1}}+\frac{\hat{p}_2\left (1-\hat{p}_2 \right )}{n_{2}}}[/tex]
Where:
[tex]\hat{p}_1 = \frac{34}{1679}[/tex]
[tex]\hat{p}_2 = \frac{24}{1366}[/tex]
n₁ = 1679
n₂ = 1366
[tex]z_{\alpha /2}[/tex] at 95% confidence level = 1.96
Plugging in the values, we have;
[tex]\frac{34}{1679}- \frac{24}{1366} \pm 1.96 \times \sqrt{\frac{ \frac{34}{1679}\left (1- \frac{34}{1679}\right )}{1679}+\frac{\frac{24}{1366} \left (1-\frac{24}{1366} \right )}{1366}}[/tex]
Which gives;
-7.01135×10⁻³ < [tex]\hat{p}_1-\hat{p}_2[/tex] < 1.237.
At 95% confidence level, the difference between the proportion of freshmen using steroids in Illinois and the proportion of seniors using steroids in Illinois = -7.01135×10⁻³ < [tex]\hat{p}_1-\hat{p}_2[/tex] < 1.237.