Skip to content

Residuals and the regression assumptions

Read the residuals and residual plot of the advertising model, state the four LINE assumptions, and say what a curved or fanning plot means.

It opens on

Look at the ten misses of the fitted line from the actual sales. Are they scattered at random above and below the line, or do they follow a pattern?

Why it matters

A regression can have a high R Square and still be the wrong model, and a manager who forecasts from it needs the residuals to show that the model's assumptions hold.

Good to know first

  • residual

Step by step

  1. Residuals and the residual plot

    Compute residuals, read Excel's residual output and judge a residual plot for a random scatter.

    In week 3 advertising was 14 and sales 141. The line predicts 89.23 + 4.2106 × 14 = 148.18, so e = 141 − 148.18 = −7.18, a miss below the line.

    e = 141 − 148.18 = −7.18

    A common mix-up

    A residual plot with a high R Square above it is always fine.

    In fact: R Square can be high even when the plot shows a curve, so the residual plot must be looked at on its own.

  2. The LINE assumptions

    State the four assumptions of simple regression and match each to the residual pattern that shows it failing.

    A common mix-up

    The assumptions are about the x and y variables being normal.

    In fact: They are about the errors, the residuals around the line, not about the raw data.

  3. When the plot shows trouble

    Recognise a curved residual plot, see why a high R Square is not enough, and say what to do about it.

    A common mix-up

    A significant slope and high R Square mean the model is right.

    In fact: They can be high even when the straight-line form is wrong, so the residual plot must also be checked.

Try it

Using ŷ = 89.23 + 4.2106x, find the residual for the week with advertising 24 and sales 189.Answer

ŷ = 190.28 and e = −1.28

Hint: Predict, then actual minus predicted

A residual plot is a curve shaped like a smile. Which assumption fails and what could you try?Answer

Linearity; try a curved model or transform a variable

Hint: What shape does the line miss?

In one sentence, say what a residual plot should look like if the model is sound.Answer

a shapeless band of dots scattered evenly above and below zero, with no curve, funnel or drift

Hint: Say what is missing

Week 7 has residual 2.558. What is its standard residual, dividing by 4.0421?Answer

2.558 / 4.0421 = 0.63

A residual plot fans out as advertising rises, small misses at low x and big ones at high x. Which assumption fails?Answer

Equal variance

Residuals and the regression assumptions

30 minutes every month. No card.