Statistics · Exploring one-variable data

Outliers and skew

When a distant value is an error, and when it is the finding.

A distant value is not a guilty one

A value of 61 sits far above the rest of the data. Deleting it would make the results tidier and the conclusion stronger — and every number left would still be true. When is removing it honest, and when is it the quietest way to fake a finding?

An outlier is an observation far from the rest. The word carries no verdict: it does not say the value is wrong, only that it is distant. Deciding what to do with it is a judgement about the world, not a calculation — but there is a standard rule for flagging one.

\text{outlier if } x < Q_1 - 1.5\,\text{IQR} \quad \text{or} \quad x > Q_3 + 1.5\,\text{IQR}

Source of the outlierWhat is done
A typing or measurement errorCorrect it, and if impossible remove it and say so
An observation from another groupSeparate the groups
A rare but genuine valueKeep it — it is part of the phenomenon

Two worked examples

Example 1 — applying the rule

  1. Suppose Q_1 = 20 and Q_3 = 32. \text{IQR} = 12
  2. One and a half of that is 18. 1.5 \times 12 = 18
  3. The fences sit at 20 - 18 and 32 + 18. 2 \text{ and } 50
  4. A value of 61 is flagged; a value of 48 is not.

Example 2 — flagged is not condemned

  1. The 61 is checked against the source record.
  2. If it was mistyped for 6.1, it is corrected.
  3. If it is a genuine rare case, it stays.
  4. Either way the decision is written down.
A calculator: The one-and-a-half IQR rule — sliders for The lower quartile Q_1, The upper quartile Q_3, The value being checked, with results that update at once.