1. Learn
  2. /
  3. Courses
  4. /
  5. Modeling with Data in the Tidyverse

Connected

Exercise

Parallel slopes model

Let's now fit a "parallel slopes" model with the numerical explanatory/predictor variable log10_size and the categorical, in this case binary, variable waterfront. The visualization corresponding to this model is below:

Instructions

100 XP

Fit a multiple regression of log10_price using log10_size and waterfront as the predictors. Recall that the data frame that contains these variables is house_prices.