What is it about?
A maths test, pocket money or the long jump produce many single values – the raw data. To describe them, we sum them up in a few statistics.
Mean (arithmetic mean): add all values and divide by their number .
For the points of class 7a this gives points. You can picture the mean as the balance point: put the points on the number line as equally heavy balls, and the line balances exactly at the mean (red triangle).
Median (middle value): put the values in order of size (ordered list). The median is exactly in the middle. With values it is the th value. With an even number there are two middle values; the median is their mean, so for it is . At least half of the values are less than or equal to the median, at least half are greater than or equal to it.
Quartiles: The median splits the ordered list into a lower and an upper half (with an odd count the median itself belongs to neither half). The lower quartile is the median of the lower half, the upper quartile the median of the upper half. Example: for the median is and the lower half is . So and . Some textbooks and programs define the quartiles slightly differently – for small data sets the values may then differ a little.
Spread: The range is , the interquartile range is .
The box plot shows the five values minimum, , median, and maximum at a glance: the box goes from to , the line inside the box is the median, and the whiskers reach to the minimum and maximum. Box and whiskers split the data roughly into four quarters – the box holds about the middle half of the values.
Outliers: Values that lie more than times the interquartile range outside the box are often marked as outliers. The whiskers then stop at the last value inside. A single outlier can shift the mean a lot – but hardly the median: for the mean is , but the median is .
Try it
- Drag the point with the largest value far to the right. What happens to the mean, what to the median? Load example
- Press Step by step and watch the box plot grow out of the ordered list.
- One child gets €90 of pocket money. Why is the mean above almost all other values? Turn outlier marking on and off. Pocket money
- There are long-jump values. Where is the median in the ordered list? Tap the number line to add a 13th value – what changes? Long jump
- Compare classes 7a and 7b: median and mean are the same. How can you still see a big difference? Comparison
- For the way to school, the right whisker is much longer than the left one. What does that tell you about the data? Way to school
- Can you make median and mean exactly equal? And can you make the mean larger than ? Own data
Tasks
Task 1: Statistics of the test
Order the points of class 7a and find minimum, , median, , maximum and mean. Load task
Show solution
Ordered: . Median: th value . Lower half (7 values), ; upper half , . Minimum , maximum . Mean . Show in simulation
Task 2: Even count
Find the median and the quartiles of the jump distances in autumn. Load task
Show solution
Ordered: . Median . Lower half: 6 values, . Upper half: . Show in simulation
Task 3: The outlier
Work out mean and median of the pocket money – once with and once without the €90. Which statistic describes the “typical” pocket money better? Load task
Show solution
With: , median €25. Without: , median . The median does not change at all, the mean changes by almost €6. Here the median describes the “typical” pocket money better. Outlier limit: – the €90 lie above it. Show in simulation
Task 4: Reading a box plot
In the way-to-school box plot, , median , and maximum minutes. Which statements are true? (a) About half need at most minutes. (b) About a quarter need more than minutes. (c) There are more children between and minutes than between and . Load task
Show solution
(a) and (b) are true. (c) is false: each of the two sections holds about a quarter of the values. The long whisker only shows that the values are further apart there, not that there are more of them. Show in simulation
Task 5: Comparing two classes
In the test, both classes have median and mean . Compare the interquartile ranges. In which class would extra lessons for the weaker students be more urgent? Load task
Show solution
7a: ; 7b: . In 7b the results are spread much more widely: a quarter of the class has at most points (in 7a: at most ). Extra lessons would probably be more urgent there. Show in simulation
Task 6: Make up data
Make up five values with median and mean . Check your answer by typing the values into “Own data”. Load task
Show solution
The middle value must be , the sum . For example – the large value pulls the mean up. Show in simulation
Ideas for the classroom
- Use: About grade 7, statistics of data: comparing mean and median, range and quartiles, drawing and interpreting box plots. Dragging a single point may be a good way in; “Step by step” can accompany the construction on the board.
- Own data: The class could collect its own data (way to school, hours of sleep, long jump) and type it into the “Values” field. Comparison mode shows two surveys side by side.
- Quartiles: The simulation takes the quartiles as medians of the two halves (with an odd count the median is left out). Another common convention takes as the smallest value up to which at least a quarter of the values reach (for that is instead of ). If your textbook uses another convention, a short note can avoid confusion.
- Outliers with few values: For the box is very wide (, ). So the rule does not mark the as an outlier – but it still shifts the mean a lot. Try it
- Common stumbling blocks:
- The median is read from the unordered raw data.
- With an even count only one of the two middle values is taken.
- A long whisker or a wide box is read as “more values” – correct is: the same number of values, just more spread out.
- Mean and median are treated as the same; with skewed data or outliers they differ clearly.
- The box is taken as the range of “all normal values”; but it only holds about the middle half.