01 / 20

Data Representation
& Summary Stats

Master mean, median, quartiles, IQR, and standard deviation to describe and visualize data sets with confidence.

IB Math: Applications & Interpretation

Why Do We Need Summary Statistics?

Raw data on its own can be overwhelming. Imagine a list of 500 test scores: you cannot instantly see patterns. Summary statistics compress an entire data set into a few key numbers that reveal its centre, spread, and shape.

Key Measures of Centre

Mean \(\bar{x}\)
The arithmetic average: sum all values and divide by the count \(n\).
Median
The middle value when the data is ordered. If \(n\) is even, average the two central values.
Mode
The most frequently occurring value. A data set can be unimodal, bimodal, or have no mode.

Measures of Spread

Range
\(\text{Range} = x_{\max} - x_{\min}\). Simple but sensitive to outliers.
IQR
\(\text{IQR} = Q_3 - Q_1\). Measures the spread of the middle 50% of data.
Standard Deviation
\(\sigma\) (population) or \(s\) (sample): average distance of each value from the mean.

Quartiles & the Five-Number Summary

Min
\(Q_1\)
Median
\(Q_3\)
Max IQR 25% 25% 25% 25%

The Mean Formula

The mean is the balance point of a data set: if you placed each data value on a number line, the mean is where the line would balance. It uses every data value, so it is affected by outliers.

The Standard Deviation

Standard deviation measures how far each data point is from the mean on average. A small \(s\) means values cluster tightly around \(\bar{x}\); a large \(s\) means they are widely dispersed.

Mean vs Median: Which to Use?

Mean \(\bar{x}\) Median
Uses all data? Yes Only position
Affected by outliers? Strongly Resistant
Best for Symmetric data Skewed data
IB formula booklet? Yes No (method only)

Step-by-Step: Summarising a Data Set

1
Order the data from smallest to largest.
2
Find the median: middle value (or average of two middle values if \(n\) is even).
3
Find \(Q_1\) and \(Q_3\): medians of the lower and upper halves.
4
Compute the mean: \(\bar{x} = \dfrac{\sum x_i}{n}\).
5
Calculate spread: \(\text{IQR} = Q_3 - Q_1\), standard deviation using your GDC or the formula.
6
Identify outliers: any value below \(Q_1 - 1.5 \times \text{IQR}\) or above \(Q_3 + 1.5 \times \text{IQR}\).

Worked Example 1: Finding the Median & Quartiles

Data set (test scores): 12, 15, 18, 22, 25, 28, 30, 35, 40 (\(n = 9\))

12 15 18 22 25 Median 28 30 35 40
\(Q_1 = 16.5\)
\(Q_3 = 32.5\)

Worked Example 2: Computing the Mean

Using the same data: 12, 15, 18, 22, 25, 28, 30, 35, 40

Here the mean equals the median because the data is roughly symmetric. In skewed data sets, they will differ: the mean is pulled toward the tail.

Worked Example 3: Standard Deviation

Data: 4, 7, 8, 10, 11, \(\bar{x} = 8\), \(n = 5\).

Visualising Data: Bar Charts & Histograms

0 2 4 6 8 0-20 20-40 40-60 60-80 80-100 Score Range Frequency Modal class

Reading a Box Plot for Skewness

Symmetric Right-Skewed Long right whisker Left-Skewed Long left whisker

Common Mistakes to Avoid

✕ Forgetting to order data
Quartiles and the median require the data to be sorted first. Unsorted data gives wrong positions.
✕ Dividing by \(n\) for sample \(s\)
The sample standard deviation uses \(n - 1\) (Bessel's correction), not \(n\). Only the population \(\sigma\) divides by \(n\).
✕ Confusing IQR with range
\(\text{Range} = \max - \min\) (all data). \(\text{IQR} = Q_3 - Q_1\) (middle 50% only). They measure different things.

Summary of Key Formulas

Measure Formula / Method Type
Mean \(\bar{x}\) \(\dfrac{\sum x_i}{n}\) Centre
Median Middle value (ordered) Centre
Mode Most frequent value Centre
Range \(x_{\max} - x_{\min}\) Spread
IQR \(Q_3 - Q_1\) Spread
Std Dev \(s\) \(\sqrt{\dfrac{\sum(x_i - \bar{x})^2}{n-1}}\) Spread

Question 1 of 5

The data set 3, 5, 7, 9, 11 has a mean of 7. What is the standard deviation (sample, \(s\))?

Question 2 of 5

For the data set 2, 4, 6, 8, 10, 12, 14, 16, what is the IQR?

Question 3 of 5

A data set has \(\text{mean} = 50\) and \(\text{median} = 42\). The distribution is most likely:

Question 4 of 5

Which measure of centre is most resistant to outliers?

Question 5 of 5

A class of 10 students scored: 55, 60, 62, 65, 68, 70, 72, 75, 80, 93. Using the \(1.5 \times \text{IQR}\) rule, is 93 an outlier?