IB AA · 6C Presenting Data
Draw a box plot from a five-number summary, test the ends for outliers, and compare two groups.
Five values
A box plot uses the lowest value, Q₁, the median, Q₃, and the highest value.
The drawing
The box runs from Q₁ to Q₃. A line marks the median. Whiskers run out to the lowest and highest values that are not outliers.
Outliers
A value is an outlier when it is below Q₁ − 1.5 × IQR or above Q₃ + 1.5 × IQR. The whisker then stops at the next value, and the outlier is a separate point.
Two groups
Compare the medians for a typical value. Compare the interquartile ranges for the spread of the middle half.
The five numbers are given. No value is an outlier.
IQR = Q₃ − Q₁
IQR = 16 − 8
IQR = 8
The box runs from Q₁ to Q₃. A line marks the median. The whiskers run to the lowest and highest values that are not outliers.
Answer: IQR 8.
IQR = Q₃ − Q₁
IQR = 24 − 14
IQR = 10
The box runs from Q₁ to Q₃. A line marks the median. The whiskers run to the lowest and highest values that are not outliers.
Answer: IQR 10.
IQR = Q₃ − Q₁
IQR = 14 − 6
IQR = 8
The box runs from Q₁ to Q₃. A line marks the median. The whiskers run to the lowest and highest values that are not outliers.
Answer: IQR 8.
IQR = Q₃ − Q₁
IQR = 32 − 20
IQR = 12
The box runs from Q₁ to Q₃. A line marks the median. The whiskers run to the lowest and highest values that are not outliers.
Answer: IQR 12.
IQR = Q₃ − Q₁
IQR = 11 − 5
IQR = 6
The box runs from Q₁ to Q₃. A line marks the median. The whiskers run to the lowest and highest values that are not outliers.
Answer: IQR 6.
IQR = Q₃ − Q₁
IQR = 48 − 36
IQR = 12
The box runs from Q₁ to Q₃. A line marks the median. The whiskers run to the lowest and highest values that are not outliers.
Answer: IQR 12.
Test the lowest value and the highest value, then draw.
IQR = Q₃ − Q₁
IQR = 22 − 14
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 = 14 − 12
Lower fence = 2
Upper fence = Q₃ + 1.5 × IQR
Upper fence = 22 + 12
Upper fence = 34
A value is an outlier when it is below 2 or above 34.
1 is below 2, so 1 is an outlier.
The lower whisker stops at the next value, 10.
30 is not above 34, so the highest value is not an outlier.
The upper whisker stops at 30.
Answer: 1 is an outlier. IQR 8.
IQR = Q₃ − Q₁
IQR = 18 − 10
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 = 10 − 12
Lower fence = −2
Upper fence = Q₃ + 1.5 × IQR
Upper fence = 18 + 12
Upper fence = 30
A value is an outlier when it is below −2 or above 30.
6 is not below −2, so the lowest value is not an outlier.
The lower whisker stops at 6.
40 is above 30, so 40 is an outlier.
The upper whisker stops at the next value, 22.
Answer: 40 is an outlier. IQR 8.
IQR = Q₃ − Q₁
IQR = 18 − 12
IQR = 6
1.5 × IQR = 32 × IQR
1.5 × IQR = 32 × 6
1.5 × IQR = 182
1.5 × IQR = 9
Lower fence = Q₁ − 1.5 × IQR
Lower fence = 12 − 9
Lower fence = 3
Upper fence = Q₃ + 1.5 × IQR
Upper fence = 18 + 9
Upper fence = 27
A value is an outlier when it is below 3 or above 27.
0 is below 3, so 0 is an outlier.
The lower whisker stops at the next value, 9.
32 is above 27, so 32 is an outlier.
The upper whisker stops at the next value, 21.
Answer: 0 is an outlier. 32 is an outlier. IQR 6.
IQR = Q₃ − Q₁
IQR = 16 − 10
IQR = 6
1.5 × IQR = 32 × IQR
1.5 × IQR = 32 × 6
1.5 × IQR = 182
1.5 × IQR = 9
Lower fence = Q₁ − 1.5 × IQR
Lower fence = 10 − 9
Lower fence = 1
Upper fence = Q₃ + 1.5 × IQR
Upper fence = 16 + 9
Upper fence = 25
A value is an outlier when it is below 1 or above 25.
5 is not below 1, so the lowest value is not an outlier.
The lower whisker stops at 5.
22 is not above 25, so the highest value is not an outlier.
The upper whisker stops at 22.
Answer: no outliers. IQR 6.
IQR = Q₃ − Q₁
IQR = 24 − 16
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 = 16 − 12
Lower fence = 4
Upper fence = Q₃ + 1.5 × IQR
Upper fence = 24 + 12
Upper fence = 36
A value is an outlier when it is below 4 or above 36.
12 is not below 4, so the lowest value is not an outlier.
The lower whisker stops at 12.
50 is above 36, so 50 is an outlier.
The upper whisker stops at the next value, 28.
Answer: 50 is an outlier. IQR 8.
IQR = Q₃ − Q₁
IQR = 30 − 22
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 = 22 − 12
Lower fence = 10
Upper fence = Q₃ + 1.5 × IQR
Upper fence = 30 + 12
Upper fence = 42
A value is an outlier when it is below 10 or above 42.
2 is below 10, so 2 is an outlier.
The lower whisker stops at the next value, 18.
36 is not above 42, so the highest value is not an outlier.
The upper whisker stops at 36.
Answer: 2 is an outlier. IQR 8.
Compare the medians and the interquartile ranges of two groups.
| Lowest | Q₁ | Median | Q₃ | Highest | |
|---|---|---|---|---|---|
| Café A | 10 | 18 | 24 | 30 | 42 |
| Café B | 14 | 20 | 26 | 32 | 36 |
Café A
Café B
Café A:
IQR = Q₃ − Q₁
IQR = 30 − 18
IQR = 12
Café B:
IQR = Q₃ − Q₁
IQR = 32 − 20
IQR = 12
The median for Café B is 26 minutes, which is higher than the median for Café A, 24 minutes.
The interquartile ranges are equal. Both are 12 minutes, so the middle halves are equally spread.
Answer: The median for Café B is 26 minutes, which is higher than the median for Café A, 24 minutes. The interquartile ranges are equal. Both are 12 minutes, so the middle halves are equally spread.
| Lowest | Q₁ | Median | Q₃ | Highest | |
|---|---|---|---|---|---|
| Route A | 5 | 12 | 20 | 32 | 45 |
| Route B | 8 | 15 | 18 | 25 | 40 |
Route A
Route B
Route A:
IQR = Q₃ − Q₁
IQR = 32 − 12
IQR = 20
Route B:
IQR = Q₃ − Q₁
IQR = 25 − 15
IQR = 10
The median for Route A is 20 minutes, which is higher than the median for Route B, 18 minutes.
The interquartile range for Route A is 20 minutes, and for Route B it is 10 minutes. The middle half of Route A is more spread out.
Answer: The median for Route A is 20 minutes, which is higher than the median for Route B, 18 minutes. The interquartile range for Route A is 20 minutes, and for Route B it is 10 minutes. The middle half of Route A is more spread out.
| Lowest | Q₁ | Median | Q₃ | Highest | |
|---|---|---|---|---|---|
| Class A | 20 | 28 | 35 | 40 | 55 |
| Class B | 15 | 30 | 42 | 48 | 60 |
Class A
Class B
Class A:
IQR = Q₃ − Q₁
IQR = 40 − 28
IQR = 12
Class B:
IQR = Q₃ − Q₁
IQR = 48 − 30
IQR = 18
The median for Class B is 42 points, which is higher than the median for Class A, 35 points.
The interquartile range for Class B is 18 points, and for Class A it is 12 points. The middle half of Class B is more spread out.
Answer: The median for Class B is 42 points, which is higher than the median for Class A, 35 points. The interquartile range for Class B is 18 points, and for Class A it is 12 points. The middle half of Class B is more spread out.
| Lowest | Q₁ | Median | Q₃ | Highest | |
|---|---|---|---|---|---|
| Choir A | 2 | 6 | 9 | 14 | 20 |
| Choir B | 4 | 10 | 16 | 18 | 22 |
Choir A
Choir B
Choir A:
IQR = Q₃ − Q₁
IQR = 14 − 6
IQR = 8
Choir B:
IQR = Q₃ − Q₁
IQR = 18 − 10
IQR = 8
The median for Choir B is 16 years, which is higher than the median for Choir A, 9 years.
The interquartile ranges are equal. Both are 8 years, so the middle halves are equally spread.
Answer: The median for Choir B is 16 years, which is higher than the median for Choir A, 9 years. The interquartile ranges are equal. Both are 8 years, so the middle halves are equally spread.
| Lowest | Q₁ | Median | Q₃ | Highest | |
|---|---|---|---|---|---|
| Tray A | 30 | 40 | 50 | 60 | 80 |
| Tray B | 20 | 36 | 44 | 52 | 70 |
Tray A
Tray B
Tray A:
IQR = Q₃ − Q₁
IQR = 60 − 40
IQR = 20
Tray B:
IQR = Q₃ − Q₁
IQR = 52 − 36
IQR = 16
The median for Tray A is 50 cm, which is higher than the median for Tray B, 44 cm.
The interquartile range for Tray A is 20 cm, and for Tray B it is 16 cm. The middle half of Tray A is more spread out.
Answer: The median for Tray A is 50 cm, which is higher than the median for Tray B, 44 cm. The interquartile range for Tray A is 20 cm, and for Tray B it is 16 cm. The middle half of Tray A is more spread out.
| Lowest | Q₁ | Median | Q₃ | Highest | |
|---|---|---|---|---|---|
| Grade 7 | 15 | 25 | 40 | 45 | 70 |
| Grade 8 | 10 | 30 | 35 | 55 | 60 |
Grade 7
Grade 8
Grade 7:
IQR = Q₃ − Q₁
IQR = 45 − 25
IQR = 20
Grade 8:
IQR = Q₃ − Q₁
IQR = 55 − 30
IQR = 25
The median for Grade 7 is 40 minutes, which is higher than the median for Grade 8, 35 minutes.
The interquartile range for Grade 8 is 25 minutes, and for Grade 7 it is 20 minutes. The middle half of Grade 8 is more spread out.
Answer: The median for Grade 7 is 40 minutes, which is higher than the median for Grade 8, 35 minutes. The interquartile range for Grade 8 is 25 minutes, and for Grade 7 it is 20 minutes. The middle half of Grade 8 is more spread out.
Want to go over a graph of the data together?
Book a Session with Amy