If a data set has an even number of observations, the median
a. is the average value of the two middle items
b. is the average value of the two middle items when all items are arranged in ascending order
c. cannot be determined
d. must be equal to the mean