Question: When building a multiple linear regression model, if we wish to predict the profit margin based on the list price and color of a car,
When building a multiple linear regression model, if we wish to predict the profit margin based on the list price and color of a car, we would
create a single dummy variable for the color and use the dummy variable in our model.
be better off using a classification decision tree instead.
not be able to create a regression model since the color is categorical data.
have to create dummy binary variables for each car color and use those in the model.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
