Introduction to Measures of Central Tendency and Dispersion

Welcome to one of the most practical chapters in IB Mathematics! In the world of statistics, we are often overwhelmed by large sets of raw data. To make sense of it all, we need a way to summarize that data into a few meaningful numbers. These summaries fall into two categories: Measures of Central Tendency (where is the "middle"?) and Measures of Dispersion (how spread out is the data?).

Whether you are analyzing exam scores or the heights of athletes, these tools help you describe the "typical" value and the "consistency" of your data. Let's dive in!

Note: For how to collect this data or handle outliers, see the chapter "Sampling, data types, bias and outliers."

1. Measures of Central Tendency: Finding the Middle

There are three main ways to identify the "center" of a data set. Each has its own strengths and weaknesses.

A. The Mean (\( \bar{x} \))

The arithmetic mean is what most people commonly call the "average." It is calculated by summing all the values and dividing by the number of values.

Formula: \( \bar{x} = \frac{\sum_{i=1}^{n} x_i}{n} \)

For Grouped Data: When data is organized in a frequency table, we assume all values in a class are at the midpoint (\( x_i \)).
Formula: \( \bar{x} \approx \frac{\sum f_i x_i}{\sum f_i} \)

Quick Tip: The mean is very sensitive to outliers. One extremely high or low score can "pull" the mean away from the actual center.

B. The Median

The median is the middle value when the data is arranged in order. If there is an even number of values, it is the average of the two middle values.

Why use it? The median is "robust," meaning it isn't affected by extreme outliers. This is why it is often used for reporting things like "median household income."

C. The Mode and Modal Class

The mode is the value that occurs most frequently. For continuous or grouped data, we refer to the modal class (the interval with the highest frequency).

Key Takeaway:

Mean: Mathematical average (sensitive to outliers).
Median: Physical middle (not sensitive to outliers).
Mode: Most popular (useful for non-numerical data like "favorite color").

2. Measures of Dispersion: Measuring the Spread

Knowing the average isn't enough. Imagine two classes both have a mean test score of 75%. Class A has scores between 70% and 80%, while Class B has scores between 40% and 100%. Class B is much more "spread out." We use dispersion to measure this.

A. Range

The simplest measure: \( \text{Range} = \text{Maximum value} - \text{Minimum value} \).

B. Interquartile Range (IQR)

The IQR measures the spread of the middle 50% of the data. It is less affected by outliers than the range.
Formula: \( \text{IQR} = Q_3 - Q_1 \)
Where \( Q_1 \) is the lower quartile (25th percentile) and \( Q_3 \) is the upper quartile (75th percentile).

C. Variance (\( \sigma^2 \)) and Standard Deviation (\( \sigma \))

These are the most important measures for IB. They tell us how much, on average, each data point deviates from the mean.
Standard Deviation is simply the square root of the Variance.

Formula (Standard Deviation): \( \sigma = \sqrt{\frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n}} \)

Don't worry if this seems tricky at first: In Paper 2, you will almost always use your Graphic Display Calculator (GDC) to find these values. Use the "1-Var Stats" function!

3. Effect of Constant Changes on Data

What happens to our summary statistics if we change every piece of data in the same way? This is a common exam favorite.

Adding a constant (\( x + k \))

If you add 5 to every student's score:
- The Mean, Median, and Mode all increase by 5.
- The Range, IQR, and Standard Deviation stay exactly the same (because the spread hasn't changed).

Multiplying by a constant (\( kx \))

If you double every student's score:
- The Mean, Median, and Mode all double.
- The Range, IQR, and Standard Deviation also double.
- The Variance increases by a factor of \( k^2 \) (in this case, 4).

Quick Review Box:

Translation (Adding): Affects center, NOT spread.
Scaling (Multiplying): Affects BOTH center and spread.

4. Discrete Random Variables (Probability Context)

In the context of probability distributions (Sub-topic 4.7), we use slightly different terminology for "mean."

Expected Value \( E(X) \): This is the theoretical mean of a discrete random variable.
Formula: \( E(X) = \sum x P(X=x) \)

Binomial Distribution (Sub-topic 4.8):
- Mean: \( E(X) = np \)
- Variance: \( Var(X) = np(1-p) \)

5. AHL Only: Continuous Variables and Linear Transformations

For Higher Level students, we extend these concepts to continuous functions and linear combinations.

A. Mean and Variance for Continuous Random Variables

Instead of sums, we use integrals over the domain of the probability density function \( f(x) \).
Mean: \( E(X) = \int x f(x) \, dx \)
Variance: \( Var(X) = E(X^2) - [E(X)]^2 \)

B. Linear Transformations of \( X \)

For any random variable \( X \), and constants \( a \) and \( b \):
Expectation: \( E(ax + b) = aE(X) + b \)
Variance: \( Var(ax + b) = a^2 Var(X) \)

Note the \( a^2 \) in the variance! This is because variance is a "squared" measure of spread.

Common Mistakes to Avoid

1. Mixing up Variance and Standard Deviation: Always check if the question asks for \( \sigma \) or \( \sigma^2 \). If you use your GDC, \( \sigma x \) is the standard deviation.

2. Midpoints in Grouped Data: When estimating the mean from a table (e.g., \( 10 < x \le 20 \)), always use the midpoint (15). Students often accidentally use the upper bound.

3. The "n+1" Rule: When finding the position of the median in a list of \( n \) items manually, the position is \( \frac{n+1}{2} \). However, for large data sets or grouped data, IB usually accepts the \( \frac{n}{2} \) position.

Summary Checklist

- Can I calculate the mean for both a list of numbers and a frequency table?
- Do I know which measure of center is best if there are outliers?
- Can I use my GDC to find the standard deviation and quartiles quickly?
- Do I understand that adding a number to all data points does NOT change the standard deviation?
- (HL) Can I apply the linear transformation rules for \( E(X) \) and \( Var(X) \)?