CommencerCommencer gratuitement

Refresher: sum of squared residuals

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

Cet exercice fait partie du cours

Modeling with Data in the Tidyverse

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

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

# Calculate squared residuals
___
Modifier et exécuter le code