Residual plotWhat a model got wrong, point by point.

For every case, real minus predicted, around a line at zero. Random scatter means the model is fine; any shape means it misses something.

  • Answers Is the model any good?
  • Your data predicted and actual value per case
  • Cases about 20 to 10,000
  • Good sign no pattern around zero
  • Excel and Power BI a scatter chart
-50-250255075100200300400500Predicted priceActual minus predicted
House prices: actual minus predicted, in € thousands

What is a residual plot?

In one sentence

Why use a residual plot?

How does a residual plot work?

What are the parts of a residual plot?

How do you read a residual plot?

What kinds of residual plot are there?

When should you use a residual plot?

Residual plot or actual against predicted?

How do you make a residual plot?

What goes wrong with residual plots?

Model checks

Every chart for “Is the model any good?”

  1. ClassifiersROC curveHow well a model separates two classes, at every cut-off.
  2. ClassifiersConfusion matrixRight and wrong predictions in a 2 by 2 grid.
  3. ClassifiersLift chartHow much better a model finds the cases than picking at random.

Every chart, by its question

From the blog

Read on, step by step.

Every post

Your own numbers

Does it fit your data? Try it.

Paste your table into Chart Compass, say what the chart should show, and see the charts that fit, drawn with your own numbers. It runs in your browser, so the data stays with you.