เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Refresher: sum of squared residuals

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

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Modeling with Data in the Tidyverse

ดูคอร์ส

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

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

# Calculate squared residuals
___
แก้ไขและรันโค้ด