MulaiMulai sekarang secara gratis

Refresher: sum of squared residuals

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

Latihan ini adalah bagian dari kursus

Modeling with Data in the Tidyverse

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

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

# Calculate squared residuals
___
Edit dan Jalankan Kode