What is Median?
The median is the middle value of a data set when the values are listed in order.
To find the median, sort the numbers from least to greatest and find the middle. For 3, 9, 4, 7, 5, sort to get 3, 4, 5, 7, 9; the middle value is 5. With an even number of values, there are two middle values, and the median is their mean. For 2, 4, 6, 10, the middle values are 4 and 6, so the median is 5. The median is resistant to outliers. For home prices of $210,000, $225,000, $230,000, $240,000 and $1,200,000, the median is $230,000, while the mean is $421,000, which does not describe a typical home in the list. That is why incomes and home prices are often reported as medians. The common confusion is forgetting to sort first. Picking the middle number from an unsorted list gives the wrong answer. Another is miscounting the middle position; for n sorted values, the middle is at position (n plus 1) divided by 2.