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 ∑fx∑f\dfrac{\sum fx}{\sum f}, 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

CodeSyllabus content
SL4.2Presentation 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:

Presentation of discrete and continuous data

Mean from a frequency table

x¯=∑fx∑f\bar{x} = \dfrac{\sum fx}{\sum f}

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

x¯=∑wixi, where ∑wi=1\bar{x} = \sum w_i x_i,\ \text{where}\ \sum w_i = 1

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 55, 88 and 1212 give cumulative frequencies 55, 1313 and 2525.

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 5050th percentile.

e.g. With 8080 values in total, the lower quartile is read at cumulative frequency 2020 and the median at cumulative frequency 4040.

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 77 over the class 0≤x<100\le x<10 shows that 77 values lie in that class.

How do you read a box-and-whisker diagram?

The box runs from Q1Q_1 to Q3Q_3 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 Q1=12Q_1=12, the median is 1515 and Q3=20Q_3=20, the box runs from 1212 to 2020 and the interquartile range is 88.

Worked examples

1
Medium
GDC
[2 marks]

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: 0.30(70)+0.70(85).0.30(70)+0.70(85). M1
=21+59.5=80.5.=21+59.5=80.5. A1

M1 Weighted method A1 Total
2
Hard
GDC
[4 marks]

Value2468
Frequency35f2

The mean is 5.

Find ff.

Worked solution

42+6f10+f=5.\dfrac{42+6f}{10+f}=5. M1
A1
42+6f=50+5f.42+6f=50+5f. M1
f=8.f=8. A1On the GDC. Find the x-coordinate of the intersection of y=(42+6x)/(10+x)y=(42+6x)/(10+x) and y=5y=5 near x=8x=8. The calculator shows about 8.

TI-84 Plus CE: Y= clear Y1= (42+6x)/(10+x) ▼ Y2= 5 window Xmin 0 Xmax 20 Ymin 0 Ymax 10 graph 2nd trace 5:intersect enter enter move to the crossing near x = 8 enterCasio fx-CG50: MENU 5 Y1 (42+6x)/(10+x) EXE Y2 5 EXE SHIFT F3 Xmin 0 Xmax 20 Ymin 0 Ymax 10 EXIT F6 SHIFT F5 F5 move to the crossing near x = 8 EXECasio fx-CG100: HOME Graph&Table y1 (42+6x)/(10+x) EXE y2 5 EXE TOOLS View Window Xmin 0 Xmax 20 Ymin 0 Ymax 10 OK draw the graphs TOOLS Graph Solve Intersection move to the crossing near x = 8 OKTI-Nspire CX: Graphs page, f1(x) = (42+6x)/(10+x) enter ▼ 5 enter menu Window/Zoom Window Settings Xmin 0 Xmax 20 Ymin 0 Ymax 10 enter menu Analyze Graph Intersection bounds either side of x = 8 enterFull GDC guide: Find where two graphs meet Topic page

M1 Equation for mean A1 Correct equation M1 Cross-multiply A1 f=8f=8
3
Hard
Calculator
[5 marks]

For 200 exam scripts, the cumulative frequency table is shown below.

Mark≤40\le40≤50\le50≤60\le60≤70\le70≤80\le80
Cumulative frequency3080150185200

(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 0.9×200=1800.9 \times 200 = 180th value, in 60−7060\!-\!70: M1
60+180−15035×1060 + \dfrac{180 - 150}{35}\times10 A1
≈68.6.\approx 68.6. A1

(b) Top 10% means at or above the 90th percentile, so the minimum A mark is about 69. M1 A1

M1 180th value A1 Interpolation A1 Correct answer of ≈68.6\approx68.6 M1 Top 10% A1 Correct answer of 6969
4
Easy
GDC
[2 marks]

The marks scored by a group of students are shown below.

Mark5678
Frequency2431

Find the mean mark.

Worked solution

With a frequency table each mark xx is repeated ff times, so x¯=∑fx∑f\bar x=\dfrac{\sum fx}{\sum f} (not the plain average of the distinct marks). M1
∑fx=5(2)+6(4)+7(3)+8(1)=63, ∑f=10, x¯=6310=6.3.\sum fx=5(2)+6(4)+7(3)+8(1)=63,\ \sum f=10,\ \bar x=\dfrac{63}{10}=6.3. A1On the GDC. Find the mean of the data. The calculator shows about 6.3.

TI-84 Plus CE: stat 1:Edit ▲ clear enter L1 5,5,6,6,6,6,7,7,7,8 enter stat ▶ 1:1-Var Stats 2nd 1 enter read meanCasio fx-CG50: MENU Statistics F6 F4 F1 List 1 5,5,6,6,6,6,7,7,7,8 EXE F2 F1 read meanCasio fx-CG100: HOME Statistics List 1 5,5,6,6,6,6,7,7,7,8 EXE Setup tab Calculate Summary Statistics 1-Variable Execute OK read meanTI-Nspire CX: Lists & Spreadsheet page, name column A data ▲ enter 5,5,6,6,6,6,7,7,7,8 enter menu Statistics Stat Calculations One-Variable Statistics X1 List data enter read meanFull GDC guide: One-variable statistics Topic page

M1 Weighted-mean method A1 Correct Value

Common mistakes

  • Dividing by the number of distinct values instead of the total frequency. In a frequency table ∑f\sum f is the total number of data items, not the number of rows - dividing by 4 instead of 3+5+f+23+5+f+2 is a very common slip.
  • Forgetting to multiply by xx before summing. ∑fx\sum fx 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.

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. 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 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.

Tip: For cumulative frequency or working out Σfx\Sigma 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 mean from a frequency table?

Multiply each value by its frequency, add these products together, and divide by the total frequency: x¯=∑fx∑f\bar{x} = \dfrac{\sum fx}{\sum f}.

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 20≤x<3020\le x<30 is plotted at x=30x=30.

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 Q1=32Q_1=32 and Q3=47Q_3=47, the interquartile range is 47−32=1547-32=15.

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.