Using residuals (1)
In the next few exercises, you will calculate residuals from a data set that complies with the linear regression technical conditions. For the linear model conditions to hold, the points should be scattered throughout the residual plot with no discernible pattern. Here, the residual plot looks like a scattering of points.
Cet exercice fait partie du cours
Inference for Linear Regression in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Using hypdata_nice, draw a scatter plot of response vs. explanatory
___