Two random samples are taken, with each group asked if they support a particular candidate. A summary of the sample sizes and proportions of each group answering ``yes'' are given below: Pop1: n1=92 p1=0.768 Pop2: n2=95 p2=0.646 Suppose that the data yields (-0.0313, 0.2753) for a confidence interval for the difference p1-p2 of the population proportions. What is the confidence level? (Give your answer in terms of percentages.)

Respuesta :

Answer:

And we got [tex]\alpha/2 =0.01[/tex] so then the value for [tex]\alpha=0.02[/tex] and then the confidence level is given by: [tex]Conf=1-0.02=0.98[/tex[ or 98%

Step-by-step explanation:

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_1[/tex] represent the real population proportion for 1

[tex]\hat p_1 =0.768[/tex] represent the estimated proportion for 1

[tex]n_1=92[/tex] is the sample size required for 1

[tex]p_2[/tex] represent the real population proportion for 2

[tex]\hat p_2 =0.646[/tex] represent the estimated proportion for 2

[tex]n_2=95[/tex] is the sample size required for 2

[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_1 -\hat p_2) \pm z_{\alpha/2} \sqrt{\frac{\hat p_1(1-\hat p_1)}{n_1} +\frac{\hat p_2 (1-\hat p_2)}{n_2}}[/tex]  

For this case we have the confidence interval given by: (-0.0313,0.2753). From this we can find the margin of erro on this way:

[tex]ME= \frac{0.2753-(-0.0313)}{2}=0.1533[/tex]

And we know that the margin of erro is given by:

[tex]ME=z_{\alpha/2} \sqrt{\frac{\hat p_1(1-\hat p_1)}{n_1} +\frac{\hat p_2 (1-\hat p_2)}{n_2}}[/tex]

We have all the values except the value for [tex]z_{\alpha/2}[/tex]

So we can find it like this:

[tex]0.1533=z_{\alpha/2} \sqrt{\frac{0.768(1-0.768)}{92} +\frac{0.646 (1-0.646)}{95}}[/tex]

And solving for [tex]z_{\alpha/2}[/tex] we got:

[tex]z_{\alpha/2}=2.326[/tex]

And we can find the value for [tex]\alpha/2[/tex] with the following excel code:

"=1-NORM.DIST(2.326,0,1,TRUE)"

And we got [tex]\alpha/2 =0.01[/tex] so then the value for [tex]\alpha=0.02[/tex] and then the confidence level is given by: [tex]Conf=1-0.02=0.98[/tex] or 98%

ACCESS MORE