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.
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_poor, draw a scatter plot of response vs. explanatory
___