Respuesta :
Answer:
a) [tex]\hat p_1 -\hat p_2 = 0.1613-0.1859=-0.0246[/tex]
b) [tex]\hat p =\frac{171 +226}{1060 +1216}=0.1744[/tex]
c) [tex]SE =\sqrt{\frac{0.1613 (1-0.1613)}{1060} +\frac{0.1859 (1-0.1859)}{1216}}=0.0159[/tex]
Step-by-step explanation:
Previous concepts and some notation
A confidence interval is "a range of values that’s likely to include a population value with a certain degree of confidence. It is often expressed a % whereby a population means lies between an upper and lower interval".
The margin of error is the range of values below and above the sample statistic in a confidence interval.
Normal distribution, is a "probability distribution that is symmetric about the mean, showing that data near the mean are more frequent in occurrence than data far from the mean".
The population proportion have the following distribution
[tex]p \sim N(p,\sqrt{\frac{\hat p(1-\hat p)}{n}})[/tex]
[tex] p_1[/tex] represent the true proportion of people reported being born in another country in country A
[tex]X_1 =171[/tex] represent the number of people reported being born in another country in country A
[tex]n_1 =1060[/tex] represent the sample in country A
[tex]n_2 =1216[/tex] represent the sample in country B
[tex]X_2 =226[/tex] represent the number of people reported being born in another country in country B
[tex] p_2[/tex] represent the true proportion of people reported being born in another country in country B
[tex]\hat p_1=\frac{171}{1060}=0.1613[/tex] represent the estimated proportion of people reported being born in another country in country A
[tex]\hat p_2=\frac{226}{1216}=0.1859[/tex] represent the estimated proportion of people reported being born in another country in country B
a. What is the difference in the sample proportions, p_1 - p_2. of foreign born residents from both countries? Assume p_1 is the proportion of foreign boom residents from country A and p_2 is the proportion of foreign boom residents from country B.
[tex]\hat p_1 -\hat p_2 = 0.1613-0.1859=-0.0246[/tex]
b. What is the pooled proportion of foreign boom in both countries combined?
The pooled proportion is given by this formula:
[tex]\hat p =\frac{X_1 +X_2}{n_1 +n_2}[/tex]
And if we replace we got:
[tex]\hat p =\frac{171 +226}{1060 +1216}=0.1744[/tex]
c. What is the standard error of the difference in part a?
The standard error for a difference of proportions is given by:
[tex]SE =\sqrt{\frac{\hat p_1 (1-\hat p_1)}{n_1} +\frac{\hat p_2 (1-\hat p_2)}{n_2}}[/tex]
And if we replace we got:
[tex]SE =\sqrt{\frac{0.1613 (1-0.1613)}{1060} +\frac{0.1859 (1-0.1859)}{1216}}=0.0159[/tex]