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

Fitting a regression with a numerical x

Let's now explicity quantify the linear relationship between score and bty_avg using linear regression. You will do this by first "fitting" the model. Then you will get the regression table, a standard output in many statistical software packages. Finally, based on the output of get_regression_table(), which interpretation of the slope coefficient is correct?

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

Modeling with Data in the Tidyverse

ดูคอร์ส

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

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

# Load package
library(moderndive)

# Fit model
model_score_2 <- lm(___ ~ ___, data = evals)

# Output content
model_score_2
แก้ไขและรันโค้ด