Answer key · Unit 16
Statistics.
Each lesson’s practice questions, their correct answers and the mistakes they spot. Answers read off the Scene use the same setting the learner sees.
Answer key 5
Lesson 1 of 5 · About 25 minutes
Mean, median and mode
Three ways to give a long list of readings one number: the balance point, the value in the middle and the most common value, and what happens to each when a bad reading creeps in.
The 6 steps and their answers
Practice · Calculate
Question
Five friends counted the books they read in a year: . What is the mean?
Correct answer
8 ± 0.01
Setup, choices and feedback
The Scene at this step
- Scatter
- 1
- Bad reading
- off
- Readings / Mean and spread
- Mean and spread
- Accepted within
- ± 0.01
- A fixed value in the question
Wrong answers it recognises
7 ± 0.01
Misconception: Treats the mean, the median and the mode as one number, so any of them answers for the others.
Feedback from the catalogue
All three are “averages” in everyday speech, but each answers a different question. The mean is the total divided by the number of values, the balance point. The median is the value in the middle once the data are in order. The mode is the value that comes up most often. In symmetric data they are close, but with a tail to one side or an outlier they come apart, so it matters which one is asked for.
Feedback for a right answer
. If each of them had read books, together they would have read the same number of books.
Feedback for a wrong answer
Add the five numbers, then divide by .
Hint
Add up all the values and divide by how many there are.
Worked solution
- The total: .
- The number of values: .
- The mean: .
If you answered , you took the value in the middle (the median) or the one that appears twice (the mode). Here both are , but the mean is : the pulls it up.
Practice · Calculate
Question
The wait for a bus, in minutes, on five mornings: . What is the median?
Correct answer
8 min ± 0.01 min
Setup, choices and feedback
The Scene at this step
- Scatter
- 1
- Bad reading
- off
- Readings / Mean and spread
- Readings
- Accepted within
- ± 0.01 min
- A fixed value in the question
Any unit of the same quantity is accepted; it is converted before checking.
Wrong answers it recognises
9 min ± 0.01 min
Misconception: Takes the middle value of the list as written, without putting the values in order first.
Feedback from the catalogue
The median is the middle of the data in order of size, not the middle of the list as it was written. First sort from smallest to largest, and only then take the value in the middle. In the list the middle entry is , but once sorted, , the median is .
7.4 min ± 0.01 min
Misconception: Treats the mean, the median and the mode as one number, so any of them answers for the others.
Feedback from the catalogue
All three are “averages” in everyday speech, but each answers a different question. The mean is the total divided by the number of values, the balance point. The median is the value in the middle once the data are in order. The mode is the value that comes up most often. In symmetric data they are close, but with a tail to one side or an outlier they come apart, so it matters which one is asked for.
Feedback for a right answer
In order: , and the middle one is . Two times are shorter and two are longer.
Feedback for a wrong answer
Sort the five times by size and take the third.
Hint
Put the times in order from shortest to longest before you look for the middle.
Worked solution
- Sort from smallest to largest: .
- There are values, so the middle one is the third.
- The median is .
If you answered , you took the middle of the list as written, without sorting. If you answered , you worked out the mean: .
Practice · Calculate
Question
Six children have marbles. What is the median?
Correct answer
8 ± 0.01
Setup, choices and feedback
The Scene at this step
- Scatter
- 1
- Bad reading
- off
- Readings / Mean and spread
- Readings
- Accepted within
- ± 0.01
- A fixed value in the question
Wrong answers it recognises
6 ± 0.01
Misconception: With an even number of values, gives one of the two middle values as the median instead of their mean.
Feedback from the catalogue
With an even number of values there is no single value in the middle: there are two. The median is their mean, the point exactly between them. In the middle two are and , and the median is . That way half the values lie below it and half above.
10 ± 0.01
Misconception: With an even number of values, gives one of the two middle values as the median instead of their mean.
Feedback from the catalogue
With an even number of values there is no single value in the middle: there are two. The median is their mean, the point exactly between them. In the middle two are and , and the median is . That way half the values lie below it and half above.
9 ± 0.01
Misconception: Treats the mean, the median and the mode as one number, so any of them answers for the others.
Feedback from the catalogue
All three are “averages” in everyday speech, but each answers a different question. The mean is the total divided by the number of values, the balance point. The median is the value in the middle once the data are in order. The mode is the value that comes up most often. In symmetric data they are close, but with a tail to one side or an outlier they come apart, so it matters which one is asked for.
Feedback for a right answer
The middle two are and , and the median is their mean: . Three children are below it and three above.
Hint
The values are already in order, but there are six. Which two are in the middle?
Worked solution
- The values are in order: .
- There are values, an even number, so two sit in the middle: the third and the fourth, and .
- The median: .
If you answered or , you took only one of the middle two. If you answered , you worked out the mean: .
Practice · Calculate
Question
One morning a shop sold shoes in sizes . What is the mode?
Correct answer
38 ± 0.01
Setup, choices and feedback
The Scene at this step
- Scatter
- 1
- Bad reading
- off
- Readings / Mean and spread
- Readings
- Accepted within
- ± 0.01
- A fixed value in the question
Wrong answers it recognises
3 ± 0.01
Misconception: Gives how many times the most common value appears (or how tall the tallest bar is) instead of the value itself.
Feedback from the catalogue
The mode is the value that comes up most often, not the number of times it does. If size appears three times, the mode is , and is only how often it appears. On a histogram it is the difference between where the tallest bar stands (on the horizontal axis) and how tall it is.
40 ± 0.01
Misconception: Treats the mean, the median and the mode as one number, so any of them answers for the others.
Feedback from the catalogue
All three are “averages” in everyday speech, but each answers a different question. The mean is the total divided by the number of values, the balance point. The median is the value in the middle once the data are in order. The mode is the value that comes up most often. In symmetric data they are close, but with a tail to one side or an outlier they come apart, so it matters which one is asked for.
39 ± 0.01
Misconception: Treats the mean, the median and the mode as one number, so any of them answers for the others.
Feedback from the catalogue
All three are “averages” in everyday speech, but each answers a different question. The mean is the total divided by the number of values, the balance point. The median is the value in the middle once the data are in order. The mode is the value that comes up most often. In symmetric data they are close, but with a tail to one side or an outlier they come apart, so it matters which one is asked for.
Feedback for a right answer
Size was sold three times, more than any other. For the shop it is the useful number: that is the size to order more of.
Hint
Which size was sold most often?
Worked solution
- Count how often each size appears: once, three times, and every other size once.
- The mode is the size that appears most often: .
If you answered , you gave the number of times, not the size. If you answered , you worked out the mean (), and if , the median (). Shoes in size are no help to the shop: nobody bought one.
Practice · Predict, then look
Question
The twenty readings on the board have a mean of . Switch on Bad reading: one more reading, of . What happens to the mean and the median?
Correct answer
Correct The mean drops clearly, and the median hardly moves
Setup, choices and feedback
The Scene at this step
- Scatter
- 1fixed
- Bad reading
- offfixed
- Readings / Mean and spread
- Mean and spread
Choices
Correct The mean drops clearly, and the median hardly moves
Wrong Both drop by the same amount
Misconception: Expects one extreme value to drag the median as far as it drags the mean.
Feedback from the catalogue
The mean uses the size of every value, so one value far away pulls it along. The median uses only the order: one extreme value moves the middle by at most one place in the list, however far away it is. That makes the median resistant to outliers, which is why it is used for things like pay, where a few huge salaries inflate the mean.
Wrong The median drops more than the mean
Misconception: Expects one extreme value to drag the median as far as it drags the mean.
Feedback from the catalogue
The mean uses the size of every value, so one value far away pulls it along. The median uses only the order: one extreme value moves the middle by at most one place in the list, however far away it is. That makes the median resistant to outliers, which is why it is used for things like pay, where a few huge salaries inflate the mean.
Wrong Neither changes: one reading in makes no difference
Feedback
One reading does not shift the order much, which is why the median barely moves. But the mean adds up the sizes, and is away from the mean.
Once the prediction is locked in, the Scene changes
- Bad reading
- onfixed
- Readings / Mean and spread
- Mean and spread
The Scene then shows: 4.762 · Ȳ, the mean of the y values
/nodes/scatter/outputs/meanA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
The mean drops from to , the median only from to . The new reading goes to the bottom of the list and shifts the middle by just half a place.
Hint
The mean adds up every value. The median only asks who is in the middle.
Worked solution
- The mean: the total was . With the new reading it is still , but divided by : .
- The median: with readings it is the mean of the tenth and eleventh in order. With it is the eleventh, and the new reading went in at the bottom, so the eleventh is the old tenth: instead of .
- So the mean moves about seven times as far as the median.
Even if the bad reading had been , the median would have moved exactly as much. The mean would have plunged.
Practice · Calculate
Question
Twenty readings with a mean of exactly , and one bad reading of . What is the mean of all readings? Round to two decimal places.
Correct answer
4.762 ± 0.01
Setup, choices and feedback
The Scene at this step
- Scatter
- 1fixed
- Bad reading
- onfixed
- Readings / Mean and spread
- Readingsfixed
- Accepted within
- ± 0.01
- Computed from the Scene at this step’s setting
- Ȳ, the mean of the y values
/nodes/scatter/outputs/mean
Wrong answers it recognises
2.5 ± 0.01
Misconception: Averages two group means as if the groups were the same size: 20 readings averaging 5 and 1 reading of 0 give 2.5.
Feedback from the catalogue
An average of two averages gives each group the same weight, even when one is far bigger. Here there are readings averaging and one reading of . The total is over readings, so the mean is , not . The single reading is only one in .
Feedback for a right answer
. The board shows the same value at Mean and spread.
Feedback for a wrong answer
The bad reading counts: the total stays , but now you divide by .
Hint
What do the twenty readings add up to? Then add the new one and divide by the new count.
Worked solution
- From the mean back to the total: .
- Add the bad reading: , and there are now readings.
- The mean: .
If you answered , you averaged the two means, and , as if both groups were the same size. But one side has readings and the other only one.
Lesson 2 of 5 · About 25 minutes
Range and standard deviation
Two groups with the same mean can be very different. How far the values spread: the range, the standard deviation and why it squares, and what share of the readings falls within one standard deviation.
The 5 steps and their answers
Practice · Calculate
Question
The noon temperatures, in degrees Celsius, on five days: . What is the range?
Correct answer
12 ± 0.01
Setup, choices and feedback
The Scene at this step
- Scatter
- 1
- Bad reading
- off
- Readings / Mean and spread
- Readings
- Accepted within
- ± 0.01
- A fixed value in the question
Feedback for a right answer
degrees: every temperature lies inside a band wide.
Feedback for a wrong answer
The range is the gap between the highest value and the lowest.
Hint
Find the highest and the lowest.
Worked solution
- The highest: . The lowest: .
- The range: .
The range is easy to work out, but it depends only on the two extreme values. One unusually hot day would change it, even if all the other days were alike.
Practice · Calculate
Question
Eight readings: . The mean is . What is the standard deviation? (Divide by .)
Correct answer
2 ± 0.01
Setup, choices and feedback
The Scene at this step
- Scatter
- 1
- Bad reading
- off
- Readings / Mean and spread
- Mean and spread
- Accepted within
- ± 0.01
- A fixed value in the question
Wrong answers it recognises
7 ± 0.01
Misconception: Takes the standard deviation to be the range (largest minus smallest) or half of it.
Feedback from the catalogue
The range depends on only two values, the largest and the smallest. The standard deviation uses all of them: it is roughly the typical distance of a value from the mean. Square every distance, average, and take the root: . In the range is , but the standard deviation is only , because most values sit close to the mean of .
3.5 ± 0.01
Misconception: Takes the standard deviation to be the range (largest minus smallest) or half of it.
Feedback from the catalogue
The range depends on only two values, the largest and the smallest. The standard deviation uses all of them: it is roughly the typical distance of a value from the mean. Square every distance, average, and take the root: . In the range is , but the standard deviation is only , because most values sit close to the mean of .
Feedback for a right answer
The squares add to , their mean is , and the root is . A typical reading is about from the mean.
Hint
For each reading find its distance from , square it, average, and take the root.
Worked solution
- The distances from the mean: . They add to , as they always do, which is why we square them.
- The squares: , adding to .
- The variance: .
- The standard deviation: .
If you answered , you stopped at the variance and forgot the root. If you answered or , you worked out the range or half of it, which depend on only two values.
Practice · Reach the target
Question
Change Scatter until the standard deviation on the board is , then press Check.
Goal
1.5 ± 0.02
At the start of the step: 0.5
Setup, choices and feedback
The Scene at this step
- Scatter
- 0.5
- Bad reading
- offfixed
- Readings / Mean and spread
- Mean and spreadfixed
- Read from the Scene at
- S, the standard deviation of the y values (dividing by n)
/nodes/scatter/outputs/spread
One setting that reaches it
- Scatter
- 1.5
Feedback for a right answer
. Every distance from the mean grew three times, so the average square grew nine times and its root three times.
Feedback for a wrong answer
Not yet. Watch the value of the board prints as you move it.
Hint
The blue band is . Widen it.
Worked solution
- You start at , with Scatter at .
- Multiplying every distance from the mean by a number multiplies the standard deviation by the same number.
- To get from to you need three times as much: set Scatter to .
Practice · Predict, then look
Question
Switch Bad reading on again, a reading of . Which grows more, in proportion: the range or the standard deviation?
Correct answer
Correct The range nearly doubles, and the standard deviation grows by less than half
Setup, choices and feedback
The Scene at this step
- Scatter
- 1fixed
- Bad reading
- offfixed
- Readings / Mean and spread
- Mean and spreadfixed
Choices
Correct The range nearly doubles, and the standard deviation grows by less than half
Wrong Both grow by the same factor
Misconception: Takes the standard deviation to be the range (largest minus smallest) or half of it.
Feedback from the catalogue
The range depends on only two values, the largest and the smallest. The standard deviation uses all of them: it is roughly the typical distance of a value from the mean. Square every distance, average, and take the root: . In the range is , but the standard deviation is only , because most values sit close to the mean of .
Wrong The standard deviation grows more than the range
Feedback
The standard deviation is sensitive to far values, since it squares distances. But it averages over readings, while the range rests entirely on the extreme value.
Wrong Neither changes
No feedback of its own; the learner sees the standard message
Not yet. Look again and try once more.
Once the prediction is locked in, the Scene changes
- Bad reading
- onfixed
- Readings / Mean and spread
- Mean and spreadfixed
The Scene then shows: 7.109 · The range of the y values, largest − smallest
/nodes/scatter/outputs/rangeA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
The range jumps from to , nearly double, because the lowest value is now . The standard deviation rises from to .
Hint
The range depends on two values only. The standard deviation averages all of them.
Worked solution
- The range: before, from to , which is . With the bad reading the lowest is , so the range is .
- The standard deviation: the new reading is about from the mean, and its square, , joins twenty small squares. The mean square rises from to about , and its root from to .
- So the range nearly doubles, and the standard deviation rises by about .
Both measures react to an outlier, but the range is built entirely from the extremes, while the standard deviation shares the work among all the readings.
Practice · Calculate
Question
The blue band on the board is , from one standard deviation below the mean to one above it. How many of the readings lie inside it?
Correct answer
13 ± 0.4
Setup, choices and feedback
The Scene at this step
- Scatter
- 1fixed
- Bad reading
- offfixed
- Readings / Mean and spread
- Mean and spreadfixed
- Accepted within
- ± 0.4
- Computed from the Scene at this step’s setting
- Readings inside the band ȳ ± s, edges included
/nodes/scatter/outputs/inBand
Wrong answers it recognises
20 ± 0.4
Misconception: Expects (nearly) all the data to lie within one standard deviation of the mean.
Feedback from the catalogue
The standard deviation is a typical distance, not a largest one, so plenty of values lie farther out. In a normal distribution about of the values are within one standard deviation of the mean, about within two, and within three. So about a third of the values lie outside one standard deviation.
19 ± 0.4
Misconception: Expects (nearly) all the data to lie within one standard deviation of the mean.
Feedback from the catalogue
The standard deviation is a typical distance, not a largest one, so plenty of values lie farther out. In a normal distribution about of the values are within one standard deviation of the mean, about within two, and within three. So about a third of the values lie outside one standard deviation.
Feedback for a right answer
out of , which is : about two thirds. The other seven readings are farther than from the mean.
Feedback for a wrong answer
Count again the beads inside the band, between and .
Hint
Count the beads between the two dashed lines.
Worked solution
- Here and , so the band runs from to .
- Count the beads whose height is between and : .
- That is of the readings.
If you expected nearly all of them inside, remember that the standard deviation is a typical distance, not a largest one. Usually about a third of the readings lie outside it.
Lesson 3 of 5 · About 25 minutes
The normal distribution
A histogram shows how data spread out. On a Galton board: the mode is the tallest bar, the standard deviation grows like the square root of the number of rows, and the $68$–$95$ rule: how much of the data lies within one and two standard deviations.
The 5 steps and their answers
Practice · Calculate
Question
The board has rows, and the chance of bouncing right is . A bin’s number is how many times the ball went right, from on the left. What is the mode: which bin has the tallest bar?
Correct answer
2 ± 0.01
Setup, choices and feedback
The Scene at this step
- Rows of pegs
- 10fixed
- Chance of bouncing right
- 25 %fixed
- Balls / Bell curve
- Bell curve
- Other settings
- Probe
/nodes/board/props/probe= 2
- Accepted within
- ± 0.01
- Computed from the Scene at this step’s setting
- The bin with the highest chance (the lower one on a tie)
/nodes/board/outputs/likeliestBin
Wrong answers it recognises
2.5 ± 0.01
Misconception: Treats the mean, the median and the mode as one number, so any of them answers for the others.
Feedback from the catalogue
All three are “averages” in everyday speech, but each answers a different question. The mean is the total divided by the number of values, the balance point. The median is the value in the middle once the data are in order. The mode is the value that comes up most often. In symmetric data they are close, but with a tail to one side or an outlier they come apart, so it matters which one is asked for.
140.8 ± 20
Misconception: Gives how many times the most common value appears (or how tall the tallest bar is) instead of the value itself.
Feedback from the catalogue
The mode is the value that comes up most often, not the number of times it does. If size appears three times, the mode is , and is only how often it appears. On a histogram it is the difference between where the tallest bar stands (on the horizontal axis) and how tall it is.
Feedback for a right answer
Bin : two bounces right and eight left. That is the mode, the most common result, even though the mean is .
Hint
Look at the amber bars: which is the tallest? Count bins from the left, starting at .
Worked solution
- On the histogram each bar is a bin, and its height is how many balls are expected in it.
- The tallest bar stands over bin , so the mode is .
- The mean, , falls between two bins: no ball lands “in bin ”. That is why the mode and the mean differ here.
If you answered a number around , you gave the bar’s height, how many balls are in the bin, not the bin itself.
Practice · Reach the target
Question
On a fair board the standard deviation is bins, where is the number of rows and . Change Rows of pegs so the standard deviation is exactly bins, then press Check.
Goal
2 ± 0.01
At the start of the step: 1.414
Setup, choices and feedback
The Scene at this step
- Rows of pegs
- 8
- Chance of bouncing right
- 50 %fixed
- Balls / Bell curve
- Bell curve
- Read from the Scene at
- The standard deviation in bins, √(rows · p · (1 − p))
/nodes/board/outputs/spread
One setting that reaches it
- Rows of pegs
- 16
Feedback for a right answer
rows: . Doubling the standard deviation takes four times as many rows.
Feedback for a wrong answer
Not yet. How many rows give ?
Hint
has to be .
Worked solution
- You want .
- Square both sides: .
- So : set Rows of pegs to .
With rows the standard deviation is , not : it grows like the square root of the number of rows, not like the number itself.
Practice · Predict, then look
Question
The board has fair rows: the mean is bin and the standard deviation bins. What share of the balls lands between bin and bin , within one standard deviation of the mean?
Correct answer
Correct About two thirds
Setup, choices and feedback
The Scene at this step
- Rows of pegs
- 16fixed
- Chance of bouncing right
- 50 %fixed
- Balls / Bell curve
- Balls
Choices
Correct About two thirds
Wrong About a third
Feedback
A third is roughly the share outside one standard deviation, on both sides together.
Wrong About
Feedback
is roughly the share within two standard deviations.
Wrong Nearly all of them
Misconception: Expects (nearly) all the data to lie within one standard deviation of the mean.
Feedback from the catalogue
The standard deviation is a typical distance, not a largest one, so plenty of values lie farther out. In a normal distribution about of the values are within one standard deviation of the mean, about within two, and within three. So about a third of the values lie outside one standard deviation.
Once the prediction is locked in, the Scene changes
- Balls / Bell curve
- Bell curve
The Scene then shows: 0.6677 · The share of the histogram's area, bars one bin wide, between mean − within × spread and mean + within × spread, 0 to 1
/nodes/board/outputs/shareWithinA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
About of the histogram’s area lies between and , very close to the normal curve’s .
Hint
The standard deviation is a typical distance from the mean, not the largest one.
Worked solution
- The histogram of rows is almost the same as the bell curve, the normal distribution.
- In a normal distribution about of the area lies within , here between and .
- On the board itself: of the bars’ area, with half of bars and falling inside the range.
About a third of the balls land more than one standard deviation from the mean, and that is perfectly ordinary.
Practice · Predict, then look
Question
And what share lies within two standard deviations, between bin and bin ?
Correct answer
Correct About
Setup, choices and feedback
The Scene at this step
- Rows of pegs
- 16fixed
- Chance of bouncing right
- 50 %fixed
- Balls / Bell curve
- Balls
Choices
Correct About
Wrong Every ball
Feedback
Close, but not all: about one ball in twenty lands farther out.
Wrong Twice the share for one standard deviation: more than all of them
Feedback
A share cannot pass . Each further standard deviation adds less, because the curve is low at the edges.
Wrong About
No feedback of its own; the learner sees the standard message
Not yet. Look again and try once more.
Once the prediction is locked in, the Scene changes
- Balls / Bell curve
- Bell curve
- Other settings
- Within
/nodes/board/props/within= 2
The Scene then shows: 0.951 · The share of the histogram's area, bars one bin wide, between mean − within × spread and mean + within × spread, 0 to 1
/nodes/board/outputs/shareWithinA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
of the area: almost exactly . Only one ball in twenty lands outside bins to .
Hint
The curve falls fast away from the middle. How much is left beyond two standard deviations?
Worked solution
- The –– rule: in a normal distribution lies within one standard deviation, within two, within three.
- Here two standard deviations are bins, so the range runs from bin to bin .
- The board gives , just as the rule says.
Practice · Calculate
Question
Adult women’s heights are roughly normal, with a mean of 162 cm and a standard deviation of 6 cm. About what per cent of women are between 150 cm and 174 cm tall? Write the number only.
Correct answer
95 ± 1.5
Setup, choices and feedback
The Scene at this step
- Rows of pegs
- 16
- Chance of bouncing right
- 50 %
- Balls / Bell curve
- Bell curve
- Accepted within
- ± 1.5
- A fixed value in the question
Wrong answers it recognises
100 ± 1.5
Misconception: Expects (nearly) all the data to lie within one standard deviation of the mean.
Feedback from the catalogue
The standard deviation is a typical distance, not a largest one, so plenty of values lie farther out. In a normal distribution about of the values are within one standard deviation of the mean, about within two, and within three. So about a third of the values lie outside one standard deviation.
Feedback for a right answer
: two standard deviations each side, so about .
Feedback for a wrong answer
How many standard deviations lie between the mean and each end? belongs to one standard deviation only.
Hint
How many standard deviations are there from 162 to 174?
Worked solution
- The distance from the mean to each end: and .
- In standard deviations: .
- By the –– rule, about lie within two standard deviations.
Only about one woman in twenty is taller than 174 cm or shorter than 150 cm, about half of them on each side.
Lesson 4 of 5 · About 25 minutes
Correlation
Two variables together: the scatter plot, the direction and strength of a link, the correlation coefficient $r$ and what it does not measure: not the slope, not a link that is not a straight line, and not a cause.
The 6 steps and their answers
Practice · Predict, then look
Question
The readings on the board fall from left to right, and hug a line fairly closely. What will the correlation coefficient be?
Correct answer
Correct Close to
Setup, choices and feedback
The Scene at this step
- Slope
- -0.6fixed
- Noise
- 0.8fixed
- Outlier
- offfixed
- Measurements / Best-fit line
- Measurementsfixed
Choices
Correct Close to
Wrong Close to , because the points hug a line
Feedback
The points do hug a line, so is far from . But the line falls, so the sign is negative.
Wrong Negative, so a weak link
Misconception: Takes a negative correlation coefficient as a weak or missing link.
Feedback from the catalogue
The sign of only tells the direction of the link: positive when rises with , negative when it falls. The strength is the size of , its distance from . is a strong link, stronger than : the points hug a falling line.
Wrong Close to
No feedback of its own; the learner sees the standard message
Not yet. Look again and try once more.
Once the prediction is locked in, the Scene changes
- Measurements / Best-fit line
- Best-fit linefixed
The Scene then shows: -0.872 · The correlation coefficient, NaN when every y is the same
/nodes/scatter/outputs/rA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
: a strong negative link. As grows, shrinks, and the points stay close to the falling line.
Hint
The sign of is the direction of the line. Its size is how tightly the cloud hugs it.
Worked solution
- The direction: the points fall, so .
- The strength: the points are close to a line, so is close to .
- Together: is close to . The board gives .
A negative is not a weak link. is exactly as strong as , just the other way.
Practice · Predict, then look
Question
Right now . Turn Noise down from to , keeping the slope the same. What happens to ?
Correct answer
Correct gets closer to
Setup, choices and feedback
The Scene at this step
- Slope
- 0.6fixed
- Noise
- 1.6fixed
- Outlier
- offfixed
- Measurements / Best-fit line
- Best-fit linefixed
Choices
Correct gets closer to
Wrong stays the same, since the slope did not change
Misconception: Reads the strength of a correlation from how steep the points rise, rather than how tightly they hug a line.
Feedback from the catalogue
The correlation coefficient does not measure the slope. It measures how tightly the points line up: is near or when they lie almost on a straight line, and near when they are scattered. A gentle, tight cloud gives a higher than a steep, scattered one. The slope answers a different question: how much rises when rises by .
Wrong gets smaller
No feedback of its own; the learner sees the standard message
Not yet. Look again and try once more.
Wrong becomes , because there is hardly any noise
Feedback
With no noise the points sit exactly on the line, which is the strongest link, .
Once the prediction is locked in, the Scene changes
- Noise
- 0.4fixed
- Measurements / Best-fit line
- Best-fit linefixed
The Scene then shows: 0.9663 · The correlation coefficient, NaN when every y is the same
/nodes/scatter/outputs/rA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
rises to . The same slope, but the points hug the line more tightly, so the link is stronger.
Hint
measures how tightly the points hug a line.
Worked solution
- The noise is the scatter of the points about the line. When it shrinks, the points move closer to the line.
- That is exactly what measures: is the share of the scatter in the line accounts for.
- So rises, from to , even though the slope stays .
Practice · Predict, then look
Question
Two clouds of points. Cloud A has slope and noise : a gentle, tight rise. Cloud B has slope and noise : a steep, scattered rise. Which has the larger ?
Correct answer
Correct Cloud A, the gentle, tight one
Setup, choices and feedback
The Scene at this step
- Slope
- 1
- Noise
- 2
- Outlier
- offfixed
- Measurements / Best-fit line
- Measurementsfixed
Choices
Correct Cloud A, the gentle, tight one
Wrong Cloud B, the steep one
Misconception: Reads the strength of a correlation from how steep the points rise, rather than how tightly they hug a line.
Feedback from the catalogue
The correlation coefficient does not measure the slope. It measures how tightly the points line up: is near or when they lie almost on a straight line, and near when they are scattered. A gentle, tight cloud gives a higher than a steep, scattered one. The slope answers a different question: how much rises when rises by .
Wrong Both have the same , since both rise
No feedback of its own; the learner sees the standard message
Not yet. Look again and try once more.
Once the prediction is locked in, the Scene changes
- Slope
- 0.3
- Noise
- 0.2
- Measurements / Best-fit line
- Best-fit linefixed
The Scene then shows: 0.9663 · The correlation coefficient, NaN when every y is the same
/nodes/scatter/outputs/rA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
Cloud A has . Try cloud B ( and ): only . Slope and strength are two different things.
Hint
Ask how far the points are from the line, not how steep it is.
Worked solution
- does not depend on the slope itself, but on how much the line explains compared with the scatter about it.
- In cloud A the scatter, , is tiny next to the rise across the board, so .
- In cloud B the line is steep, but the scatter, , is large, so .
If you chose cloud B, you read the strength from the slope. The slope says how much rises; says how confidently you can predict it.
Practice · Reach the target
Question
Change Slope and Noise until the correlation coefficient is , then press Check.
Goal
-0.9 ± 0.02
At the start of the step: 0.8857
Setup, choices and feedback
The Scene at this step
- Slope
- 0.6
- Noise
- 0.8
- Outlier
- offfixed
- Measurements / Best-fit line
- Best-fit linefixed
- Read from the Scene at
- The correlation coefficient, NaN when every y is the same
/nodes/scatter/outputs/r
One setting that reaches it
- Slope
- -0.25
- Noise
- 0.3
Feedback for a right answer
is close to : a strong falling link. Many settings get there, because depends on the slope compared with the noise.
Feedback for a wrong answer
Not yet. The sign comes from the slope, the size from how much noise there is next to it.
Hint
First turn the line round, then tune the noise until arrives.
Worked solution
- A negative needs a negative slope: take Slope below , say to .
- With and Noise you get , a little too weak. Turn Noise down a touch, to , and reaches .
- A steeper slope with a little more noise works too: what matters is how they compare.
Practice · Choose
Question
A ball is thrown up and its height measured every tenth of a second, from the throw until it is back in the hand. The scatter plot of height against time gives . What does that tell you?
Correct answer
Correct There is no straight-line link: the height depends on time, but along an arch, not a straight line
Setup, choices and feedback
The Scene at this step
- Slope
- 0
- Noise
- 0.8
- Outlier
- off
- Measurements / Best-fit line
- Best-fit line
Choices
Shown in a random order.
Correct There is no straight-line link: the height depends on time, but along an arch, not a straight line
Wrong The height has nothing to do with the time
Misconception: Concludes from r near 0 that the two variables have no relationship at all.
Feedback from the catalogue
measures only a straight-line link, how well a line describes the points. Points on a symmetric parabola, such as the height of a ball thrown up against time, give , even though the height is fixed entirely by the time. Look at the scatter plot before you compute .
Wrong The measurements must be wrong
Feedback
The measurements are fine. simply is not built for an arch: half the points rise and half fall, and the two cancel.
Wrong The link is weak: the height can be predicted only roughly
No feedback of its own; the learner sees the standard message
Not yet. Look again and try once more.
Feedback for a right answer
The points sit on a parabola, and the height can be predicted exactly from the time. measures only how well a straight line describes them.
Hint
Picture the points: what shape do they make?
Worked solution
- The height rises and then falls, so the points form a symmetric arch.
- The straight line that fits them best is almost level, so .
- But the link is perfect: gives the height at every moment.
That is why you always look at the scatter plot, not just at .
Practice · Choose
Question
In a seaside town, over a year, weekly ice-cream sales and the number of drownings that week are strongly correlated: . What can you conclude?
Correct answer
Correct Probably a third thing, hot weather, raises both
Setup, choices and feedback
The Scene at this step
- Slope
- 0.6
- Noise
- 0.8
- Outlier
- off
- Measurements / Best-fit line
- Best-fit line
Choices
Shown in a random order.
Correct Probably a third thing, hot weather, raises both
Wrong Ice cream causes drowning, and its sale should be limited
Misconception: Reads a strong correlation as proof that one variable causes the other.
Feedback from the catalogue
A correlation says that two variables rise and fall together, not why. Often a third factor moves both: in hot summers more ice cream is sold, and more people swim, and so more drown. Ice cream does not cause drowning. To know what causes what you need an experiment, where you change one thing and hold everything else fixed.
Wrong Drownings make people buy ice cream
Misconception: Reads a strong correlation as proof that one variable causes the other.
Feedback from the catalogue
A correlation says that two variables rise and fall together, not why. Often a third factor moves both: in hot summers more ice cream is sold, and more people swim, and so more drown. Ice cream does not cause drowning. To know what causes what you need an experiment, where you change one thing and hold everything else fixed.
Wrong The correlation is a fluke and means nothing
Feedback
A correlation of over a whole year is unlikely to be a fluke. It is real; it just does not say what causes what.
Feedback for a right answer
In hot weeks more ice cream is sold, and more people go into the sea. The heat moves both variables, so they rise and fall together.
Hint
When do people buy a lot of ice cream, and when do they swim in the sea?
Worked solution
- A correlation says only that two variables change together.
- Here a third variable affects both: the temperature. Summer brings both more ice cream and more swimming.
- To test whether ice cream causes drowning you would need an experiment: change only the ice-cream sales and hold the weather fixed.
A correlation is a clue worth looking into, not proof of a cause.
Lesson 5 of 5 · About 25 minutes
The line of best fit
Which straight line fits a cloud of points best? Turn a line by hand until the squares add up to the least, and discover least squares, the balance point, predicting from the line, and what an outlier does to it.
The 5 steps and their answers
Practice · Reach the target
Question
Your line passes through . Change Slope of your line until the squares’ area is at most above the least possible, then press Check.
Goal
0 ± 5
At the start of the step: 363.9
Setup, choices and feedback
The Scene at this step
- Slope of your line
- 0
- Noise
- 0.8fixed
- Outlier
- offfixed
- Measurements / Best-fit line
- Mean and spreadfixed
- Read from the Scene at
- Per cent by which the squares about the hand-turned line exceed the least possible (the best-fit line’s); 0 at the least-squares slope
/nodes/scatter/outputs/guessExcess
One setting that reaches it
- Slope of your line
- 0.55
Feedback for a right answer
You found the bottom of the parabola. At this slope the residuals’ squares add up to the least they can: this is the line of best fit, “least squares”.
Feedback for a wrong answer
Not yet. If the squares grow as you raise the slope, go the other way.
Hint
Watch the average square under the plot and the dot on the chart beside the Scene: look for the slope where they are smallest.
Worked solution
- At slope the line is the mean line, and its squares are the scatter of about .
- As you raise the slope towards the points, the sticks shorten and the squares shrink.
- Past a certain point the line is too steep and the squares grow again. The total area is a parabola in the slope, with its bottom at a slope of about .
- Any slope from to passes the check.
Practice · Choose
Question
Which point does the line of best fit always pass through, whatever the cloud of points?
Correct answer
Correct The balance point
Setup, choices and feedback
The Scene at this step
- Slope of your line
- 0fixed
- Noise
- 0.8fixed
- Outlier
- offfixed
- Measurements / Best-fit line
- Best-fit line
Choices
Shown in a random order.
Correct The balance point
Wrong The first and the last reading
Misconception: Draws the line of best fit through the first and last points, or through as many points as possible.
Feedback from the catalogue
The line of best fit need not pass through any reading. It is the line for which the total of the squared vertical distances from all the points is smallest, so every point has a say, not just two. It always passes through the balance point , the means of both variables.
Wrong The origin
Feedback
Only if by chance . Here the line crosses the -axis at about .
Wrong Through as many readings as possible
Misconception: Draws the line of best fit through the first and last points, or through as many points as possible.
Feedback from the catalogue
The line of best fit need not pass through any reading. It is the line for which the total of the squared vertical distances from all the points is smallest, so every point has a say, not just two. It always passes through the balance point , the means of both variables.
Feedback for a right answer
The line of best fit always passes through , so its equation is .
Hint
On the board the line turns about one point. Which?
Worked solution
- For any slope , the line that fits the points best passes through : then the residuals balance and add to .
- That leaves only the slope to choose, which is what you did by hand in the last step.
- So : on the board .
The line need not pass through any reading. Every reading has a say through its square.
Practice · Calculate
Question
The board prints the line of best fit, . By it, what is the predicted value of at ? Round to two decimal places.
Correct answer
6.861 ± 0.05
Setup, choices and feedback
The Scene at this step
- Slope of your line
- 0defaultfixed
- Noise
- 0.8fixed
- Outlier
- offfixed
- Measurements / Best-fit line
- Best-fit linefixed
- Accepted within
- ± 0.05
- Computed from the Scene at this step’s setting
- Ŷ at predictX on the best-fit line, a + b·predictX
/nodes/scatter/outputs/prediction
Feedback for a right answer
. That is the prediction for a typical value at ; a single reading there would miss it by about .
Feedback for a wrong answer
Put in and remember : the line does not pass through the origin.
Hint
Put into the equation on the board.
Worked solution
- From the board: .
- Put in : .
- Add the intercept: .
If you got , you left out . And a prediction inside the range of the readings, like this one, is far more trustworthy than one well outside it.
Practice · Predict, then look
Question
Switch on Outlier: one reading on the right, far below the rest. What happens to the slope of the line of best fit, now ?
Correct answer
Correct The line gets flatter
Setup, choices and feedback
The Scene at this step
- Slope of your line
- 0defaultfixed
- Noise
- 0.8fixed
- Outlier
- offfixed
- Measurements / Best-fit line
- Best-fit linefixed
Choices
Correct The line gets flatter
Wrong The line gets steeper
No feedback of its own; the learner sees the standard message
Not yet. Look again and try once more.
Wrong The line stays put: it is one reading in
Feedback
For the median one reading makes little difference, but not for the line: it shrinks squares, and a far reading has a huge square.
Once the prediction is locked in, the Scene changes
- Outlier
- onfixed
- Measurements / Best-fit line
- Best-fit linefixed
The Scene then shows: 0.4675 · B, the least-squares slope Sxy / Sxx
/nodes/scatter/outputs/slopeA prediction is never marked as a failure: the learner sees the outcome and the explanation either way.
Feedback for a right answer
The slope drops to . The outlier’s square is so large that the line gives up some fit to the rest to get closer to it.
Hint
A far reading has a huge square. Which way will the line move to shrink it?
Worked solution
- The outlier sits at , about below the line. Its square is about , more than all the other squares together.
- To shrink the total, the line lowers its right-hand end towards it.
- So the slope drops from to , and from to .
Unlike the median, the line of best fit is very sensitive to outliers, because of the squares. So it pays to check any suspicious reading.
Practice · Calculate
Question
A study finds between hours of study and marks. What per cent of the scatter in the marks (of the squares’ area about the mean) does the line of best fit account for? Write the number only.
Correct answer
64 ± 0.5
Setup, choices and feedback
The Scene at this step
- Slope of your line
- 0defaultfixed
- Noise
- 0.8
- Outlier
- off
- Measurements / Best-fit line
- Best-fit line
- Accepted within
- ± 0.5
- A fixed value in the question
Feedback for a right answer
: the line removes of the squares’ area, and remains as scatter about the line.
Feedback for a wrong answer
Not itself: the share explained is , as the board prints it, .
Hint
On the board, which number compares the two average squares?
Worked solution
- The board shows that : the share of the squares’ area about the mean that the line removes.
- Here .
- That is .
sounds like “”, but the share explained is smaller. And accounts for only a quarter.
Across the unit · 13 misconceptions
Misconception catalogue
Each common mistake this unit recognises, in a few words. Open one for what the learner reads when an answer matches it, and where it is asked.
Treats the mean, the median and the mode as one number, so any of them answers for the others.
- The learner reads
All three are “averages” in everyday speech, but each answers a different question. The mean is the total divided by the number of values, the balance point. The median is the value in the middle once the data are in order. The mode is the value that comes up most often. In symmetric data they are close, but with a tail to one side or an outlier they come apart, so it matters which one is asked for.
Takes the middle value of the list as written, without putting the values in order first.
- The learner reads
The median is the middle of the data in order of size, not the middle of the list as it was written. First sort from smallest to largest, and only then take the value in the middle. In the list the middle entry is , but once sorted, , the median is .
- Recognised in
With an even number of values, gives one of the two middle values as the median instead of their mean.
- The learner reads
With an even number of values there is no single value in the middle: there are two. The median is their mean, the point exactly between them. In the middle two are and , and the median is . That way half the values lie below it and half above.
- Recognised in
Gives how many times the most common value appears (or how tall the tallest bar is) instead of the value itself.
- The learner reads
The mode is the value that comes up most often, not the number of times it does. If size appears three times, the mode is , and is only how often it appears. On a histogram it is the difference between where the tallest bar stands (on the horizontal axis) and how tall it is.
Expects one extreme value to drag the median as far as it drags the mean.
- The learner reads
The mean uses the size of every value, so one value far away pulls it along. The median uses only the order: one extreme value moves the middle by at most one place in the list, however far away it is. That makes the median resistant to outliers, which is why it is used for things like pay, where a few huge salaries inflate the mean.
- Recognised in
Averages two group means as if the groups were the same size: 20 readings averaging 5 and 1 reading of 0 give 2.5.
- The learner reads
An average of two averages gives each group the same weight, even when one is far bigger. Here there are readings averaging and one reading of . The total is over readings, so the mean is , not . The single reading is only one in .
- Recognised in
Takes the standard deviation to be the range (largest minus smallest) or half of it.
- The learner reads
The range depends on only two values, the largest and the smallest. The standard deviation uses all of them: it is roughly the typical distance of a value from the mean. Square every distance, average, and take the root: . In the range is , but the standard deviation is only , because most values sit close to the mean of .
Expects (nearly) all the data to lie within one standard deviation of the mean.
- The learner reads
The standard deviation is a typical distance, not a largest one, so plenty of values lie farther out. In a normal distribution about of the values are within one standard deviation of the mean, about within two, and within three. So about a third of the values lie outside one standard deviation.
Reads the strength of a correlation from how steep the points rise, rather than how tightly they hug a line.
- The learner reads
The correlation coefficient does not measure the slope. It measures how tightly the points line up: is near or when they lie almost on a straight line, and near when they are scattered. A gentle, tight cloud gives a higher than a steep, scattered one. The slope answers a different question: how much rises when rises by .
Takes a negative correlation coefficient as a weak or missing link.
- The learner reads
The sign of only tells the direction of the link: positive when rises with , negative when it falls. The strength is the size of , its distance from . is a strong link, stronger than : the points hug a falling line.
- Recognised in
Concludes from r near 0 that the two variables have no relationship at all.
- The learner reads
measures only a straight-line link, how well a line describes the points. Points on a symmetric parabola, such as the height of a ball thrown up against time, give , even though the height is fixed entirely by the time. Look at the scatter plot before you compute .
- Recognised in
Reads a strong correlation as proof that one variable causes the other.
- The learner reads
A correlation says that two variables rise and fall together, not why. Often a third factor moves both: in hot summers more ice cream is sold, and more people swim, and so more drown. Ice cream does not cause drowning. To know what causes what you need an experiment, where you change one thing and hold everything else fixed.
- Recognised in
Draws the line of best fit through the first and last points, or through as many points as possible.
- The learner reads
The line of best fit need not pass through any reading. It is the line for which the total of the squared vertical distances from all the points is smallest, so every point has a say, not just two. It always passes through the balance point , the means of both variables.
- Recognised in