Skip to content

Reading diagnostic plots

Match Q–Q, residual, scale-location and influence patterns with the problem each one signals.

Applied ~12 min8 steps

You will be able to

  • Read a Q–Q plot for skew and heavy tails
  • Recognize curvature and a fan in residuals
  • Tell a high-leverage point from an influential one

Read first

01

Why plots for models?

Read

A fitted model gives numbers whether or not its assumptions hold. Diagnostic plots show what's left over, and what's left over tells you whether to trust the numbers.

The rule: residuals should look like noise. Any pattern is something the model missed.

02

Read a Q–Q plot

Explore

Change the skew and the tail weight, and see the pattern each one makes.

AExplorable · Build a Q–Q plot

How do skewness and heavy tails show up in a normal Q–Q plot?

Before plotting: what pattern will the points make?

How sure?
0.80
1.00

Below 1: heavier tails.

80

Commit your prediction above to see the result

Make your prediction first; the figure appears when you commit.

Make your prediction to see the result.

  • Points follow the line: compatible with normality.
  • A curve bending one way: skew.
  • An S with both ends leaving the line: heavy or light tails.
03

The residual panel

Predict

Predict first

A plot of residuals against fitted values spreads out like a fan from left to right. What does that suggest?

Non-linearityUnequal varianceAn outlier
Reveal

The answer: Unequal variance

Unequal variance: the errors grow with the prediction. Coefficients can stay reasonable, but the usual standard errors are off. See how far below.

DExplorable · The heteroscedastic fan

When the spread grows with x, how far can you trust the usual standard error?

How often does the classical 95% interval cover the true slope?

0.85
How sure?
2.0

The noise SD is 0.25 + fan × x.

30
Simulating…

Commit your prediction above to see the result

Make your prediction first; the figure appears when you commit.

Make your prediction to see the result.

04

Name that failure

Explore

Each case hides one kind of failure. Read the residual plots, name the problem, then reveal the case.

DExplorable · Read the residuals

What does each kind of model failure look like in the residuals?

What is wrong with this regression?

How sure?

Case

80

Residuals against fitted

Normal Q–Q

Breusch–Pagan pRESET pShapiro–Wilk pDurbin–Watson
< .001.995.0612.28

Commit your prediction above to see the result

Make your prediction first; the figure appears when you commit.

Make your prediction to see the result.

Regression diagnostics panelDo a model's residuals show non-linearity, non-normality, unequal spread or influential points?
View data
fittedresidualstandardized residualleverageCook's D
12.788−0.4492−0.18910.00960.0002
15.384−0.7285−0.30810.01820.0009
13.7073.6521.5390.01170.0141
9.821−1.617−0.68070.00970.0023
10.6480.78630.33090.00860.0005
24.382−7.982−3.5460.11040.7799
13.728−3.056−1.2880.01180.0099
16.205−4.582−1.9420.02260.0436
9.2600.86560.36470.01090.0007
12.489−0.7608−0.32030.00910.0005
15.581−0.7684−0.32510.01920.0010
15.2512.0320.85910.01760.0066
12.125−0.3039−0.12790.00877.191e-5
5.350−1.110−0.47230.02970.0034
10.4693.3991.4310.00880.0091
10.9390.66180.27850.00840.0003
14.3702.2340.94270.01390.0063
11.564−2.412−1.0150.00840.0043
5.958−0.6530−0.27720.02560.0010
14.8291.7060.72050.01570.0041
15.4821.7640.74600.01870.0053
6.3490.53970.22880.02320.0006
15.013−0.0453−0.01910.01653.070e-6
4.981−0.4213−0.17950.03240.0005
12.1844.5271.9050.00880.0161
12.018−3.285−1.3820.00860.0083
14.164−1.411−0.59520.01320.0024
8.3800.06290.02650.01354.828e-6
14.8763.7501.5840.01590.0202
4.954−0.3416−0.14550.03260.0004
15.054−4.071−1.7200.01660.0251
7.476−0.3687−0.15580.01720.0002
5.605−0.9619−0.40880.02790.0024
7.0281.2110.51230.01940.0026
12.875−0.7572−0.31890.00980.0005
14.1772.4261.0230.01320.0070
16.1775.4552.3120.02240.0613
14.2430.20340.08580.01345.011e-5
13.268−1.406−0.59230.01060.0019
15.245−5.051−2.1360.01750.0407
13.682−1.392−0.58690.01170.0020
15.8761.0050.42560.02070.0019
5.227−0.8659−0.36850.03060.0021
16.107−3.348−1.4190.02200.0226
14.1361.4720.62100.01310.0026
15.0792.4761.0460.01680.0093
9.1172.0560.86660.01130.0043
9.339−1.011−0.42580.01070.0010
6.6700.92950.39370.02130.0017
13.7852.0240.85320.01200.0044
6.5531.1110.47070.02200.0025
8.9140.37890.15970.01180.0002
11.694−3.395−1.4290.00840.0087
12.3163.1111.3100.00890.0077
7.4901.1800.49860.01710.0022
7.775−2.189−0.92440.01590.0069
8.2830.79030.33350.01390.0008
8.6460.27920.11770.01268.867e-5
11.6446.0342.5390.00840.0273
8.342−2.315−0.97670.01370.0066

First 60 of 120 rows.

05

Leverage and influence

Read

A point far out on the x-axis has high leverage: it could move the line. It's influential only if it does.

Move the point around and watch leverage, the residual and Cook's distance change.

DExplorable · Leverage and influence

Which single points can move a regression line, and which cannot?

Will this point change the slope a lot?

How sure?
16.0
3.0

Commit your prediction above to see the result

Make your prediction first; the figure appears when you commit.

Make your prediction to see the result.

Cook's distance by row in Charts shows which rows matter most.

06

On a real result

In the app

Run linear regression in Analyze on a dataset of your own. Its result card shows diagnostic charts and assumption checks, each with a remedy if it fails.

Read the plots before the checks. Tests of assumptions have the same sample-size problems as normality tests.

07

Check your understanding

Checkpoint

Check yourself

Residuals against fitted values form a U shape. What does that suggest?

Show the answer

Answer: a

A systematic curve means the straight-line model leaves structure behind. Try a transformation or a spline.

Check yourself

A point has high leverage, and it lies exactly on the line fitted to the other points. Is it influential?

Show the answer

Answer: b

Influence is leverage combined with a large residual. Cook's distance measures the combination.

Check yourself

A Q–Q plot of residuals curves upward on the right, and sits on the line on the left. What's the likely problem?

Show the answer

Answer: a

The largest residuals are larger than a normal distribution would predict. A transformation of the outcome may help.

08

Recap

Recap
  • Residuals should look like noise.
  • A curve means missing shape, a fan means unequal variance, and an S means tail problems.
  • Leverage is potential; influence is what actually moves the fit.

Concepts in this lesson