To find the median delivery time for each pizza shop, we first need to list the delivery times in increasing order.
Pizza Shop 1 Delivery Times:
- Original: 18, 23, 15, 22, 21, 24, 28, 20
- Sorted: 15, 18, 20, 21, 22, 23, 24, 28
Finding the Median for Pizza Shop 1: Since there are 8 data points (an even number), the median will be the average of the 4th and 5th values in the sorted list.
- 4th value: 21
- 5th value: 22
Median for Pizza Shop 1 = (21 + 22) / 2 = 21.5 minutes.
Pizza Shop 2 Delivery Times:
- Original: 20, 17, 16, 38, 21, 20, 18, 25
- Sorted: 16, 17, 18, 20, 20, 21, 25, 38
Finding the Median for Pizza Shop 2: Again, since there are 8 data points (even), the median is the average of the 4th and 5th values in the sorted list.
- 4th value: 20
- 5th value: 20
Median for Pizza Shop 2 = (20 + 20) / 2 = 20 minutes.
Summary:
- The median delivery time for Pizza Shop 1 is 21.5 minutes.
- The median delivery time for Pizza Shop 2 is 20 minutes.
- Based on the median, Pizza Shop 2 has a faster delivery time.
So filling in the blanks:
- The median delivery time of Pizza Shop 1 is 21.5 minutes.
- The median delivery time of Pizza Shop 2 is 20 minutes.
- Based on the median, Pizza Shop 2 has a faster delivery time.