Using residuals (2)
Now, you will calculate residuals from a data set that violates the technical conditions. For the linear model conditions to hold, the points should be scattered throughout the residual plot with no discernible pattern. Here the residuals reveal a violation of the technical conditions.
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_poor, draw a scatter plot of response vs. explanatory
___