Answer:
The 99% confidence interval for the difference in two proportions is (0.0456, 0.1944).
Explanation:
Before building the confidence interval, we need to understand the central limit theorem and subtraction of normal variables.
Central Limit Theorem
The Central Limit Theorem establishes that, for a normally distributed random variable X, with mean
and standard deviation
, the sampling distribution of the sample means with size n can be approximated to a normal distribution with mean
and standard deviation
.
For a skewed variable, the Central Limit Theorem can also be applied, as long as n is at least 30.
For a proportion p in a sample of size n, the sampling distribution of the sample proportion will be approximately normal with mean
and standard deviation
Subtraction between normal variables:
When two normal variables are subtracted, the mean is the difference of the means, while the standard deviation is the square root of the sum of the variances.
Western residents:
39% out of 640, so:
![p_1 = 0.39](https://img.qammunity.org/2022/formulas/mathematics/college/gv9wsrf0cyczpnkrajs0zr0i9xxgjqjr34.png)
![s_1 = \sqrt{(0.39*0.61)/(640)} = 0.0193](https://img.qammunity.org/2022/formulas/mathematics/college/in1wbjw15hl22j6p01ma0366zpnjen8x9o.png)
Eastern residents:
51% out of 540, so:
![p_2 = 0.51](https://img.qammunity.org/2022/formulas/mathematics/college/2210j4sny9ps3z2g7gy39p1b0nwfi21bbv.png)
![s_2 = \sqrt{(0.51*0.49)/(540)} = 0.0215](https://img.qammunity.org/2022/formulas/mathematics/college/ukrej3ykcnrfgz23ixgtxs77o4b7c2ypcx.png)
Distribution of the difference:
![p = p_2 - p_1 = 0.51 - 0.39 = 0.12](https://img.qammunity.org/2022/formulas/mathematics/college/2psr85gunclusbxktmi3jbqthvrno7taw6.png)
![s = √(s_2^2+s_1^2) = √(0.0215^2+0.0193^2) = 0.0289](https://img.qammunity.org/2022/formulas/mathematics/college/x88xv9uloe8d4mcl40sb8yd67utk6gc5sl.png)
Confidence interval:
![p \pm zs](https://img.qammunity.org/2022/formulas/mathematics/college/wj9caku600g3pv821d3qu5mork79nvmhtt.png)
In which
z is the z-score that has a p-value of
.
99% confidence level
So
, z is the value of Z that has a p-value of
, so
.
The lower bound of the interval is:
![p - zs = 0.12 - 2.575*0.0289 = 0.0456](https://img.qammunity.org/2022/formulas/mathematics/college/i4v4hsvli6s1tzwevx80y6k7162mbmku4h.png)
The upper bound of the interval is:
![p + zs = 0.12 + 2.575*0.0289 = 0.1944](https://img.qammunity.org/2022/formulas/mathematics/college/5dcypesurhtleuporpds1zrbjoid7gzd2c.png)
The 99% confidence interval for the difference in two proportions is (0.0456, 0.1944).