Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Statistics · Unit 5 · Step-Through Animation

Linear Regression Models

Predicted, On Average, Inside the Range

You'll learnwhat the hat on a predicted value means, the four elements a slope interpretation is graded on, when the intercept means something and when it is an extrapolation in disguise, how to make a prediction, and why the arithmetic keeps working long after the prediction stops meaning anything.

A regression line turns an association into a prediction rule: score = 58.5 + 3.5 · hours. The two sentences that interpret it are graded on two words each — predicted, and on average — and this page lets the data do the grading. The line says 83 at seven hours, and the seven-hour student scored 86, so "will score 83" is refuted by the very cloud the line came from. Then the other boundary: at 20 hours the equation returns 128.5 points on an exam whose maximum is 100. The arithmetic is fine and the prediction is worthless, and where those two facts part company is what this topic is about. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · THE HAT · THE SLOPE · THE INTERCEPT · EXTRAPOLATION · v2

Predicted 83, actual 86; at 20 hours the equation says 128.5 of 100
Before you start
What you're looking at
The eight students' cloud and the least-squares line through it, used the way a line is actually used: to predict.
The question
What does 58.5 + 3.5 · hours promise — for whom, how precisely, and over what range of hours?
Step 1 / 12

Read all 12 steps as text
Step 1

Eight students, and one line through them

The cloud is the data and the line is the model: one straight rule that offers a score for every number of study hours, including hours nobody in the picture actually studied.

Step 2

The line written out

The fitted model is \(\widehat{\text{score}} = 58.5 + 3.5(\text{hours})\), and writing it with the variable names rather than \(x\) and \(y\) keeps the units in sight.

Step 3

One more hour, one more step

Walk the line an hour at a time and every riser is the same height, which is what makes the model linear: the page checks that the step from six hours to seven equals the slope to twelve decimals.

Step 4

Predicted, on average, per extra hour

The graded sentence carries four pieces: predicted, because the model does not determine; on average, because individuals vary; the units on both variables; and per additional hour rather than per hour in total.

Step 5

At seven hours the line says 83

Trace up from seven hours to the line and across to the score axis, and then look at the student who actually studied seven hours: the dot floats above the line, joined to it by a short stem.

Step 6

Predicted is not promised

Draw every stem at once and the students land above the line and below it in no particular order — one of them, at a single hour, exactly on it — which is precisely what a predicted average allows.

Step 7

Follow the line back to zero hours

Run the line left until it reaches the vertical axis and it arrives at the intercept, the value the model offers for a student who studies no hours at all.

Step 8

The intercept is the prediction at zero

Here zero sits just below the observed one to eight hours, so the reading is supportable; a wolf regression whose intercept is \(-14\) kg is the same arithmetic carried far outside the data, where the line has nothing behind it.

Step 9

Six hours: the line predicts 79.5

To predict, substitute: six hours gives \(58.5 + 3.5(6) = 79.5\) points, and six sits comfortably inside the observed range, which is where the data have earned the line its say.

Step 10

Now ask the same line about twenty hours

The window widens to twenty-one hours, the eight students bunch up on the left where they were actually observed, and the line carries on dashed into a region nobody measured.

Step 11

The arithmetic works; the prediction does not

Nothing in data covering one to eight hours says the relationship stays straight out to twenty, and the impossible answer is only the easy-to-spot symptom — a prediction at ten hours would look ordinary and be almost as unsupported.

Step 12

The line gives an average, not a person

Two students scored exactly the same and the line puts one above it and one below, which is the whole content of "predicted, on average" in a single picture.