BaşlayınÜcretsiz Başlayın

Multiple linear regression

Now let's roll Gender into our regression model of Weight using Height. Look at the scatter plot we made in a previous exercise. Does it seem like we should vary the slopes or not? Let's practice building both a same slope model and a different slopes model.

Bu egzersiz

Analyzing Survey Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Build a linear regression model same slope
mod1 <- svyglm(___ ~ ___, design = NHANES20_design)

# Print summary of the same slope model
summary(___)
Kodu Düzenle ve Çalıştır