☰ Year plan · Statistics

Quartiles of lists and stem-and-leaf plots

Week 7 · Quartiles of single data and of stem-and-leaf plots: Q1, Q2 and Q3 by their order, with the rule for going between two values · 3 lessons
2

Quartiles when n + 1 is not divisible by 4: the order is a fraction, so go part of the way between two values

Statistics Sec 3 Term 1, Unit 2, Lesson 2
GoalFind the quartiles when the place is a fraction, by going part of the way between two values.
New words
place (order) · the position of a value in the ordered data, for example (n + 1) ÷ 4between two values · the quartile is the earlier value plus a fraction of the gap to the next value
Explanation

When n + 1 is not a multiple of 4 the place (n + 1) ÷ 4 is a fraction, such as 3.25. There is no 3.25th value, so we go part of the way from the 3rd value to the 4th: a quarter of the gap, because 0.25 = one quarter. The rule: quartile = previous value + (next value − previous value) × (place − previous place). For place 3.25 the previous place is 3 and the next is 4, so we add 0.25 of the gap. The median is the same rule with Q₂ in place (n + 1) ÷ 2: for an even n it is half way between the two middle values. The answer always lies between the previous and the next value, which is a good check. Always order the data first and write the three places before you start.

PlacePrevious valueNext valuePart of the gapQuartile
3.25340.253 + 0.25 × 1 = 3.25
6.5670.56 + 0.5 × 1 = 6.5
9.759100.759 + 0.75 × 1 = 9.75
Worked examples
Twelve buses’ delays in minutes: 3, 7, 0, 12, 5, 9, 2, 15, 6, 4, 10, 8. Ordered: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15. n + 1 = 13, so the places are 13 ÷ 4 = 3.25, 13 ÷ 2 = 6.5 and 39 ÷ 4 = 9.75. Q₁ = 3 + 0.25 × (4 − 3) = 3.25, Q₂ = 6 + 0.5 × (7 − 6) = 6.5, Q₃ = 9 + 0.75 × (10 − 9) = 9.75 minutes.
Order123456789
Value384143454750525560
Nine values: 38, 45, 52, 41, 60, 47, 55, 43, 50. Ordered: 38, 41, 43, 45, 47, 50, 52, 55, 60. n + 1 = 10, places 2.5, 5 and 7.5. Q₁ = 41 + 0.5 × (43 − 41) = 42; Q₂ is the 5th value, 47 (a whole place needs no rule); Q₃ = 52 + 0.5 × (55 − 52) = 53.5.
Fourteen prices in LE: 24, 18, 30, 22, 45, 27, 19, 35, 25, 21, 40, 28, 32, 23. Ordered: 18, 19, 21, 22, 23, 24, 25, 27, 28, 30, 32, 35, 40, 45. n + 1 = 15: places 3.75, 7.5 and 11.25. Q₁ = 21 + 0.75 × (22 − 21) = 21.75. Q₂ = 25 + 0.5 × (27 − 25) = 26. Q₃ = 32 + 0.25 × (35 − 32) = 32.75 LE.
Class activity

Use the 12 delays of the first example. Take away the largest delay (15) and find the three quartiles of the 11 values left. Which quartile changed most, and why?

Practice
1
Data (n = 10): 12, 15, 11, 20, 18, 14, 16, 13, 19, 17. Write the three places.
2
Find the three quartiles of the data in the first practice item.
3
The 4th value is 18 and the 5th is 26. A quartile is in place 4.5. What is its value?
4
Data (n = 6): 4, 9, 7, 12, 10, 6. Find Q₁, Q₂ and Q₃.
5
For five ordered values with the 4th equal to 19 and the 5th equal to 24, a pupil writes Q₃ = 19 + 0.5 × 24 = 31 (the place is 4.5). What is the mistake, and what is Q₃?