Steply

Outliers in 5, 6, 7, 7, 8, 9, 25

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

Step by step

The question

Question: find the outliers in 5, 6, 7, 7, 8, 9 and 25.

5, 6, 7, 7, 8, 9, 25

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: 5, 6, 7, 7, 8, 9 and 25.

= 5, 6, 7, 7, 8, 9, 25

2 Find the quartiles

7 numbers: 3 on each side of the middle one.

The median is 7.

The median cuts the list in two halves, 3 numbers each.

The median itself is in neither half.

Careful!

The median is not counted in the halves.

Each half has 3 numbers.

Careful: the median is in neither half

Q1 is the middle of the lower half: 6.

Q3 is the middle of the upper half: 9.

3 Find the IQR

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

9 minus 6 is 3.

IQR = Q3 − Q1 = 9 − 6 = 3

4 Find the fences

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

1.5 times 3 is 4.5.

1.5 × IQR = 1.5 × 3 = 4.5

The low fence: Q1 minus 4.5.

6 minus 4.5 is 1.5.

low fence = Q1 − 4.5 = 6 − 4.5 = 1.5

The high fence: Q3 plus 4.5.

9 plus 4.5 is 13.5.

high fence = Q3 + 4.5 = 9 + 4.5 = 13.5

5 Find the outliers

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

25 is outside the fences.

So the outlier is 25.

= outlier: 25

6 Check

Let's check each one against its fence.

25 is more than 13.5.

So it is right!

25 > 13.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
= outlier: 25

Your turn

Try this one yourself, then check:

Find the outliers in 3, 7, 6, 7, 9, 10, 26
Show the answer
outlier: 26

More from IQR and outliers

The whole lesson: IQR and outliers →