Statistical Diagrams (AA HL)

Statistical diagrams present data so that its shape, centre and spread can be compared. A cumulative frequency graph is used to estimate the median, quartiles, percentiles and interquartile range, and a box and whisker diagram shows the minimum, Q1Q_1, median, Q3Q_3 and maximum. Frequency tables and histograms for grouped data are also covered. It's part of the broader Descriptive Statistics topic.

11 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL4.2Presentation of data in frequency tables and histograms. Cumulative frequency graphs, used to find the median, quartiles, percentiles and IQR. Production and interpretation of box and whisker diagrams, including comparing two distributions.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

Key working

Neither of these is a formula-booklet entry - they're definitions you apply directly to the ordered data.

Interquartile range

IQR=Q3−Q1\text{IQR} = Q_3 - Q_1

Q1Q_1 is the median of the lower half of the ordered data, Q3Q_3 the median of the upper half. On the GDC, 1-Var Stats returns both directly once the data is entered.

Outlier boundaries

Q1−1.5×IQRQ_1 - 1.5 \times \text{IQR} and Q3+1.5×IQRQ_3 + 1.5 \times \text{IQR}

Any value beyond these two boundaries is plotted separately on a box plot rather than as the end of a whisker.

Key terms

What is a cumulative frequency graph?

It plots the running total of frequencies against the upper class boundaries, joined by a smooth curve. The last point is the total frequency.

e.g. If 44 values are below 1010 and 66 more lie between 1010 and 2020, the points are (10,4)(10,4) and (20,10)(20,10).

How do you read the median and quartiles from a cumulative frequency graph?

Find the required height on the vertical axis, go across to the curve, then down to the horizontal axis. The median is at half the total frequency, Q1Q_1 at one quarter and Q3Q_3 at three quarters.

e.g. With total frequency 8080, Q1Q_1 is read at height 2020 and Q3Q_3 at height 6060.

What five values define a box and whisker diagram?

The minimum, the lower quartile Q1Q_1, the median, the upper quartile Q3Q_3 and the maximum. The box runs from Q1Q_1 to Q3Q_3 with a line at the median.

e.g. The data 1,3,4,6,8,9,12,141, 3, 4, 6, 8, 9, 12, 14 have minimum 11, Q1=3.5Q_1=3.5, median 77, Q3=10.5Q_3=10.5 and maximum 1414.

What is a percentile?

The ppth percentile is the value below which p%p\% of the data lie. The median is the 50th percentile, Q1Q_1 is the 25th and Q3Q_3 is the 75th.

e.g. For 8080 values, the 90th percentile is read at cumulative frequency 0.9×80=720.9\times80=72.

Worked examples

1
Easy
No calc
[4 marks]

A data set in order is 3,5,6,8,9,11,14,183, 5, 6, 8, 9, 11, 14, 18.

(a) Find the range.
(b) Find the interquartile range.

Worked solution

(a) Range. Range=18−3=15.\text{Range}=18-3=15. A1

(b) Q1Q_1.
With n=8,n=8, lower half 3,5,6,8⇒Q1=5+62=5.5;3,5,6,8\Rightarrow Q_1=\dfrac{5+6}{2}=5.5;
Q3Q_3
upper half 9,11,14,18⇒Q3=11+142=12.5.9,11,14,18\Rightarrow Q_3=\dfrac{11+14}{2}=12.5. M1 A1
So IQR=12.5−5.5=7.\text{IQR}=12.5-5.5=7. A1

A1 Value 1515 (range =18−3=18-3) M1 Find Q1Q_1 and Q3Q_3 A1 Quartiles A1 For Final answer of 7
2
Hard
Calculator
[3 marks]

A cumulative frequency curve for 80 students has the 40th value at x=62.x=62. State the estimated median and explain.

Worked solution

For n=80n = 80, the median is the value at cumulative frequency 40.40. M1
Reading across, the median ≈62.\approx 62. M1 A1

M1 Median at cf =n2=\frac n2 M1 Read from curve A1 Correct answer of ≈62\approx62
3
Medium
GDC
[4 marks]

In a data set of 200 values, a value lies at the 90th percentile.
Assuming there are no tied values, state how many values lie below it.

Worked solution

The 90th percentile has 90%90\% of values below it. M1
90%90\% A1
0.9×2000.9\times200 M1
0.9×200=1800.9\times200 = 180 values. A1On the GDC. Find how many values lie below the 90th percentile. The calculator shows about 180.

TI-84 Plus CE: 2nd mode then type 0.9*200 enterCasio fx-CG50: MENU Run-Matrix then type 0.9*200 EXECasio fx-CG100: HOME Calculate then type 0.9*200 EXETI-Nspire CX: home Calculator then type 0.9*200 enterFull GDC guide: Enter a calculation on the home screen Topic page

M1 Interpret percentile A1 90%90\% M1 Compute A1 Correct answer of 180180

Common mistakes

  • Reading the median off the wrong axis. On a cumulative frequency graph, you go in at n2\frac{n}{2} on the vertical axis, across to the curve, then down - not the other way round.
  • Eyeballing outliers instead of testing them. A point looking far from the box isn't automatically an outlier - it only counts if it's beyond Q1−1.5×IQRQ_1 - 1.5\times\text{IQR} or Q3+1.5×IQRQ_3 + 1.5\times\text{IQR}, so calculate the boundaries first.
  • Mixing up which half gives Q1Q_1 and Q3Q_3. Q1Q_1 always comes from the lower half of the ordered data and Q3Q_3 from the upper half - swapping them flips the whole box plot.

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.

Show steps for:
One-variable statistics (mean, median, standard deviation)

Instant summary statistics from a list - no formulas to compute by hand.

  1. Enter the data into a list.
  2. STAT → Edit → type values into L1. Then STAT → CALC → 1:1-Var Stats, choose L1, Calculate.TI-84
  3. Add a Lists & Spreadsheet page, name a column and enter data; then a Calculator page → menu → Statistics → Stat Calculations → One-Variable Statistics.Nspire
  4. Statistics menu → enter data in List 1 → CALC (F2) → 1-VAR.Casio
  5. Read x¯\bar x (mean), SxS_x (sample sd) or σx\sigma_x (population sd), and the five-number summary (min, Q1Q_1, median, Q3Q_3, max).
  6. For frequency data, put values in one list and frequencies in another and set the frequency list.

Tip: SxS_x vs σx\sigma_x: use σx\sigma_x (population) for a complete data set, SxS_x (sample) for a sample. IB usually wants σx\sigma_x.

Build and manipulate lists

Lists let you store data sets, generate sequences, and compute statistics without re-entering values - essential for grouped data and frequency tables.

  1. Enter data manually: go to the list editor and type values one by one.
  2. 2nd → STAT (LIST) → OPS → 5:seq(expression, variable, start, end) generates a list from a formula, e.g. seq(X², X, 1, 10). For grouped data, put midpoints in L1 and frequencies in L2, then run 1-Var Stats L1, L2.TI-84
  3. In a Lists & Spreadsheet page, type a formula in the header row (e.g. = seq(x², x, 1, 10)) to fill the column automatically. Use two columns for midpoints and frequencies.Nspire
  4. 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
  5. For frequency data (grouped), enter midpoints in one list and frequencies in another, then reference both lists when running 1-Var Stats.
  6. To sort a list ascending: SortA(L1).TI-84
  7. To sort a list ascending: menu → List → Sort Ascending.Nspire

Tip: For cumulative frequency or working out ∑fx\sum fx 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 interquartile range from a data set?

Split the ordered data into a lower half and upper half, find Q1Q_1 as the median of the lower half and Q3Q_3 as the median of the upper half, then IQR=Q3−Q1\text{IQR}=Q_3-Q_1.

How do you decide whether a value is an outlier on a box plot?

A value is an outlier if it lies below Q1−1.5×IQRQ_1 - 1.5\times\text{IQR} or above Q3+1.5×IQRQ_3 + 1.5\times\text{IQR}. Values inside these boundaries set the ends of the whiskers; anything beyond is plotted separately.

How do I compare two box plots?

Compare a measure of centre, the medians, and a measure of spread, the interquartile range or the range. State each conclusion in the context of the question.

Why is a cumulative frequency graph plotted at the upper class boundary?

The running total counts every value up to the end of a class, and that total is only known exactly at the upper boundary.

How do I estimate how many values lie above a given value?

Read the cumulative frequency at that value and subtract it from the total frequency. If the total is 8080 and the cumulative frequency at x=70x=70 is 5050, then 3030 values lie above 7070.

Ready to practise properly?

11 statistical-diagrams questions, marked instantly like the real exam. Need a calculator refresher first? See the parent topic's GDC guidance.