min | Q1 | median | Q3 | max

1 | 3 | 5.5 | 8 | 40

Outliers by the 1.5 x IQR rule: 40. On a modified boxplot these plot as separate points.

Steps

  1. 1.sort the data; median = 5.5
  2. 2.Q1 = median of the lower half = 3; Q3 = median of the upper half = 8
  3. 3.IQR = Q3 - Q1 = 8 - 3 = 5
  4. 4.fences: Q1 - 1.5(IQR) = -4.5; Q3 + 1.5(IQR) = 15.5
  5. 5.values outside the fences: 40

Five-number summary and boxplot calculator · free from StatsLearn