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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access