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

LA Homes, multicollinearity (2)

Repeat the previous exercise, but this time regress the log transformed variable price on the new variable bath which records the number of bathrooms in a home.

Bu egzersiz

Inference for Linear Regression in R

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

Egzersiz talimatları

  • Run a linear regression on log price versus log bath for the LAhomes dataset, then tidy the output.
  • Look at the output. Is the relationship is positive or negative? Is relationship is significant?

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Output the tidy model
Kodu Düzenle ve Çalıştır