Respuesta :
Answer:
Step-by-step explanation:
Confidence interval for the difference in the two proportions is written as
Difference in sample proportions ± margin of error
Sample proportion, p= x/n
Where x = number of success
n = number of samples
For city 1,
x = 22
n1 = 155
p1 = 22/155 = 0.14
For city 2,
x = 12
n2 = 135
p2 = 12/135 = 0.09
Margin of error = z√[p1(1 - p1)/n1 + p2(1 - p2)/n2]
To determine the z score, we subtract the confidence level from 100% to get α
α = 1 - 0.95 = 0.05
α/2 = 0.05/2 = 0.025
This is the area in each tail. Since we want the area in the middle, it becomes
1 - 0.025 = 0.975
The z score corresponding to the area on the z table is 1.96. Thus, confidence level of 95% is 1.96
Margin of error = 1.96 × √[0.14(1 - 0.14)/155 + 0.09(1 - 0.09)/135]
= 1.96 × √0.00138344086
= 0.073
Confidence interval = 0.12 - 0.09 ± 0.073
= 0.03 ± 0.073
C. Since the confidence interval does not include zero, there is evidence that the vacancy rates are different between the two cities.
Answer:
Option A
Step-by-step explanation:
90% CI for p₁ - p₂
[tex]x_1=22,n_1=155\\x_2=12,n_2=135[/tex]
[tex]\hat p=\frac{22}{155} =0.141935 \approx 0.142\\\\\hat p_2=\frac{12}{135}=0.088889\approx 0.089[/tex]
[tex](\hat p_1-\hat p_2)=(0.142-0.0889)=0.0531[/tex]
[tex]SE_{(\hat p_1-\hat p_2)}=\sqrt{\frac{\hat p_1 (1-\hat p_1)}{n_1} +\frac{\hat p_2 (1-\hat p_2)}{n_2} } \\\\=\sqrt{\frac{0.142(1-0.142)}{155} +\frac{0.00889(1-0.00889)}{135} } \\\\=\sqrt{\frac{0.142(0.858)}{155} +\frac{0.00889(0.9111)}{135} } \\\\=\sqrt{\frac{0.1218}{155} +\frac{0.0080997}{135} } \\\\=0.037224\\\\\approx0.037[/tex]
[tex]Z_{\alpha /2}=Z_{0.05}=1.645 (\texttt {from z table})\\\\\texttt {Margin of Error}=Z_{\alpha /2}SE_{p_1-p_2}=1.65\times0.0372=0.061234\\\\\texttt {CI is given by}:(\hat p_1- \hat p_2) \pm Z_{\alpha /2}SE_{p_1-p_2}\\\\\texttt {lower limit}=0.0531-1.645\times0.0372=-0.008187\approx-0.008\\\\\texttt {Upper limit}=0.053+1.645\times0.0372=0.114281\approx0.114[/tex]
90% CI for p₁ - p₂ : (-0.008 , 0.114)
Therefore, Since the confidence interval does include zero, there is no evidence that the vacancy rates are different between the two cities.