Steply

Outliers in 15, 17, 18, 20, 21, 23, 24, 26

Step by step, with the reason for every step · IQR and outliers · Statistics

Step by step

The question

Question: find the outliers in 15, 17, 18, 20, 21, 23, 24 and 26.

15, 17, 18, 20, 21, 23, 24, 26

An outlier is a number far away from the others.

outlier: far from the others

1 Put them in order

First we put them in order, smallest first: 15, 17, 18, 20, 21, 23, 24 and 26.

= 15, 17, 18, 20, 21, 23, 24, 26

2 Find the quartiles

8 numbers: two in the middle, 20 and 21.

The median goes between them.

It cuts the list in two halves, 4 numbers each.

The median is halfway between them: we add them and divide by 2.

20 plus 21 is 41.

Divided by 2 is 20.5.

median = 20 + 212 = 412 = 20.5

The lower half has two in the middle: 17 and 18.

Q1 is halfway between them: we add them and divide by 2.

17 plus 18 is 35.

Divided by 2 is 17.5.

Q1 = 17 + 182 = 352 = 17.5

The upper half has two in the middle: 23 and 24.

Q3 is halfway between them: we add them and divide by 2.

23 plus 24 is 47.

Divided by 2 is 23.5.

Q3 = 23 + 242 = 472 = 23.5

3 Find the IQR

The IQR is Q3 minus Q1: how wide the middle half is.

23.5 minus 17.5 is 6.

IQR = Q3 − Q1 = 23.5 − 17.5 = 6

4 Find the fences

The rule: an outlier is more than 1.5 IQRs outside the box.

1.5 times 6 is 9.

1.5 × IQR = 1.5 × 6 = 9

Careful!

We step out from the ends of the box, Q1 and Q3.

Not from the median.

Careful: from Q1 and Q3, not from the median

The low fence: Q1 minus 9.

17.5 minus 9 is 8.5.

low fence = Q1 − 9 = 17.5 − 9 = 8.5

The high fence: Q3 plus 9.

23.5 plus 9 is 32.5.

high fence = Q3 + 9 = 23.5 + 9 = 32.5

5 Find the outliers

On a number line: the fences in red, and a dot for each number.

Every dot is between the fences.

No number is outside the fences.

So there are no outliers.

= no outliers

6 Check

Let's check the ends: 15 is above 8.5, and 26 is below 32.5.

So it is right!

8.5 < 15 and 26 < 32.5

Let's look back.

First: put them in order.

Then: find the quartiles.

Then: find the IQR.

Then: find the fences.

Then: find the outliers.

Last: check.

Answer
= no outliers

Your turn

Try this one yourself, then check:

Find the outliers in 14, 18, 20, 22, 22, 24, 24, 24
Show the answer
no outliers

More from IQR and outliers

The whole lesson: IQR and outliers →