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.
This exercise is part of the course
Inference for Linear Regression in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Using hypdata_nice, draw a scatter plot of response vs. explanatory
___