Respuesta :
Answer:
The smallest sample size required to obtain the desired margin of error is 865.
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].
The margin of error is:
[tex]M = z\sqrt{\frac{\pi(1-\pi)}{n}}[/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].
If we assume that p=0.90, what is the smallest sample size required to obtain the desired margin of error?
The margin is n when [tex]p = 0.90, M = 0.02[/tex]. So
[tex]M = z\sqrt{\frac{\pi(1-\pi)}{n}}[/tex]
[tex]0.02 = 1.96\sqrt{\frac{0.9*0.1}{n}}[/tex]
[tex]0.02\sqrt{n} = 0.588[/tex]
[tex]\sqrt{n} = \frac{0.588}{0.02}[/tex]
[tex]\sqrt{n} = 29.4[/tex]
[tex]\sqrt{n}^{2} = (29.4)^{2}[/tex]
[tex]n = 865[/tex]
The smallest sample size required to obtain the desired margin of error is 865.
The smallest sample size required to obtain the desired margin of error is 865.
The given parameters are:
[tex]p =0.90[/tex] --- the proportion of orders that arrive within delivery window
[tex]CI =95\%[/tex] --- the confidence level
[tex]E =2\%[/tex] --- the margin of error
The margin of error is calculated as:
[tex]E = z\sqrt{\frac{p (1 - p)}{{n}}[/tex]
The z score at 95% confidence level is 1.96.
So, the formula becomes
[tex]2\% = 1.96 * \sqrt{\frac{0.90 (1 - 0.90)}{{n}}[/tex]
[tex]0.02 = 1.96 * \sqrt{\frac{0.90 * 0.10}{{n}}[/tex]
Divide both sides by 1.96
[tex]0.0102 = \sqrt{\frac{0.90 * 0.10}{{n}}[/tex]
Square both sides
[tex]0.00010404 = \frac{0.90 * 0.10}{n}[/tex]
[tex]0.00010404 = \frac{0.09}{n}[/tex]
Make n the subject
[tex]n = \frac{0.09}{0.00010404}[/tex]
[tex]n = 865.051903114[/tex]
Approximate
[tex]n = 865[/tex]
Hence, the smallest sample size required to obtain the desired margin of error is 865.
Read more about margin of error at:
https://brainly.com/question/14396648