IniziaInizia gratis

LA Homes, multicollinearity (1)

In the next series of exercises, you will investigate how to interpret the sign (positive or negative) of the slope coefficient as well as the significance of the variables (p-value). You will continue to use the log transformed variables so that the technical conditions hold, but you will not be concerned here with the value of the coefficient.

Questo esercizio fa parte del corso

Inference for Linear Regression in R

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Output the tidy model
Modifica ed esegui il codice