The mean of the series is
If the values appear with counts , the same number is computed as the weighted mean
Examples
Example 8.4
For the quiz of Example 8.2:
Example 8.6
Sorted series of house prices (in thousands): , , , , , , . The median is the th value, . The mean is — larger than of the prices! One extreme value () pulls the mean far more than the median: the median is robust, the mean is not.