Interpreting residuals
Let's automate this process for all 21K rows in house_prices
to obtain residuals, which you'll use to compute the sum of squared residuals: a measure of the lack of fit of a model. After computing the sum of squared residuals, you will answer the following question:
Which of these statements about residuals is incorrect?
This exercise is part of the course
Modeling with Data in the Tidyverse
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Automate prediction and residual computation
___