Statistical Diagrams (AI HL)
Data are presented in frequency tables, histograms with equal class intervals, cumulative frequency graphs and box-and-whisker diagrams. A frequency table gives the mean as , and a cumulative frequency graph is read to estimate the median, quartiles and percentiles. Box-and-whisker diagrams then compare distributions using the median, interquartile range and outliers. It's part of the broader Statistics & Sampling topic.
11 questions on this sub-topic.
Syllabus
| Code | Syllabus content |
|---|---|
| SL4.2 | Presentation of discrete and continuous data (frequency distributions, histograms with equal class intervals). Cumulative frequency and cumulative frequency graphs, used to find the median, quartiles, percentiles, range and interquartile range (IQR). Production and interpretation of box-and-whisker diagrams, including comparing two distributions by symmetry, median, IQR or range, with outliers marked by a cross. |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Skills practised on this page:
- Construct or interpret a histogram, including unequal class widths.
Presentation of discrete and continuous data
Mean from a frequency table
Multiply each value by its frequency, sum the products, then divide by the total frequency. This is standard technique rather than a formula-booklet entry - the GDC's one-variable statistics mode does it automatically once the values are entered as a frequency list.
Weighted mean
The same idea applied when categories carry unequal weightings (e.g. an exam worth 30% and a coursework worth 70%) rather than raw frequencies.
Need the full syllabus wording and formula-booklet reference table? See Statistics & Sampling.
Key terms
What is cumulative frequency?
Cumulative frequency is a running total of the frequencies up to the end of each class. The last cumulative frequency equals the total number of values.
e.g. Class frequencies , and give cumulative frequencies , and .
How do you read a percentile from a cumulative frequency graph?
Find the required percentage of the total frequency on the vertical axis, read across to the curve, then down to the horizontal axis. The median is the th percentile.
e.g. With values in total, the lower quartile is read at cumulative frequency and the median at cumulative frequency .
What does the height of a histogram bar show?
With equal class intervals, the height of each bar shows the frequency of that class. The bars touch for continuous data because there are no gaps between classes.
e.g. A bar of height over the class shows that values lie in that class.
How do you read a box-and-whisker diagram?
The box runs from to with a line at the median, and the whiskers extend to the lowest and highest values that are not outliers. Outliers are marked with crosses.
e.g. If , the median is and , the box runs from to and the interquartile range is .
Worked examples
A student scores 70 on a test weighted 30% and 85 on an exam weighted 70%.
Find the weighted mean.
Worked solution
Multiply each score by its weight: M1
A1
| Value | 2 | 4 | 6 | 8 |
|---|---|---|---|---|
| Frequency | 3 | 5 | f | 2 |
The mean is 5.
Find .
Worked solution
M1
A1
M1
A1On the GDC. Find the x-coordinate of the intersection of and near . The calculator shows about 8.
For 200 exam scripts, the cumulative frequency table is shown below.
| Mark | |||||
|---|---|---|---|---|---|
| Cumulative frequency | 30 | 80 | 150 | 185 | 200 |
(a) Estimate the 90th percentile.
(b) A grade A is awarded to the top 10%. State the minimum mark for an A (to nearest mark).
Worked solution
(a) 90th percentile is the th value, in : M1
A1
A1
(b) Top 10% means at or above the 90th percentile, so the minimum A mark is about 69. M1 A1
The marks scored by a group of students are shown below.
| Mark | 5 | 6 | 7 | 8 |
|---|---|---|---|---|
| Frequency | 2 | 4 | 3 | 1 |
Find the mean mark.
Worked solution
With a frequency table each mark is repeated times, so (not the plain average of the distinct marks). M1
A1On the GDC. Find the mean of the data. The calculator shows about 6.3.
Common mistakes
- Dividing by the number of distinct values instead of the total frequency. In a frequency table is the total number of data items, not the number of rows - dividing by 4 instead of is a very common slip.
- Forgetting to multiply by before summing. means each value is multiplied by its own frequency first; adding the frequencies and values separately gives the wrong numerator entirely.
- Weights that don't sum to 1. In a weighted-mean question, always check the given percentages or fractions add to 100% (or 1) before using them - a typo in the question or a misread weight throws off the whole answer.
Using your GDC
Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.
Instant summary statistics from a list - no formulas to compute by hand.
- Enter the data into a list.
- STAT → Edit → type values into L1. Then STAT → CALC → 1:1-Var Stats, choose L1, Calculate.TI-84
- Add a Lists & Spreadsheet page, name a column and enter data; then a Calculator page → menu → Statistics → Stat Calculations → One-Variable Statistics.Nspire
- Statistics menu → enter data in List 1 → CALC (F2) → 1-VAR.Casio
- Read (mean), (sample sd) or (population sd), and the five-number summary (min, , median, , max).
- For frequency data, put values in one list and frequencies in another and set the frequency list.
Tip: vs : use (population) for a complete data set, (sample) for a sample. IB usually wants .
Lists let you store data sets, generate sequences, and compute statistics without re-entering values - essential for grouped data and frequency tables.
- Enter data manually: go to the list editor and type values one by one.
- 2nd → STAT (LIST) → OPS → 5:seq(expression, variable, start, end) generates a list from a formula. For grouped data, put midpoints in L1 and frequencies in L2, then run 1-Var Stats L1, L2.TI-84
- In a Lists & Spreadsheet page, type a formula in the header row to fill the column automatically. Use two columns for midpoints and frequencies.Nspire
- In Statistics list editor, enter data directly; OPTN → LIST → Seq( builds a list from a formula. For frequency data, put midpoints in List 1 and frequencies in List 2.Casio
- For frequency data (grouped), enter midpoints in one list and frequencies in another, then reference both lists when running 1-Var Stats.
Tip: For cumulative frequency or working out by hand - don't. Store midpoints in L1, frequencies in L2, and let 1-Var Stats do it all.
See the full GDC guide for more calculator models and topics.
Quick questions
How do you find the mean from a frequency table?
Multiply each value by its frequency, add these products together, and divide by the total frequency: .
How do you find a missing frequency if you're given the mean?
Write the mean formula with the unknown frequency as a letter, set it equal to the given mean, then cross-multiply and solve the resulting linear equation.
Why is a cumulative frequency graph plotted at the upper class boundary?
Each cumulative frequency counts all values up to the end of its class, so it belongs at the upper boundary. For example, the class is plotted at .
How do I find the interquartile range from a cumulative frequency graph?
Read the lower quartile at one quarter of the total frequency and the upper quartile at three quarters, then subtract. If and , the interquartile range is .
How do I compare two box-and-whisker diagrams?
Compare a measure of centre such as the median and a measure of spread such as the interquartile range, and state what they mean in context. A higher median means a higher typical value, and a smaller interquartile range means more consistent values.
Ready to practise properly?
11 statistical-diagrams questions, marked instantly like the real exam.