Data Dispersion

Intermediate

Range, quartiles, standard deviation, see data spread.

For:S6 Mathematics · Unit:Data handling · Lesson 5 of 5 in the learning path

After this lesson, you can:
  • Range = max - min
  • IQR = Q3 - Q1
  • Standard deviation measure data spread
數學Mathematics

1Summary 重點摘要

Range, quartiles, standard deviation, see data spread.

2Vocabulary cards Vocabulary

R
Range域

Max minus min.

Q
Quartile四分位數

After sorted, split data into four parts.

I
Inter-quartile range四分位距

Q3 - Q1, middle half data range.

S
Standard deviation標準差

Measure data spread, bigger more spread out.

S
Spread分散

How even data is.

M
Max最大值

Largest number in data.

M
Min最小值

Smallest number in data.

C
Consistency穩定性

Data more concentrated more stable.

3Step by step Steps

  1. Step 1: Range — the simplest measureThe range is the simplest measure of dispersion, given by range = maximum − minimum; find the two extreme values and subtract. For example, if the heights of a class run from 150 cm to 180 cm, the range is 180 - 150 = 30 cm. Its advantage is speed, but its weakness is that it is decided by only the largest and smallest values and says nothing about how the middle values are distributed; a single outlier stretches it badly.
  2. Step 2: Sort first — must do before quartilesWhether you are finding Q1 or Q3, the data must first be arranged from smallest to largest, and this is the step most often forgotten. For example, the test scores 52, 63, 68, 70, 72, 75, 78, 81, 85, 90 are already in order, so we can move on directly. If you look for quartiles before sorting, the result is bound to be wrong, so always check the order first.
  3. Step 3: Median — find the middle firstAfter sorting, find the median, which splits the data into a lower half and an upper half. With an odd number of values the median is the single middle value; with an even number it is the average of the two middle values. For the 10 scores above, the median = (72 + 75) ÷ 2 = 73.5. The lower 5 values are used to find Q1 and the upper 5 to find Q3.
  4. Step 4: Q1 and Q3 — quartilesQ1 is the median of the lower half of the data and Q3 is the median of the upper half. In the example: the lower half is 52, 63, 68, 70, 72, whose middle value is 68, so Q1 = 68; the upper half is 75, 78, 81, 85, 90, whose middle value is 81, so Q3 = 81. Once Q1 and Q3 are found, they describe the span of the middle half of the data.
  5. Step 5: IQR — spread of the middle halfIQR = Q3 − Q1, the span of the middle half of the data; in the example IQR = 81 − 68 = 13. The great advantage of the IQR is that it depends only on the middle 50% of the data and is completely unaffected by extreme values at either end, which makes it far more robust than the range. If one student scored 0, the range would suddenly become huge, but Q1 and Q3 would hardly move, so the IQR stays stable.
  6. Step 6: Standard deviation — most commonThe standard deviation measures how far, on average, each value lies from the mean; the larger it is, the more spread out the data. The steps are: find the mean; subtract the mean from each value and square; add the squared values and divide by the count; finally take the square root. A calculator does the arithmetic in exams, so the key skill is reading it: a standard deviation of 5 marks means values typically lie about 5 marks from the mean.

4Diagrams Diagrams

箱形圖:五數概括 Box and whisker plotMin 最小3Q15中位數7Q39Max10箱=中間 50%箱形圖一眼睇到:分佈範圍·中位數位置·數據集中程度四分位數間距 IQR = Q3 − Q1(例:9−5=4)——量度中間一半嘅散開程度比較兩組數據:箱越闊=越參差;中位數高低=整體高下
Fig. 1: Box and whisker plot

5Worked example Example

Example: the data are 2, 4, 6, 8, 10. Find the range.

  1. Inspect the data: 2, 4, 6, 8, 10; the values are already in ascending order, so no sorting is needed.
  2. Find the maximum: the last of the five values is 10, so the maximum = 10.
  3. Find the minimum: the first of the five values is 2, so the minimum = 2.
  4. Apply the formula: range = maximum − minimum = 10 − 2 = 8.
  5. Check: every value lies between 2 and 10, a span of exactly 8 units, so the result is reasonable.
  6. Answer: The range is 8. The rule is 'range = maximum − minimum': confirm the data are sorted, identify the maximum 10 and the minimum 2, and subtract to get 8. The range shows how spread out the whole data set is; a larger range means greater spread. Because it depends only on the two extremes, more robust measures such as the interquartile range or the standard deviation are worth computing as well.

6Common mistakes Mistakes

✗ ✗ Range = max + min
✓ ✓ Range = max - min!
✗ ✗ IQR = Q3 + Q1
✓ ✓ IQR = Q3 - Q1!
✗ ✗ Standard deviation bigger more stable
✓ ✓ Standard deviation bigger more spread, less stable!

7Quick check Quick check

Q1Range = ?

Q2IQR = ?

Q3Standard deviation bigger means?

Q4Data more concentrated means?

Q5Simplest measure dispersion?

8Recap Recap

  • Range = max - min
  • IQR = Q3 - Q1
  • Standard deviation measure data spread
  • Bigger standard deviation more spread less stable
  • Compare two data stability see range and IQR

Other subjects in this grade

Same subject, other grades