Statistics · KS3

Distributions and Correlation

A list of numbers is hard to read. Draw it as a chart, though, and it has a shape: bunched up, spread out, lopsided, with the odd strange value sitting on its own. On this page you'll learn to describe that shape in words, compare two sets of data fairly, and read scatter graphs to spot when two things are linked, including the famous trap of thinking that one thing causes another just because they rise together.

National curriculum KS3: describe, interpret and compare observed distributions of a single variable through appropriate graphical representation and appropriate measures of central tendency (mean, mode, median) and spread (range, consideration of outliers); use and interpret scatter graphs of bivariate data; recognise correlation

1 · The shape of a set of data

Imagine a class of students each timing how long it takes them to solve the same puzzle, to the nearest minute. You get a long list of numbers like 3, 5, 4, 2, 6, 4, … On its own the list tells you very little. So we count how many students took 1 minute, how many took 2 minutes, and so on. That count is called the frequency. (Making a frequency table is covered on the frequency tables page, and drawing the charts on the statistical charts page.)

Draw the frequencies as bars and the data suddenly has a shape. The word for the whole pattern (which values happen, and how often) is the distribution of the data. When you describe a distribution, you talk about three things:

Drag the tops of the bars up and down to make your own distribution, or try the ready-made shapes. Watch the mean (orange) and the median (plum) markers, and read the description underneath.

Students
Mean
Median
Mode
Range

Things to notice as you play:

2 · Outliers: the value that doesn't fit

An outlier is a value that is much bigger or much smaller than the rest of the data. It sits on its own, far away from everything else. An outlier might be a mistake (someone typed 60 instead of 6) or it might be real but unusual (one friend gets a lot of pocket money).

Here is the weekly pocket money of nine friends. Eight values are fixed. Drag the hollow dot (or tap anywhere along the line) to change the ninth friend's amount, and watch which measures react.

Mean
Median
Mode
Range

What an outlier does

So when data has an outlier, the median is usually a fairer "typical" value than the mean. If the outlier is a mistake, you should leave it out. If it is real, keep it, but say that it is there.

3 · Comparing two distributions

A very common question gives you two sets of data and says "compare them". A good comparison always has two parts:

  1. Compare an average (usually the mean or the median): which group is higher or lower on average?
  2. Compare the spread (the range): which group is more consistent? Consistent means the values are all close together, so the smaller range is more consistent.

And each part must be in context: say what the numbers mean in real life ("scored higher", "were faster"), not just "the mean is bigger". Pick a pair of data sets, look at the dot plots, then build your two sentences and press Check.

On average, , because the is .
, because the range is .

Watch the context. In a test, a higher mean is better. In a race, a lower mean time is better, because it means faster. "Better on average" depends on what is being measured, so always say it in words: "Club Dash were faster on average because their mean time was lower."

4 · Scatter graphs and correlation

So far each piece of data was one number per person. Sometimes we measure two things about each person or object, like the hours each student revised and their test score. Data in pairs like this is called bivariate data ("bi" means two, "variate" means something that varies).

To see if the two things are linked, plot each pair as one point on a scatter graph: one measurement across, the other up. (How to plot the points is on the statistical charts page.) Then step back and look at the cloud of points. The word for a link between the two is correlation:

Correlation can also be strong (points close to a straight line) or weak (there's a trend, but the points are spread widely around it). Use the buttons and the slider.

Try it: name that correlation

Look at the cloud of points and describe it in two words: strength and direction.

Outliers on scatter graphs. A point that sits far away from the pattern of all the others is an outlier. It might be a measuring mistake, or a genuinely unusual case (an ice cream van on the day a school trip visited). Mention it when you describe the graph, and don't let it drag your line of best fit (next section).

5 · Lines of best fit and estimating

When there is correlation, you can draw a line of best fit: a single straight line, drawn with a ruler, that follows the trend of the points as closely as possible. "By eye" means you judge it by looking; there is no formula to use at KS3. A good line of best fit:

Below is a shop's record of the temperature each day and the number of ice creams it sold. Drag the two orange handles to place your line. The feedback checks your line against the rules above.

Points above
Points below
Your line rises

Use your line to estimate

To read an estimate: start at the value you know on one axis, go straight to the line, then straight across (or down) to the other axis and read the value. Using the line inside the range of the data you collected is called interpolation, and it is fairly reliable. Using it outside that range is called extrapolation, and it is not reliable: the pattern may not carry on. This shop only measured days between 14 °C and 30 °C. Who knows what happens at 0 °C (the line says a negative number of ice creams!) or at 45 °C?

6 · Correlation does not mean causation

On hot days, ice cream sales go up. On hot days, the number of people with sunburn goes up too. So ice cream sales and sunburn have a strong positive correlation. Does eating ice cream give you sunburn? Of course not! Both are caused by a hidden third factor: hot, sunny weather.

Causation means one thing actually makes the other happen. Correlation only tells you that two things move together. They might move together because:

Sort each card. Does the first thing directly cause the second, or is it correlation only (a hidden third factor or coincidence)?

Causes it

    Correlation only

      7 · Common mistakes with scatter graphs

      These are the mistakes examiners see again and again. Pick one to see it drawn (in red), then press Show the fix to see it done properly (in green).

      Worked examples

      Describe this distribution: the number of pets owned by 20 students
      The data: 0 pets: 7 students; 1 pet: 6 students; 2 pets: 4 students; 3 pets: 2 students; 8 pets: 1 student. Check the total: 7 + 6 + 4 + 2 + 1 = 20 ✓
      Mean: total number of pets = 0 × 7 + 1 × 6 + 2 × 4 + 3 × 2 + 8 × 1 = 0 + 6 + 8 + 6 + 8 = 28. Mean = 28 ÷ 20 = 1.4 pets.
      Median: with 20 values, the middle is between the 10th and 11th. Values 1 to 7 are 0 and values 8 to 13 are 1, so the 10th and 11th are both 1. Median = 1 pet.
      Mode: 0 pets (7 students, the most). Range: 8 − 0 = 8.
      Outlier: 8 pets is far bigger than everything else (the next biggest is 3). Without it: 19 students, total 28 − 8 = 20 pets, mean = 20 ÷ 19 = 1.05 (2 d.p.), median is the 10th value = 1, range = 3 − 0 = 3. The outlier moved the mean (1.05 → 1.4) and the range (3 → 8) but not the median.
      Shape: most students have 0 or 1 pets, with a tail stretching towards higher numbers, so the distribution is skewed to the right (positive skew). Notice the mean (1.4) is pulled above the median (1) towards the tail.
      Compare two basketball players' points in five games
      Amir: 12, 15, 14, 13, 16. Total = 70, mean = 70 ÷ 5 = 14 points. Range = 16 − 12 = 4.
      Beth: 6, 22, 10, 25, 17. Total = 80, mean = 80 ÷ 5 = 16 points. Range = 25 − 6 = 19.
      Average, in context: On average, Beth scored more points per game, because her mean (16) is higher than Amir's (14).
      Spread, in context: Amir is more consistent, because his range (4) is smaller than Beth's (19): his scores are all close together, while Beth's go from 6 to 25.
      Who to pick? It depends. Beth scores more on average, but Amir is more reliable. Either answer is fine if you use the statistics to back it up.
      Estimate using a line of best fit, and spot extrapolation
      The data (age of a car in years, value in £): (1, 14 500), (2, 12 000), (3, 11 500), (5, 8000), (6, 6000), (7, 5500).
      Describe: as cars get older their value goes down, so this is strong negative correlation: older cars tend to be worth less.
      Line of best fit: a line through (1, 14 000) and (7, 5000). Check the balance: at age 1 the line gives 14 000 (point 14 500 is above), age 2 → 12 500 (point below), age 3 → 11 000 (point above), age 5 → 8000 (point on the line), age 6 → 6500 (point below), age 7 → 5000 (point above). 3 above, 2 below, 1 on it: balanced ✓
      Slope: from age 1 to age 7 (6 years) the value falls 14 000 − 5000 = £9000, so the line drops 9000 ÷ 6 = £1500 per year.
      Estimate for a 4-year-old car: from age 1, go on 3 years: 14 000 − 3 × 1500 = 14 000 − 4500 = £9500. Age 4 is inside the data (1 to 7), so this is interpolation and is reliable.
      A 12-year-old car? 14 000 − 11 × 1500 = 14 000 − 16 500 = −£2500. A negative price is impossible. Age 12 is outside the data, so this is extrapolation and is not reliable: the line can't be trusted out there.
      "Towns with more libraries have more crime." Do libraries cause crime?
      Is there correlation? Yes: the statement describes positive correlation between number of libraries and number of crimes.
      Is there a sensible direct cause? No. Libraries don't make people commit crimes, and crimes don't build libraries.
      Hidden third factor: the size of the town. Bigger towns have more people, so they have more libraries and more crimes.
      Answer: No. The correlation is real, but it is caused by a third factor (population), not by the libraries. Correlation does not mean causation.
      Spot and explain an outlier on a scatter graph
      The data (height in cm, arm span in cm): (150, 148), (155, 156), (160, 159), (165, 166), (170, 120), (175, 174).
      The pattern: for five people the arm span is within 2 cm of the height (148 vs 150, 156 vs 155, 159 vs 160, 166 vs 165, 174 vs 175). That's strong positive correlation: taller people tend to have longer arm spans.
      The outlier: (170, 120). A 170 cm person would be expected to have an arm span of about 170 cm, but this is 50 cm less. It is far from the pattern.
      Explanation: probably a measuring or recording mistake (perhaps 170 was meant). Ignore it when drawing the line of best fit, and mention it in your description.

      Quick check

      What you've learned