Get startedGet started for free

Refresher: sum of squared residuals

Let's remind you how to compute the sum of squared residuals. You'll do this for two models.

This exercise is part of the course

Modeling with Data in the Tidyverse

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Model 2
model_price_2 <- lm(log10_price ~ log10_size + bedrooms, 
                    data = house_prices)

# Calculate squared residuals
___
Edit and Run Code