O'Reilly logo

Regression Analysis with R by Giuseppe Ciaburro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Diagnostic plots

The best way to appreciate the results of a simulation is to display them in special charts. In fact, we have already used this technique in this section: I am referring to the chart in which we have drawn the scatter plot of distribution with regression line. Now we will see other plots that will allow us to check the model hypotheses.

Previously, we have already verified whether the model worked well for our data. We did it by analyzing the results of the regression model, such as slope and intercept coefficients, p-value, or R-squared value ,that tell us how a model represents the starting data. That way, however, we did not finish our checks. For example, residuals might show how a model does not represent the data. Residuals ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required