M
Math Coach Amy
Amy Ferguson Moncure

IB AA · 6B Summarizing Data

Quartiles and Outliers

Find Q₁, Q₃, and the interquartile range. Then mark values outside the fences.

Jump to section:

IQR = Q₃ − Q₁

What to Remember

Halves

Order the data. If the count is odd, the median is the middle value and it is left out of both halves. If the count is even, split the list into two equal halves.

Quartiles

Q₁ is the median of the lower half. Q₃ is the median of the upper half.

IQR

IQR = Q₃ − Q₁

Outliers

A value is flagged when it is below Q₁ − 1.5 × IQR or above Q₃ + 1.5 × IQR.

Easy

Easy

Q₁ and Q₃ are given. Find the fences.

Example
Q₁ = 18 and Q₃ = 30. Find the interquartile range and the values that would be flagged as outliers.

IQR = Q₃ − Q₁

IQR = 30 − 18

IQR = 12

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 12

1.5 × IQR = 362

1.5 × IQR = 18

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 18 − 18

Lower fence = 0

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 30 + 18

Upper fence = 48

A value is an outlier when it is below 0 or above 48.

Answer: IQR 12. Outliers are below 0 or above 48.

1
Q₁ = 12 and Q₃ = 28. Find the interquartile range and the values that would be flagged as outliers.
Show Answer

IQR = Q₃ − Q₁

IQR = 28 − 12

IQR = 16

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 16

1.5 × IQR = 482

1.5 × IQR = 24

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 12 − 24

Lower fence = −12

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 28 + 24

Upper fence = 52

A value is an outlier when it is below −12 or above 52.

Answer: IQR 16. Outliers are below −12 or above 52.

2
Q₁ = 20 and Q₃ = 36. Find the interquartile range and the values that would be flagged as outliers.
Show Answer

IQR = Q₃ − Q₁

IQR = 36 − 20

IQR = 16

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 16

1.5 × IQR = 482

1.5 × IQR = 24

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 20 − 24

Lower fence = −4

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 36 + 24

Upper fence = 60

A value is an outlier when it is below −4 or above 60.

Answer: IQR 16. Outliers are below −4 or above 60.

3
Q₁ = 15 and Q₃ = 27. Find the interquartile range and the values that would be flagged as outliers.
Show Answer

IQR = Q₃ − Q₁

IQR = 27 − 15

IQR = 12

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 12

1.5 × IQR = 362

1.5 × IQR = 18

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 15 − 18

Lower fence = −3

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 27 + 18

Upper fence = 45

A value is an outlier when it is below −3 or above 45.

Answer: IQR 12. Outliers are below −3 or above 45.

4
Q₁ = 8 and Q₃ = 18. Find the interquartile range and the values that would be flagged as outliers.
Show Answer

IQR = Q₃ − Q₁

IQR = 18 − 8

IQR = 10

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 10

1.5 × IQR = 302

1.5 × IQR = 15

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 8 − 15

Lower fence = −7

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 18 + 15

Upper fence = 33

A value is an outlier when it is below −7 or above 33.

Answer: IQR 10. Outliers are below −7 or above 33.

5
Q₁ = 40 and Q₃ = 64. Find the interquartile range and the values that would be flagged as outliers.
Show Answer

IQR = Q₃ − Q₁

IQR = 64 − 40

IQR = 24

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 24

1.5 × IQR = 722

1.5 × IQR = 36

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 40 − 36

Lower fence = 4

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 64 + 36

Upper fence = 100

A value is an outlier when it is below 4 or above 100.

Answer: IQR 24. Outliers are below 4 or above 100.

Medium

Medium

Find the median, the quartiles, and the IQR from a list.

Example
Find the median, Q₁, Q₃, and the interquartile range of 2, 5, 7, 8, 10, 11, 12, 14, 19.

Order the values.

2, 5, 7, 8, 10, 11, 12, 14, 19

There are 9 values.

The median is the middle value. Leave it out of both halves.

Median = 10

Lower half: 2, 5, 7, 8

The median of that half is the mean of its two middle values.

Q₁ = sum of the two middle values2

Q₁ = 5 + 72

Q₁ = 122

Q₁ = 6

Upper half: 11, 12, 14, 19

The median of that half is the mean of its two middle values.

Q₃ = sum of the two middle values2

Q₃ = 12 + 142

Q₃ = 262

Q₃ = 13

IQR = Q₃ − Q₁

IQR = 13 − 6

IQR = 7

Answer: Median 10, Q₁ 6, Q₃ 13, IQR 7.

1
Find the median, Q₁, Q₃, and the interquartile range of 4, 6, 7, 9, 11, 13, 18.
Show Answer

Order the values.

4, 6, 7, 9, 11, 13, 18

There are 7 values.

The median is the middle value. Leave it out of both halves.

Median = 9

Lower half: 4, 6, 7

The median of that half is the middle value.

Q₁ = 6

Upper half: 11, 13, 18

The median of that half is the middle value.

Q₃ = 13

IQR = Q₃ − Q₁

IQR = 13 − 6

IQR = 7

Answer: Median 9, Q₁ 6, Q₃ 13, IQR 7.

2
Find the median, Q₁, Q₃, and the interquartile range of 3, 5, 8, 8, 10, 12, 15.
Show Answer

Order the values.

3, 5, 8, 8, 10, 12, 15

There are 7 values.

The median is the middle value. Leave it out of both halves.

Median = 8

Lower half: 3, 5, 8

The median of that half is the middle value.

Q₁ = 5

Upper half: 10, 12, 15

The median of that half is the middle value.

Q₃ = 12

IQR = Q₃ − Q₁

IQR = 12 − 5

IQR = 7

Answer: Median 8, Q₁ 5, Q₃ 12, IQR 7.

3
Find the median, Q₁, Q₃, and the interquartile range of 2, 6, 9, 11, 14, 14, 20.
Show Answer

Order the values.

2, 6, 9, 11, 14, 14, 20

There are 7 values.

The median is the middle value. Leave it out of both halves.

Median = 11

Lower half: 2, 6, 9

The median of that half is the middle value.

Q₁ = 6

Upper half: 14, 14, 20

The median of that half is the middle value.

Q₃ = 14

IQR = Q₃ − Q₁

IQR = 14 − 6

IQR = 8

Answer: Median 11, Q₁ 6, Q₃ 14, IQR 8.

4
Find the median, Q₁, Q₃, and the interquartile range of 5, 7, 8, 10, 13, 16, 19, 22.
Show Answer

Order the values.

5, 7, 8, 10, 13, 16, 19, 22

There are 8 values.

The median is the mean of the two middle values.

Median = sum of the two middle values2

Median = 10 + 132

Median = 232

Median = 11.5

The two halves have the same length.

Lower half: 5, 7, 8, 10

The median of that half is the mean of its two middle values.

Q₁ = sum of the two middle values2

Q₁ = 7 + 82

Q₁ = 152

Q₁ = 7.5

Upper half: 13, 16, 19, 22

The median of that half is the mean of its two middle values.

Q₃ = sum of the two middle values2

Q₃ = 16 + 192

Q₃ = 352

Q₃ = 17.5

IQR = Q₃ − Q₁

IQR = 17.5 − 7.5

IQR = 10

Answer: Median 11.5, Q₁ 7.5, Q₃ 17.5, IQR 10.

5
Find the median, Q₁, Q₃, and the interquartile range of 1, 4, 6, 9, 9, 12, 15, 18.
Show Answer

Order the values.

1, 4, 6, 9, 9, 12, 15, 18

There are 8 values.

The median is the mean of the two middle values.

Median = sum of the two middle values2

Median = 9 + 92

Median = 182

Median = 9

The two halves have the same length.

Lower half: 1, 4, 6, 9

The median of that half is the mean of its two middle values.

Q₁ = sum of the two middle values2

Q₁ = 4 + 62

Q₁ = 102

Q₁ = 5

Upper half: 9, 12, 15, 18

The median of that half is the mean of its two middle values.

Q₃ = sum of the two middle values2

Q₃ = 12 + 152

Q₃ = 272

Q₃ = 13.5

IQR = Q₃ − Q₁

IQR = 13.5 − 5

IQR = 8.5

Answer: Median 9, Q₁ 5, Q₃ 13.5, IQR 8.5.

Hard

Hard

Decide which values are outliers, or find the smallest outlier.

Example
Find the interquartile range. Are any values outliers? 6, 7, 8, 9, 10, 11, 12, 26

Order the values.

6, 7, 8, 9, 10, 11, 12, 26

There are 8 values.

The median is the mean of the two middle values.

Median = sum of the two middle values2

Median = 9 + 102

Median = 192

Median = 9.5

The two halves have the same length.

Lower half: 6, 7, 8, 9

The median of that half is the mean of its two middle values.

Q₁ = sum of the two middle values2

Q₁ = 7 + 82

Q₁ = 152

Q₁ = 7.5

Upper half: 10, 11, 12, 26

The median of that half is the mean of its two middle values.

Q₃ = sum of the two middle values2

Q₃ = 11 + 122

Q₃ = 232

Q₃ = 11.5

IQR = Q₃ − Q₁

IQR = 11.5 − 7.5

IQR = 4

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 4

1.5 × IQR = 122

1.5 × IQR = 6

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 7.5 − 6

Lower fence = 1.5

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 11.5 + 6

Upper fence = 17.5

A value is an outlier when it is below 1.5 or above 17.5.

Flagged: 26.

Answer: Outlier: 26. IQR 4.

1
Find the interquartile range. Are any values outliers? 4, 5, 6, 7, 8, 9, 10, 28
Show Answer

Order the values.

4, 5, 6, 7, 8, 9, 10, 28

There are 8 values.

The median is the mean of the two middle values.

Median = sum of the two middle values2

Median = 7 + 82

Median = 152

Median = 7.5

The two halves have the same length.

Lower half: 4, 5, 6, 7

The median of that half is the mean of its two middle values.

Q₁ = sum of the two middle values2

Q₁ = 5 + 62

Q₁ = 112

Q₁ = 5.5

Upper half: 8, 9, 10, 28

The median of that half is the mean of its two middle values.

Q₃ = sum of the two middle values2

Q₃ = 9 + 102

Q₃ = 192

Q₃ = 9.5

IQR = Q₃ − Q₁

IQR = 9.5 − 5.5

IQR = 4

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 4

1.5 × IQR = 122

1.5 × IQR = 6

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 5.5 − 6

Lower fence = −0.5

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 9.5 + 6

Upper fence = 15.5

A value is an outlier when it is below −0.5 or above 15.5.

Flagged: 28.

Answer: Outlier: 28. IQR 4.

2
Find the interquartile range. Are any values outliers? 2, 8, 9, 10, 11, 12, 13, 14
Show Answer

Order the values.

2, 8, 9, 10, 11, 12, 13, 14

There are 8 values.

The median is the mean of the two middle values.

Median = sum of the two middle values2

Median = 10 + 112

Median = 212

Median = 10.5

The two halves have the same length.

Lower half: 2, 8, 9, 10

The median of that half is the mean of its two middle values.

Q₁ = sum of the two middle values2

Q₁ = 8 + 92

Q₁ = 172

Q₁ = 8.5

Upper half: 11, 12, 13, 14

The median of that half is the mean of its two middle values.

Q₃ = sum of the two middle values2

Q₃ = 12 + 132

Q₃ = 252

Q₃ = 12.5

IQR = Q₃ − Q₁

IQR = 12.5 − 8.5

IQR = 4

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 4

1.5 × IQR = 122

1.5 × IQR = 6

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 8.5 − 6

Lower fence = 2.5

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 12.5 + 6

Upper fence = 18.5

A value is an outlier when it is below 2.5 or above 18.5.

Flagged: 2.

Answer: Outlier: 2. IQR 4.

3
Find the interquartile range. Are any values outliers? 3, 6, 7, 8, 9, 10, 11, 30
Show Answer

Order the values.

3, 6, 7, 8, 9, 10, 11, 30

There are 8 values.

The median is the mean of the two middle values.

Median = sum of the two middle values2

Median = 8 + 92

Median = 172

Median = 8.5

The two halves have the same length.

Lower half: 3, 6, 7, 8

The median of that half is the mean of its two middle values.

Q₁ = sum of the two middle values2

Q₁ = 6 + 72

Q₁ = 132

Q₁ = 6.5

Upper half: 9, 10, 11, 30

The median of that half is the mean of its two middle values.

Q₃ = sum of the two middle values2

Q₃ = 10 + 112

Q₃ = 212

Q₃ = 10.5

IQR = Q₃ − Q₁

IQR = 10.5 − 6.5

IQR = 4

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 4

1.5 × IQR = 122

1.5 × IQR = 6

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 6.5 − 6

Lower fence = 0.5

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 10.5 + 6

Upper fence = 16.5

A value is an outlier when it is below 0.5 or above 16.5.

Flagged: 30.

Answer: Outlier: 30. IQR 4.

4
The values are 4, 6, 7, 8, 9, 10, 12, 13, 15, 16 and m. m is an integer greater than 16. Find the median and the interquartile range, then find the smallest such m that is an outlier.
Show Answer

m is the largest value, so the ordered list ends in m.

There are 11 values.

The median is the middle value. It does not use m.

Median = 10

Leave the median out of both halves.

Lower half: 4, 6, 7, 8, 9

The median of that half is the middle value.

Q₁ = 7

Upper half: 12, 13, 15, 16, m

The middle of that half is 15, so Q₃ does not use m.

Q₃ = 15

IQR = Q₃ − Q₁

IQR = 15 − 7

IQR = 8

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 8

1.5 × IQR = 242

1.5 × IQR = 12

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 7 − 12

Lower fence = −5

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 15 + 12

Upper fence = 27

A value is an outlier when it is below −5 or above 27.

m is greater than 16, and an outlier only when m is above 27.

The smallest such integer is 28.

Answer: Median 10, IQR 8, smallest m = 28.

5
The values are 8, 9, 11, 12, 14, 15, 16, 18, 19, 21 and m. m is an integer greater than 21. Find the median and the interquartile range, then find the smallest such m that is an outlier.
Show Answer

m is the largest value, so the ordered list ends in m.

There are 11 values.

The median is the middle value. It does not use m.

Median = 15

Leave the median out of both halves.

Lower half: 8, 9, 11, 12, 14

The median of that half is the middle value.

Q₁ = 11

Upper half: 16, 18, 19, 21, m

The middle of that half is 19, so Q₃ does not use m.

Q₃ = 19

IQR = Q₃ − Q₁

IQR = 19 − 11

IQR = 8

1.5 × IQR = 32 × IQR

1.5 × IQR = 32 × 8

1.5 × IQR = 242

1.5 × IQR = 12

Lower fence = Q₁ − 1.5 × IQR

Lower fence = 11 − 12

Lower fence = −1

Upper fence = Q₃ + 1.5 × IQR

Upper fence = 19 + 12

Upper fence = 31

A value is an outlier when it is below −1 or above 31.

m is greater than 21, and an outlier only when m is above 31.

The smallest such integer is 32.

Answer: Median 15, IQR 8, smallest m = 32.

Want to go over a data set together?

Book a Session with Amy