How to Graph Residual Plots

Written by peter flom
  • Share
  • Tweet
  • Share
  • Email

In statistics, residuals are what is left over after fitting a model. Many statistical methods (such as multiple regression) make assumptions about the residuals. These assumptions can be checked with plots. In addition, in any model, residuals may indicate data entry errors or otherwise problematic points. Plotting is an essential part of statistical analysis.

Skill level:

Things you need

  • Statistical software, such as SAS, R, SPSS or other software.

Show MoreHide


  1. 1

    Plot the residuals against the fitted values from the model. In a linear regression plot, this plot should appear as a blob, with no pattern. This is a way of checking the assumption of homoscedasticity, or equality of variance.

  2. 2

    Plot the square roots of the residuals against fitted values from the model. This is another check of similar issues as the first plot, but it shows more clearly the size of the residual because the square roots are all positive.

  3. 3

    Make a quantile normal plot of the residuals for a visualisation of the normality of data. Linear regression assumes that the residuals are normally distributed.

  4. 4

    Plot Cook's distance against the residuals. Cook's distance is a measure of the influence of a particular data point on a regression equation. If a point has high influence, deleting it would make a big difference in the regression equation. It is a general principle that small changes in the input data should make small changes in the output. High influence points violate this assumption.

Tips and warnings

  • Any of these plots may be created in any good statistical package, such as SAS, R or SPSS.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.