In a dataset with an even number of observations, how is the median calculated?
a) By choosing the highest value
b) By selecting the middle value
c) By averaging the two middle values
d) By adding all values and dividing by the number of observations