Example 1 — Outlier in a salary list
Show the steps and the answer
Compute both: mean ; median , the middle of the sorted list.
We need each summary's value with the outlier present before we can see how much it was affected.
Remove the outlier and recompute: the mean of is , and the median is .
Comparing with and without the extreme value shows how much each summary depended on it.
Measure the shift: the mean moved from 43.5 to 234.8, up 191.3; the median moved from 43.5 to 45, up 1.5.
A robust summary changes only a little when one value is wild; the median did, the mean did not.
Note that the mean, 234.8, is larger than four of the five salaries.
A centre that describes nobody in the group is a clear sign that one value has dragged it.
Answer: Median (45) is robust; mean (234.8) is not
Takeaway: To judge robustness, recompute with and without the suspicious value; here the median barely moves, so it is the robust choice.