Suppose that nine bats was used. For each trail, the zoo keeper pointed to one of two "feeders". Suppose that the bats went to the correct feeder (the one that the zoo keeper pointed at) 7 times. Find the 95% confidence interval for the population proportion of times that the bats would follow the point.

Respuesta :

Answer:

The 95% confidence interval for the population proportion of times that the bats would follow the point is (0.5062, 1).

Step-by-step explanation:

In a sample with a number n of people surveyed with a probability of a success of [tex]\pi[/tex], and a confidence level of [tex]1-\alpha[/tex], we have the following confidence interval of proportions.

[tex]\pi \pm z\sqrt{\frac{\pi(1-\pi)}{n}}[/tex]

In which

z is the zscore that has a pvalue of [tex]1 - \frac{\alpha}{2}[/tex].

For this problem, we have that:

[tex]n = 9, \pi = \frac{7}{9} = 0.7778[/tex]

95% confidence level

So [tex]\alpha = 0.05[/tex], z is the value of Z that has a pvalue of [tex]1 - \frac{0.05}{2} = 0.975[/tex], so [tex]Z = 1.96[/tex].  

The lower limit of this interval is:

[tex]\pi - z\sqrt{\frac{\pi(1-\pi)}{n}} = 0.7778 - 1.96\sqrt{\frac{0.7778*0.2222}{9}} = 0.5062[/tex]

The upper limit of this interval is:

[tex]\pi + z\sqrt{\frac{\pi(1-\pi)}{n}} = 0.7778 + 1.96\sqrt{\frac{0.7778*0.2222}{9}} = 1.05 = 1[/tex]

The proportion cannot be above 1, so 1.05 is 1.

The 95% confidence interval for the population proportion of times that the bats would follow the point is (0.5062, 1).