Kat and Joshua want to know which pizza shop has the fastest delivery time. Kat took a random sample of 8 delivery times from pizza shop 1 over a period of six months. Joshua did the same for pizza shop 2. The delivery times (in minutes) for each pizza shop are shown in the following table.

Pizza shop 1 : 18, 23, 15, 22, 21, 24, 28, 20
Pizza shop 2 : 20, 17, 16, 38, 21, 20, 18, 25

Find the median delivery time for each pizza shop. Based on the median, which pizza shop has the fastest delivery time?

To find the median delivery time for each pizza shop, we need to first put the delivery times in order from least to greatest:

Pizza shop 1: 15, 18, 20, 21, 22, 23, 24, 28
Pizza shop 2: 16, 17, 18, 20, 20, 21, 25, 38

The median is the middle value in a set of data when it is put in order. For Pizza shop 1, the median is 22, since it is the middle value when the delivery times are put in order. For Pizza shop 2, the median is also 20, since it is the middle value when the delivery times are put in order.

Based on the medians, Pizza shop 1 has the faster delivery time, since its median delivery time of 22 minutes is lower than Pizza shop 2's median delivery time of 20 minutes.

To find the median delivery time for each pizza shop, we need to arrange the delivery times in ascending order and find the middle value.

For Pizza Shop 1: 15, 18, 20, 21, 22, 23, 24, 28
The median delivery time for Pizza Shop 1 is 22.

For Pizza Shop 2: 16, 17, 18, 20, 20, 21, 25, 38
The median delivery time for Pizza Shop 2 is 20.

Based on the median delivery times, Pizza Shop 2 has the fastest delivery time with a median of 20 minutes.