Statistic Quiz Questions & Excel Worksheet
Please finish the assignment guided in the pdf. Database is in the excel.
You work for a popular pizzeria in suburban Rochester that has recently considered
providing a guarantee on delivery times (e.g. “Guaranteed delivery within 50 minutes, or
your pizza is free!”). However, you are quite concerned about just how many pizzas you
will be giving away for free under such a policy. You shift manager claims that delivery
times are uniformly distributed between 30 minutes and an hour, but you are not so
sure about this. Luckily, you have been recording the actual delivery times for the past
several years and have assembled a dataset with 1400 observed actual delivery times
(DeliveryTimes.xlsx).
a. Using the included dataset, compute the sample average, the sample standard
deviation and the sample variance of delivery time. You only need to report
these three numbers here.
b. Based on what you found in part a), are these findings consistent with delivery
times being distributed uniformly between 30 and 60 minutes? Why or why not?
Note: there is no need for a formal test here, just an informal discussion (for
which the formulas for the mean and variance of a uniform distribution that you
can look up on Wikipedia will be useful).
c. Suppose you assume instead that delivery times are normally distributed (rather
than uniform) with the mean and standard deviation you found in part a). Using
the estimates from part a), construct an interval into which you expect 95% of
delivery times to fall. Repeat this exercise, but replace 95% with 80%. How do
these intervals compare with what you would have concluded had you just
assumed that delivery times were distributed uniformly between 30 and 60
minutes?
d. Continuing to assume a normal distribution, what is the probability that a given
pizza is delivered in 45 minutes or less? How about 40 minutes or less? 50
minutes or more? Compare these answers to what you would conclude under
the uniform assumption. e. If you were to implement a policy of only charging for pizzas that are delivered in
under 50 minutes, would it matter which distribution was the correct one? Why
or why not? (Note: you do not need to compute anything here, just answer the
question from an intuitive standpoint).
f. Again using the information from part a), construct a 95% confidence interval for
the population mean. How does this compare to the 95% interval you
constructed in part c (for the Normal case)? If it is different, what is the reason
for this?
g. Would the confidence interval you constructed in part f) change if you assumed
the population distribution was uniform instead of Normal? Why or why not?
h. Using the information from part a), test the null hypothesis that the population
average delivery time is 50 minutes against the two-sided alternative hypothesis
that it is not 50 minutes at both the 1% and 5% levels. What do you conclude?