Data summaries, histograms and interpretation
Introduced
22:05
Mechanics 2
Why it matters. In the Principia (London, 1687), Isaac Newton described an experiment to test his laws of motion. He hung two balls as pendulums, pulled them…
English narration · English and 中文 subtitles you can switch
In this lesson
| English | Meaning |
|---|---|
| standard deviation/ˈstændəd ˌdiːvɪˈeɪʃn/ | A measure of spread equal to the square root of the variance. |
| box plot/bɒks plɒt/ | A display of a distribution using its median and quartiles, with whiskers drawn according to a stated rule. |
| median/ˈmiːdiːən/ | For ordered data, the middle value or mean of the middle pair; for a continuous distribution, a value with half the probability on each side. |
| interquartile range/ˌɪntəˈkwɔːtaɪl reɪndʒ/ | The upper quartile minus the lower quartile, measuring the spread of the middle half of ordered data. |
| frequency density/ˈfriːkwənsi ˈdensɪti/ | The frequency of a class divided by its class width, used as histogram height. |
A chart that changed hospitals, 1858
- In 1858, Florence Nightingale sent the British government a "rose diagram" of soldiers' deaths in the Crimean War. It showed that far more soldiers died of preventable disease in field hospitals than of wounds. Her charts helped bring in army sanitary reform. A good diagram can make a summary of data impossible to ignore.
- This lesson covers the summaries and diagrams S1 expects: means, standard deviation 标准差, quartiles, box plots and histograms.
Centre
- Mean $\boxed{\bar{x} = \dfrac{\sum x}{n}}$; for grouped data, $\dfrac{\sum fx}{\sum f}$ using midpoints.
- The median 中位数 is the middle value; it is not pulled by extreme values.
Find the mean of 3, 7, 8, 10, 12.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$40 \div 5$.
Classes 0–10 (frequency 4), 10–20 (6). Estimate the mean.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$\tfrac{5 \times 4 + 15 \times 6}{10}$.
Spread
- Standard deviation $\sigma = \sqrt{\dfrac{\sum x^2}{n} - \bar{x}^2}$; the interquartile range 四分位距 is $Q_3 - Q_1$.
- An outlier is often defined as more than $1.5 \times \text{IQR}$ beyond a quartile, or more than 2 standard deviations from the mean.
Data summaries, histograms and interpretation
Compare an appropriate average and spread in context
Choose a centre and a spread measure for the worked observations.
Worked example: mean and standard deviation
For 10 days, rainfall (mm) has $\sum x = 52$ and $\sum x^2 = 410$. Find the mean and standard deviation 标准差, and decide whether a day with 14 mm is an outlier (2 s.d. rule).
- Mean: $\bar{x} = 5.2$ mm.
- Standard deviation: $\sqrt{41 - 5.2^2} = \sqrt{13.96} = 3.74$ mm.
- Outlier: $5.2 + 2(3.74) = 12.7 < 14$, so yes, 14 mm is an outlier.
For 8 values, $\sum x = 40$ and $\sum x^2 = 232$. Find the standard deviation.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$\bar{x} = 5$; $\sqrt{\tfrac{232}{8} - 5^2} = \sqrt{4}$.
Histograms
- With unequal class widths, the bar height is the frequency density 频率密度 $= \dfrac{\text{frequency}}{\text{class width}}$; the area shows frequency.
- A class 20–30 with frequency 15 has density 1.5.
A class 40–60 has frequency 30. Find its frequency density.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$30 \div 20$.
Box plots and comparison
- A box plot 箱线图 shows $Q_1$, the median and $Q_3$, with whiskers extending to the smallest and largest non-outlying values and outliers marked as crosses.
- Compare two data sets with one measure of centre and one of spread, in context.
$Q_1 = 12$ and $Q_3 = 20$. Above which value is a data point an outlier ($1.5 \times$ IQR rule)?
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$20 + 1.5 \times 8$.
The height of a histogram bar is not the frequency. With unequal widths, a tall narrow bar can hold fewer values than a short wide one: area, not height, gives the count.
In a histogram with unequal classes, the tallest bar always holds the most values.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Area gives frequency.
Summarise centre with the mean or median and spread with the standard deviation or IQR, using $\boxed{\sigma^2 = \tfrac{\sum x^2}{n} - \bar{x}^2}$. Histograms plot frequency density 频率密度 so area is frequency. Identify outliers by a stated rule, and compare data sets in context.
Daily maximum temperatures in two towns in July: Town A median 24 °C, IQR 3 °C; Town B median 21 °C, IQR 7 °C. Compare the two towns.
One centre, one spread.
What went wrong? Only the site team sees this.