Study Guide

Descriptive statistics: measures of center and spread

IB Mathematics: Applications and Interpretation HLΒ· 30 min read

1. Measures of Central Tendency (Center)β˜…β˜†β˜†β˜†β˜†β± 8 min

πŸ“˜ Definition

Measure of center

A single value that describes the central position of a set of numerical data, also called a measure of central tendency

Example:

The average height of students in a class is a measure of center

Three common measures of center are used for descriptive statistics, each suited to different contexts:

  • Mean: The arithmetic average of all data values, calculated as the sum of all values divided by the number of values.

  • Median: The middle value of an ordered data set, with half the values above and half below.

  • Mode: The most frequently occurring value in a data set, can be used for categorical as well as numerical data.

πŸ“ Worked Example

A small cafΓ© records the number of customers per hour over 6 hours: [12, 8, 15, 10, 8, 14]. Calculate the mean, median and mode.

  1. 1

    Step 1: Calculate the mean by summing all values and dividing by the number of observations:

  2. 2
    12+8+15+10+8+146=676β‰ˆ11.17\frac{12 + 8 + 15 + 10 + 8 + 14}{6} = \frac{67}{6} \approx 11.17
  3. 3

    Step 2: Order the data set from smallest to largest:

  4. 4
    [8,8,10,12,14,15][8, 8, 10, 12, 14, 15]
  5. 5

    Step 3: For an even number of observations, the median is the average of the two middle values:

  6. 6
    Median=10+122=11\text{Median} = \frac{10 + 12}{2} = 11
  7. 7

    Step 4: The mode is the most frequently occurring value:

  8. 8

    Mode = 8 customers

2. Measures of Dispersion (Spread)β˜…β˜…β˜†β˜†β˜†β± 10 min

πŸ“˜ Definition

Measure of spread

A value that describes how far apart data points are from each other and from the center of the distribution

Example:

The standard deviation of test scores tells you how much scores vary around the average

Common measures of spread quantify the variation in a data set:

  • Range: Difference between the maximum and minimum value, simple but very sensitive to outliers.

  • Interquartile Range (IQR): Difference between the third quartile (Q3, 75th percentile) and first quartile (Q1, 25th percentile), not sensitive to outliers.

  • Variance: Average of the squared deviations from the mean.

  • Standard deviation: Square root of variance, measured in the same units as the original data.

πŸ“ Worked Example

For the ordered customer data set [8, 8, 10, 12, 14, 15], calculate the IQR and sample standard deviation.

  1. 1

    Step 1: Find quartiles: Q1 is the median of the lower half, Q3 is the median of the upper half:

  2. 2
    Q1=8+82=8,Q3=14+152=14.5Q1 = \frac{8 + 8}{2} = 8, \quad Q3 = \frac{14 + 15}{2} = 14.5
  3. 3

    Step 2: Calculate IQR = Q3 - Q1:

  4. 4
    IQR=14.5βˆ’8=6.5IQR = 14.5 - 8 = 6.5
  5. 5

    Step 3: Use the sample standard deviation formula, with sample mean :

  6. 6
    s=βˆ‘(xiβˆ’xΛ‰)2nβˆ’1s = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n-1}}
  7. 7

    Step 4: Calculate the sum of squared deviations, divide by , then take the square root:

  8. 8
    sβ‰ˆ2.99s \approx 2.99

Exam tip:

Always check if the question asks for population or sample standard deviation β€” marks are deducted for the wrong output from your GDC.

3. Selecting Appropriate Measuresβ˜…β˜…β˜†β˜†β˜†β± 7 min

The choice of which measure to use depends entirely on the shape of your distribution and the presence of outliers.

πŸ“ Worked Example

A company has 5 employees with annual salaries (in thousands of dollars): [45, 48, 52, 55, 250]. Which measure of center is most appropriate for describing the typical employee salary?

  1. 1

    Step 1: Identify that 250 is an extreme outlier, meaning the distribution is heavily right-skewed.

  2. 2

    Step 2: Calculate both mean and median for comparison:

  3. 3
    Mean=90,Median=52\text{Mean} = 90, \quad \text{Median} = 52
  4. 4

    Step 3: The mean is pulled up by the outlier to $90,000, which is higher than 4 out of 5 salaries. The median of $52,000 is much closer to the typical salary, so it is the appropriate measure.

4. Effect of Linear Transformationsβ˜…β˜…β˜…β˜†β˜†β± 5 min

When you apply a linear transformation of the form to all data points (for example, converting units from cm to inches), measures of center and spread change in predictable ways:

  1. Adding a constant to all values: adds to all measures of center, does not change any measures of spread.

  2. Multiplying all values by a positive constant : multiplies all measures of center by , multiplies all measures of spread by , and multiplies variance by .

πŸ“ Worked Example

The mean of a data set of lengths is 25 cm, with standard deviation 3 cm. Find the new mean and standard deviation after converting to inches (1 inch = 2.54 cm).

  1. 1

    Step 1: The transformation is , so .

  2. 2

    Step 2: The new mean equals the old mean multiplied by :

  3. 3
    New Mean=25Γ—0.3937β‰ˆ9.84 inches\text{New Mean} = 25 \times 0.3937 \approx 9.84 \text{ inches}
  4. 4

    Step 3: The new standard deviation equals the old standard deviation multiplied by :

  5. 5
    New SD=3Γ—0.3937β‰ˆ1.18 inches\text{New SD} = 3 \times 0.3937 \approx 1.18 \text{ inches}

5. Common Pitfalls

Wrong move:

Confusing population and sample standard deviation on your GDC output

Why:

Most graphic display calculators output both values with different symbols, and exams require the correct value for the context

Correct move:

Check the question: if working with a sample (most cases in AI HL), use , if working with a full population, use

Wrong move:

Using mean and standard deviation for heavily skewed data with outliers

Why:

Outliers pull the mean away from the true center of the data, leading to a misleading description of the typical value

Correct move:

Check for skewness and outliers first: if present, use median and IQR instead

Wrong move:

Calculating the median from an unordered data set

Why:

The median is defined as the middle value of sorted data, so taking the middle value of unsorted data will almost always be wrong

Correct move:

Always sort the data set from lowest to highest before calculating the median or quartiles

Wrong move:

Confusing range and interquartile range

Why:

Many students incorrectly calculate IQR as maximum minus minimum, which is actually range

Correct move:

IQR is Q3 minus Q1, it measures the spread of the middle 50% of the data

Wrong move:

Thinking adding a constant to all data changes the spread

Why:

Students often assume adding a constant changes both center and spread

Correct move:

Adding a constant shifts all points equally, so the distance between points (spread) stays exactly the same

6. Quick Reference Cheatsheet

Measure Type

Name

Best Used For

Transformation

Center

Mean

Symmetric data, no outliers

Center

Median

Skewed data, with outliers

Center

Mode

Categorical/bimodal data

Spread

Range

Rough quick estimate

Spread

IQR

Skewed data, with outliers

Spread

SD

Symmetric data, no outliers

Spread

Variance

Statistical calculations

7. Frequently Asked

When should I use median instead of mean?

Use median when your data is heavily skewed or has extreme outliers, because the median is not affected by extreme values, while the mean is pulled towards the outlier. Median gives a better representation of the typical value in these cases.

Why do we divide by n-1 for sample standard deviation?

Dividing by n-1 corrects for bias in the estimate of the population variance when working with a sample. This Bessel correction ensures your sample estimate is closer to the true population value.

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· 1

    6m compare center and spread

  • 2024 Β· 2

    4m effect of data transformation

  • 2023 Β· 1

    3m calculate IQR from box plot

What's Next

Understanding measures of center and spread is the foundation for all further statistics topics in IB AI HL. You will next use these concepts to analyze bivariate data, where you will calculate the center and spread of variables for correlation and regression. Later, you will use these measures to describe probability distributions, and for statistical inference, where the center and spread of sampling distributions are critical for constructing confidence intervals and running hypothesis tests.