ComeçarComece de graça

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.

Este exercício faz parte do curso

Inference for Linear Regression in R

Ver curso

Instruções do exercício

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

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Output the tidy model
Editar e executar o código