Answer:
The 95% confidence interval is (-0.2451, 06912)
Step-by-step explanation:
From the question, we have;
The number of small cars in the sample of small cars, n₁ = 12
The number of small cars that were totaled, x = 8
The number of large cars in the sample of small cars, n₂ = 15
The number of large cars that were totaled, y = 5
Therefore, the proportion of small cars that were totaled, pX = x/n₁
∴ pX = 8/12 = 2/3
The proportion of large cars that were totaled, pY = y/n₁
∴ pY = 5/15 = 1/3
The 95% confidence interval for the difference pX - pY is given as follows;
[tex]pX-pY\pm z^{*}\sqrt{\dfrac{pX\left (1-pX \right )}{n_{1}}+\dfrac{pY\left (1-pY \right )}{n_{2}}}[/tex]
[tex]\dfrac{2}{3} -\dfrac{1}{3} \pm 1.96 \times \sqrt{\dfrac{\dfrac{2}{3} \times \left (1-\dfrac{2}{3} \right )}{12}+\dfrac{\dfrac{1}{3} \times \left (1-\dfrac{1}{3} \right )}{15}}[/tex]
Therefore, we have;
[tex]\therefore 95\% \ CI = \dfrac{1}{3} \pm 0.3578454[/tex]
The 95% confidence interval, CI = (-0.2451, 06912)