Outlier Detection Statistics Example 2

Follow the full solution, then compare it with the other examples linked below.

Example 2

medium
Test scores: 72, 75, 78, 80, 82, 85, 88, 90, 92, 95. A new student's score of 25 is added. How does this outlier affect the mean and median?

Solution

  1. 1
    Step 1: Original mean: 72+75+78+80+82+85+88+90+92+9510=83710=83.7\frac{72+75+78+80+82+85+88+90+92+95}{10} = \frac{837}{10} = 83.7. Original median: 82+852=83.5\frac{82+85}{2} = 83.5.
  2. 2
    Step 2: New mean: 837+2511=86211โ‰ˆ78.4\frac{837+25}{11} = \frac{862}{11} \approx 78.4. New sorted data: 25,72,...,95. New median: 6th value = 82.
  3. 3
    Step 3: The mean dropped by 5.3 points (from 83.7 to 78.4) while the median dropped by only 1.5 points (from 83.5 to 82). The mean is much more sensitive to outliers.

Answer

Mean dropped from 83.7 to 78.4 (โˆ’5.3 points). Median dropped from 83.5 to 82 (โˆ’1.5 points). The mean is more affected by the outlier.
Outliers disproportionately affect the mean because the mean uses every value in its calculation. The median, which depends only on the middle position, is resistant to outliers. This is why the median is often preferred for skewed distributions or data with outliers.

About Outlier Detection

Outlier detection is the process of identifying data points that are unusually far from the rest of the dataset, using techniques like the IQR rule, z-scores, or visual inspection of box plots and scatter plots. These anomalous values may indicate measurement errors, data entry mistakes, or genuinely extreme observations.

Learn more about Outlier Detection โ†’

More Outlier Detection Examples