Respuesta :
Answer:
We are confident at 99% that the difference between the two proportions is between [tex]0.380 \leq p_{Republicans} -p_{Democrats} \leq 0.420[/tex]
Step-by-step explanation:
Part a
Data given and notation
[tex]X_{D}=3266[/tex] represent the number people registered as Democrats
[tex]X_{R}=2137[/tex] represent the number of people registered as Republicans
[tex]n=7525[/tex] sampleselcted
[tex]\hat p_{D}=\frac{3266}{7525}=0.434[/tex] represent the proportion of people registered as Democrats
[tex]\hat p_{R}=\frac{2137}{7525}=0.284[/tex] represent the proportion of people registered as Republicans
The standard error is given by this formula:
[tex]SE=\sqrt{\frac{\hat p_D (1-\hat p_D)}{n_{D}}+\frac{\hat p_R (1-\hat p_R)}{n_{R}}}[/tex]
And the standard error estimated given by the problem is 0.008
Part b
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".
[tex]p_A[/tex] represent the real population proportion of Democrats that approve of the way the California Legislature is handling its job
[tex]\hat p_A =\frac{1894}{3266}=0.580[/tex] represent the estimated proportion of Democrats that approve of the way the California Legislature is handling its job
[tex]n_A=3266[/tex] is the sample size for Democrats
[tex]p_B[/tex] represent the real population proportion of Republicans that approve of the way the California Legislature is handling its job
[tex]\hat p_B =\frac{385}{2137}=0.180[/tex] represent the estimated proportion of Republicans that approve of the way the California Legislature is handling its job
[tex]n_B=2137[/tex] is the sample for Republicans
[tex]z[/tex] represent the critical value for the margin of error
The population proportion have the following distribution
[tex]p \sim N(p,\sqrt{\frac{p(1-p)}{n}})[/tex]
The confidence interval for the difference of two proportions would be given by this formula
[tex](\hat p_A -\hat p_B) \pm z_{\alpha/2} \sqrt{\frac{\hat p_A(1-\hat p_A)}{n_A} +\frac{\hat p_B (1-\hat p_B)}{n_B}}[/tex]
For the 90% confidence interval the value of [tex]\alpha=1-0.90=0.1[/tex] and [tex]\alpha/2=0.05[/tex], with that value we can find the quantile required for the interval in the normal standard distribution.
[tex]z_{\alpha/2}=1.64[/tex]
And replacing into the confidence interval formula we got:
[tex](0.580-0.180) - 1.64 \sqrt{\frac{0.580(1-0.580)}{3266} +\frac{0.180(1-0.180)}{2137}}=0.380[/tex]
[tex](0.580-0.180) + 1.64 \sqrt{\frac{0.580(1-0.580)}{3266} +\frac{0.180(1-0.180)}{2137}}=0.420[/tex]
And the 99% confidence interval would be given (0.380;0.420).
We are confident at 99% that the difference between the two proportions is between [tex]0.380 \leq p_{Republicans} -p_{Democrats} \leq 0.420[/tex]