Representation of data
| English | Chinese | Pinyin |
|---|---|---|
| stem-and-leaf | 茎叶图 | jīng yè tú |
| box-and-whisker | 箱线图 | xiāng xiàn tú |
| quartile | 四分位数 | sì fēn wèi shù |
| histogram | 直方图 | zhí fāng tú |
| cumulative frequency | 累积频数 | lěi jī pín shuò |
| median | 中位数 | zhōng wèi shù |
| interquartile range | 四分位距 | sì fēn wèi jù |
| frequency density | 频率密度 | pín lǜ mì dù |
| mean | 平均数 | píng jūn shù |
| mode | 众数 | zhòng shù |
| standard deviation | 标准差 | biāo zhǔn chà |
| variance | 方差 | fāng chà |
| outlier | 离群值 | lí qún zhí |
The diagram that changed history
- In 1854, John Snow mapped cholera deaths in London and spotted a cluster around one water pump. That diagram saved lives.
- Choosing the right statistical diagram is a skill — it reveals patterns that raw numbers hide.
Statistical diagrams
- Choose a diagram to suit the data:
- Stem-and-leaf 茎叶图 (keeps the values, shows shape),
- Box-and-whisker 箱线图 (lowest, three quartiles 四分位数, highest),
- Histogram 直方图 (grouped data — bar area = frequency),
- Cumulative frequency 累积频数 (running totals → median 中位数 and quartiles).

A cumulative frequency curve: read the median across from half the total, and the quartiles from a quarter and three-quarters

A box plot shows the five-number summary; the box spans the interquartile range 四分位距, IQR = Q₃ − Q₁.
Histogram vs bar chart. In a histogram, bars can have different widths and the area (not height) represents frequency. Frequency density 频率密度 $= \dfrac{\text{frequency}}{\text{class width}}$.
Histogram area = frequency, not height. When class widths are unequal, the vertical axis shows frequency density, not frequency. A tall narrow bar may represent fewer data points than a short wide one.
Spread and the bell
P(−k < Z < k)
Spread is measured in standard deviations — about 68% of data lies within 1 sd, 95% within 2.
In a histogram of grouped data, the frequency is shown by each bar's:
In a histogram, the area of each bar represents the frequency.
In a histogram with unequal class widths, the height of each bar equals the frequency.
With unequal widths, the height shows frequency density (frequency/width), not frequency. The area represents frequency.
Match each statistical diagram to what it best shows.
A box plot shows quartiles and spread; a histogram uses bar area for frequency; cumulative frequency gives the median/quartiles; stem-and-leaf keeps the data values.
Averages and spread
- Central tendency: mean 平均数 $\bar{x} = \dfrac{\sum x}{n}$, median (middle), mode 众数 (most common).
- Spread: range, interquartile range, and standard deviation 标准差 $\sigma = \sqrt{\dfrac{\sum x^2}{n} - \bar{x}^2}$.
- Variance 方差 = $\sigma^2$.

A Venn diagram: the overlap is the intersection of two events
For 10 values with Σx = 50, what is the mean?
Mean = Σx / n = 50 / 10 = 5.
For 10 values, Σx = 50 and Σx² = 300. What is the standard deviation? (√(Σx²/n − x̄²))
σ = √(300/10 − 5²) = √(30 − 25) = √5 ≈ 2.24.
For the data 2, 4, 4, 4, 5, 5, 7, 9, what is the median?
With 8 values, the median is the average of the 4th and 5th: (4 + 5)/2 = 4.5.
If the standard deviation is 3, what is the variance?
Variance = σ² = 3² = 9.
Worked example — standard deviation
- Data: 2, 4, 4, 4, 5, 5, 7, 9. $n = 8$, $\sum x = 40$, $\sum x^2 = 232$.
- Mean $\bar{x} = \dfrac{40}{8} = 5$.
- Variance $= \dfrac{232}{8} - 5^2 = 29 - 25 = 4$.
- Standard deviation $\sigma = \sqrt{4} = 2$.
Choosing the right average
- Mean: uses all data, but affected by outliers 离群值.
- Median: not affected by outliers — good for skewed data (like salaries).
- Mode: useful for categorical data (most popular colour, most common shoe size).
- Display data with stem-and-leaf diagrams, box-and-whisker plots and cumulative frequency graphs, and measure its variation (spread).
You've got it
- diagrams: stem-and-leaf, box plot, histogram (area = frequency), cumulative frequency
- averages: mean, median, mode; spread: range, IQR, standard deviation
- $\sigma = \sqrt{\dfrac{\sum x^2}{n} - \bar{x}^2}$, and variance $= \sigma^2$