BioCentral IB
BioCentral IB
BioCentral IB

Internal assessment › Statistics

Outliers: find them, then decide

FreeAbout 8 minutesOpen the calculator

An outlier is a value far from the rest. The guide asks you to identify outliers and to justify removing or keeping each one. It does not ask for any calculation to do it.

p. 32, Inquiry 2

The 1.5 × IQR rule

One useful check comes from the syllabus and the data booklet: a value is an outlier if it lies more than 1.5 × IQR below the first quartile (Q1) or above the third quartile (Q3). p. 100, D3.2.15 data booklet p. 10

Outlier limits (IQR = Q3 − Q1) below Q1 − 1.5 × IQR   or   above Q3 + 1.5 × IQR

Spreadsheet: =QUARTILE.INC(range, 1) and =QUARTILE.INC(range, 3). Spreadsheets and calculators use slightly different methods for quartiles (QUARTILE.INC and QUARTILE.EXC often differ), so say which you used.

Worked example

Invented data, checked with SciPy. Plant T is a neutral name for an invented plant.

Length of 12 seed pods of Plant T / mm (±1 mm)
41, 43, 39, 44, 42, 40, 45, 43, 42, 18, 44, 41
  1. Quartiles (QUARTILE.INC): Q1 = 40.75 mm, Q3 = 43.25 mm, so IQR = 2.50 mm.
  2. Limits: 40.75 − 1.5 × 2.50 = 37.00 mm, and 43.25 + 1.5 × 2.50 = 47.00 mm.
  3. 18 mm is below 37.00 mm, so it is an outlier by this rule. (With QUARTILE.EXC the limits are 35.00 and 49.00 mm; same decision.)
  4. Look at your notes: the record for this pod says it was split and had lost most of its seeds.

Load this into the calculator

The effect of the outlier (n = 12 with it, 11 without)
Mean / mmSD / mmMedian / mm
With 18 mm40.27.242.0
Without 18 mm42.21.842.0

One value makes the SD about four times larger and moves the mean by 2 mm; the median does not change. Here the pod was damaged, so it was not a fair measure of pod length, and removing it is justified. Say so, and show both results.

1520253035404550 Pod length / mm Q1 − 1.5 × IQR = 37.00 18 mm: outlier 12 pods of Plant T
A box-and-whisker plot of the 12 pods: the box runs from Q1 to Q3 with the median inside, the whiskers reach the smallest and largest values that are not outliers, and the outlier is drawn as its own point.

Deciding: keep or remove?

  • Remove it only with a reason you can state: a recorded mistake, a damaged sample, a fault in the equipment, a value that is physically impossible.
  • Keep it if you have no such reason. A real but unusual individual is part of the variation you are studying.
  • Either way, say what you did and why, and give the result with and without it if the decision changes your conclusion. p. 32, Inquiry 2
  • Small samples: with 5 or fewer values the quartiles are rough, and the rule flags little. Your own notes on each sample matter more. Our advice
  • Keep notes as you go. A qualitative observations column (“pod split”, “bubble in syringe”) is what makes a decision justifiable later.

Common mistakes

  1. Removing a value only because it spoils the pattern.
  2. Removing outliers without saying so.
  3. Treating the 1.5 × IQR rule as a requirement. The guide asks you to justify the decision, not to calculate.
  4. Removing the outlier, recalculating, and then removing the next value the rule flags, round after round.
  5. Not saying which quartile method you used.