Out of a sample of 94 purchases at the drive-up window of a fast-food establishment, 27 were made with a major credit card. Find a 98% confidence interval for the population proportion of purchases paid with a major credit card.

Respuesta :

Answer:

The 98% confidence interval for the population proportion of purchases paid with a major credit card is (0.1786, 0.3958).

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 = 94, \pi = \frac{27}{94} = 0.2872[/tex]

98% confidence level

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

The lower limit of this interval is:

[tex]\pi - z\sqrt{\frac{\pi(1-\pi)}{n}} = 0.2872 - 2.327\sqrt{\frac{0.2872*0.7128}{94}} = 0.1786[/tex]

The upper limit of this interval is:

[tex]\pi + z\sqrt{\frac{\pi(1-\pi)}{n}} = 0.2872 + 2.327\sqrt{\frac{0.2872*0.7128}{94}} = 0.3958[/tex]

The 98% confidence interval for the population proportion of purchases paid with a major credit card is (0.1786, 0.3958).

ACCESS MORE