Inizia subitoInizia gratis

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.

Questo esercizio fa parte del corso

Inference for Linear Regression in R

Visualizza corso

Istruzioni dell'esercizio

  • 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?

esercizio interattivo pratico

Prova questo esercizio completando questo codice di esempio.

# Output the tidy model
Modifica ed esegui il codice