Statistics
posted by  .
Exercise 8.92
Tony's Pizza guarantees all pizza deliveries within 30 minutes of the placement of orders. An agency wants to estimate the proportion of all pizzas delivered within 30 minutes by Tony's. What is the most conservative estimate of the sample size that would limit the margin of error to within .02 of the population proportion for a 99% confidence interval?
Exercise 8.93
Refer to Exercise 8.92. Assume that a preliminary study has shown that 93% of all Tony's pizzas are delivered within 30 minutes. How large should the sample size be so that the 99% confidence interval for the population proportion has a margin of error of .02?

Margin of error = 0.02
z = 2.58
Unknown p
We are going use 50%
n = (za/2 /E ) ^2 *p(1p)
n = (2.58/0.02)^2*.5* .5 = 4160.25
n = 4161