Session Ready
Exercise

Fitting a MLR model

In terms of the R code, fitting a multiple linear regression model is easy: simply add variables to the model formula you specify in the lm() command.

In a parallel slopes model, we had two explanatory variables: one was numeric and one was categorical. Here, we will allow both explanatory variables to be numeric.

Instructions
100 XP

The dataset mario_kart is already loaded in your workspace.

  • Fit a multiple linear regression model for total price as a function of the duration of the auction and the starting price.