Case01-SnowPea-置信区间参考答案

  • 格式:doc
  • 大小:71.00 KB
  • 文档页数:2

Case 1. (Case 8.3) Delivery Times at SnowPea Restaurant 1 Case 1. Delivery Times at SnowPea Restaurant The SnowPea Restaurant is a Chinese carryout/delivery restaurant. Most of SnowPea's deliveries are within a 10-mile radius, but it occasionally delivers to customers more than 10 miles away. SnowPea employs a number of delivery people, four of whom are relatively new hires. The restaurant has recently been receiving customer complaints about excessively long delivery times. Therefore, SnowPea has collected data on a random sample of deliveries by its four new delivery people during the peak dinner time. The data are in the file Case01-SnowPea-data.xls. The variables are:  Deliverer: which person made the delivery  PrepTime: time from when order was placed until delivery person started driving it to the customer  TraveITime: time to drive from SnowPea to customer  Distance: distance (miles) from SnowPea to customer

Solve the following problems and then, based on your analysis, write a report that makes reasonable recommendations to SnowPea management.

1. SnowPea is concerned that one or more of the new delivery people might be slower than others. a. Let Di and Ti, be the mean delivery time and mean total time for Deliverer i (i = 1, 2, 3, 4), where the total time is the sum of the delivery and prep times. Find 95% confidence intervals for each of these means for each Deliverer. Although these might be interesting, give two reasons why they are not really fair measures for comparing the efficiency of the delivery people. Solution: TravelTime_1 TotalTime_1 TravelTime_2 TotalTime_2 TravelTime_3 TotalTime_3 TravelTime_4 TotalTime_4 Count 177 177 142 142 127 127 113 113 Mean 13.449 24.915 16.400 28.212 20.174 31.950 21.649 33.652 Stdev 6.365 6.527 7.325 7.514 6.832 7.121 5.921 6.750 StErr 0.478 0.491 0.615 0.631 0.606 0.632 0.557 0.635 95% confidence interval Lower limit 12.505 23.947 15.185 26.965 18.974 30.699 20.545 32.394 Upper limit 14.393 25.884 17.615 29.459 21.374 33.200 22.752 34.910

从TravelTime_比较,可以认为1比2明显快,2比3明显快,但3不比4明显快。 从TotalTime来看,可以认为1比2明显快,2比3明显快,但3不比4明显快。 Reason: 1 路程的长短会影响TravelTime; 2 Prepare Time的长短会影响Total Time.

b. Responding to the criticisms in part a, find a 95% confidence interval for the mean speed of delivery for each Deliverer, where speed is measured as miles per hour during the trip from SnowPea to the customer. Hint:  What is the confidence interval for a mean?  How to construct the confidence interval for a mean? Use “One-sample Analysis” in “Statistical Inference” (StatPro). Solution: Speed in miles/hour Speed_1 Speed_2 Speed_3 Speed_4 Count Mean Stdev StErr 95% confidence interval

c. Find 95% confidence intervals for the mean difference in speed between each pair of delivery people. Hint:  Use “Two-sample Analysis” in “Statistical Inference” (StatPro). Solution: Speed_1 - Speed_2 Speed_1 - Speed_3 Speed_1 - Speed_4 Speed_2 - Speed_3 Speed_2 - Speed_4 Speed_3 - Speed_4 Sample mean difference Pooled standard deviation Std error of difference Degrees of freedom 95% confidence interval Put your verbal description here:

2. SnowPea would like to advertise that it can achieve a total delivery time of no more than M minutes (M = 25, 30 and 35) for all customers within a 10-mile radius. On all orders that take more than M minutes, SnowPea will give the customers a $10 certificate on their next purchase. Within the 10-mile limit, use the current data set (for this four delivery people), to find a 95% confidence interval for the proportion (or percent) of deliveries that will be on time (for M = 25, 30, 35). Find a 95% confidence interval for the total dollar amount of certificates (for 1000 deliveries) it will have to give out for being late (for M = 25, 30, 35). Case 1. (Case 8.3) Delivery Times at SnowPea Restaurant 2

Hint:  For M = 25, the question is asking for “Given M = 25 minutes, what is the percent of these deliveries on time (which means less than 25 minutes) and what is the 95% confidence interval?”  For example, suppose that there are 200 (not the real number) customers within a 10-mile radius. Given M = 25 minutes, if there are 50 customers on-time (that is, the delivery times of these customers are less than or equal to 25 minutes), the proportion of on-time is 50/200=25%. Solution: Put your verbal description here: OnTime25 OnTime30 OnTime35 Count Proportion StErr 95% confidence interval Put your verbal description here: