Open Mathhh

Mean, median, mode, range and variance

Statistics · worksheets 1 to 12 · 3 min read

I can

  • find the mean, median, mode and range of a list
  • find the variance of a list, and from sums
  • say how the mean and variance change when every value is changed
  • find the mean of two groups put together

Key idea

The mean is the total divided by how many values. The median is the middle value once the list is in order; with two middle values, take the number halfway between them. The mode is the value that appears most often. The range is the biggest value take away the smallest.

The variance measures spread. Find the mean, square how far each value is from it, add those squares up, then divide by n (the number of values). A quick form is: variance = Σx² ÷ n − mean². Here Σx means the sum of the values.

If every value is multiplied by a and then b is added, the new mean is a × (old mean) + b. The new variance is a² × (old variance). Adding b does not change the spread.

For two groups, the mean of all values = (total of group A + total of group B) ÷ (all the values). Each total is the group size times its mean.

Worked examples

Example 1: variance of 2, 4, 6, 8

Watch it: the variance of 2, 4, 6, 8, step by step:

  1. Mean = 20 ÷ 4 = 5.
  2. Find each distance from 5, then square it so none are negative.
  3. Add the squares: 9 + 1 + 1 + 9 = 20.
  4. Divide by 4: variance = 5.
  5. The variance is 5.
  6. The mean is 5. Each distance from the mean is squared and averaged.
  1. Mean = 20 ÷ 4 = 5.
  2. Distances from 5: −3, −1, 1, 3. Squares: 9, 1, 1, 9. Sum = 20.
  3. Divide by 4.

Variance = 5

Example 2: variance from sums

Watch it: 5 values with Σx = 30 and Σx² = 200, step by step:

  1. Mean = 30 ÷ 5 = 6.
  2. Σx² ÷ n = 200 ÷ 5 = 40.
  3. Variance = mean of squares − (mean)² = 40 − 6² = 40 − 36 = 4.
  4. The variance is 4.

There are 5 values with Σx = 30 and Σx² = 200.

  1. Mean = 30 ÷ 5 = 6.
  2. Σx² ÷ n = 200 ÷ 5 = 40.
  3. 40 − 6² = 40 − 36 = 4.

Variance = 4

Example 3: coding

Watch it: a data set with mean 10 and variance 3, multiplied by 2 then plus 1, step by step:

  1. New mean = 2 × 10 + 1 = 21.
  2. New variance = 2² × 3 = 12. Adding 1 does not change the spread.
  3. Multiplying by 2 multiplies the variance by 4.

A data set has mean 10 and variance 3. Every value is multiplied by 2 and then 1 is added.

  1. New mean = 2 × 10 + 1 = 21.
  2. New variance = 2² × 3 = 12.

New mean = 21, new variance = 12

Try it

Find the median of: 7, 1, 9, 4, 5.
Show answer5
Find the median of: 8, 2, 6, 4.
Show answer5
Find the variance of: 1, 3, 5, 7.
Show answer5
For 10 values, Σx = 40 and Σx² = 250. Find the variance.
Show answer9
A data set has mean 5 and variance 4. Every value is multiplied by 3 and then 2 is added. Find the variance of the new data.
Show answer36
Group A has 4 values with mean 5. Group B has 6 values with mean 10. Find the mean of all 10 values.
Show answer8

Common mistakes

  • Finding the median of a list that is not in order. Put the values in order first.
  • Averaging the two group means. The bigger group counts for more, so use the totals.
  • Adding b to the variance when coding. Only the multiplier matters, and it is squared.

Remember

  • Variance = Σx² ÷ n − mean².
  • Multiply by a: the mean is multiplied by a and the variance by a².

Practise this

Worksheets 1 to 12 of Statistics practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Statistics notes

Keep learning

All Statistics notes · All study notes