4.2 Presentation of data
Studying this course? Keep your progress in one place.
Key facts
- Write class intervals as inequalities, with no gaps or overlaps.
- Histograms here have equal class widths; heights are frequencies.
- Median at , quartiles at and , th percentile at ; interpolate within a class.
- IQR ; outliers lie beyond IQR from the quartiles.
- Compare a centre and a spread, in context.
- Symmetric box and whiskers suggest a normal model may fit; skewed data do not.
Frequency tables and classes
For continuous data, write classes as inequalities with no gaps or overlaps, so every value belongs to exactly one class.
A frequency distribution lists each class with its frequency (the number of data items in it). Classes such as , put 15 cm into the second class only.
Grouping loses individual values, so anything calculated from a grouped table (median, quartiles) is an estimate.
Correct
- No gaps, no overlaps
Incorrect
- 10–15
- 16–20
- 15.5 fits neither class
Which set of classes is correct for continuous data?
Frequency histograms
With equal class widths the bars touch and their heights are the class frequencies, showing the shape of the data.
A frequency histogram shows where data cluster, whether the distribution is symmetric or skewed, and any gaps. Bars of heights 4, 9, 15, 12, 7, 3 for classes of width 5 cm from 10 cm are read exactly like a frequency table. (Unequal widths and frequency density are not required.)
In the example, how many items are in the class ?
Cumulative frequency and quartiles
Use positions , and on the cumulative frequency, interpolating within a class.
Cumulative frequency is the number of items less than a value. The median is at , lower quartile at , upper quartile at and the th percentile at . IQR .
Without a graph, use linear interpolation: items into a class of width with items starting at gives . Plot at upper class boundaries.
- Medianposition
- Lower quartileposition
- Upper quartileposition
Worked example
200 apples: 90 have mass below 140 g, and 60 are in the class . Estimate the median.
- 1
The median is at position .
- 2
90 apples are below 140 g, so the median is items into the class.
- 3
Interpolate: .
For 80 data items, at which position on the cumulative frequency axis is ?
Box and whisker diagrams
It displays the five-number summary, with outliers shown as separate points.
The five-number summary is the minimum, , median, and maximum. The box runs from to with a line at the median. Outliers are shown as separate points, and the whisker stops at the most extreme value that is not an outlier.
You should be able to give the quartiles, IQR and outlier boundaries from a diagram or summary.
, : IQR , boundaries and , so 230 is an outlier.
and . Is a value of 120 an outlier?
Comparing distributions
Compare one measure of centre and one of spread, and say what each means in context.
For example: "the median wait at B is 40 s shorter, so a typical customer is served faster". If the median is near the middle of the box and the whiskers are similar, the data are roughly symmetric and may be normally distributed. Skewed data are not well modelled by a normal distribution.
| Symmetric | Positively skewed | Negatively skewed | |
|---|---|---|---|
| Median position | Roughly in the middle of the box | Closer to | Closer to |
| Tail | Whiskers of similar length | Long tail towards higher values | Long tail towards lower values |
Symmetric
- Median position:
- Roughly in the middle of the box
- Tail:
- Whiskers of similar length
Positively skewed
- Median position:
- Closer to
- Tail:
- Long tail towards higher values
Negatively skewed
- Median position:
- Closer to
- Tail:
- Long tail towards lower values
The median is much closer to than to . The distribution is:
Try an exam question
A data set has minimum 12, , median 26, and maximum 62. (a) Find the interquartile range. (b) Show that 62 is an outlier.
[3 marks]
- [1]IQR .
- [1]Upper boundary .
- [1], so 62 is an outlier.
That's the notes covered.
Carry on to the next subtopic.
Try a question
Which class contains the median time?
1 mark, marked against the mark scheme
Which class contains the median time?
1 mark, marked against the mark scheme