How do you find the median of a set of values when there is an even number of values?
1 Answer
The median of a set of numbers containing an even number of numbers is defined to be the average of the two "central" values;
it is a value which splits the set so exactly half the numbers in the set are less than it and exactly half are greater than it.
If
The median of
Half of the values of
and
half of the values of
One problem can arise if the median value occurs more than twice within the set. (Remember that a set of numbers can have duplicate values; for example, if the numbers are test scores from a class).
For example:
There is no true median value (in the sense that there is no value that separates the set into two subsets of equal size).
In this case the median would normally be taken to be
(Fortunately this normally only happens with fairly large sets where the difference in size between the "less than" subset and the "greater than" subset is not significant).