Question: Fit the multiple linear regression model to the Carseats dataset with Sales as the response variable and all the other variables as well as the

Fit the multiple linear regression model to the Carseats dataset with Sales as the response variable and all the other variables as well as the interaction terms, Income x Advertising and Price x Age, as predictors (this is the model fit in the Lab). Then fit the model again, but this time add the argument:

contrasts = list(ShelveLoc=contr.treatment(c("Bad", "Good", "Medium"), base = 3))

This changes the dummy variables so that the 3rd level in the ShelveLoc factor ("Medium") is used as the baseline level. You should find that the model fit is identical for both models (other than the intercept estimate and the coefficient estimates for the dummy variables). What are the two dummy variable coefficient estimates? (Round your answers to 2 decimal places.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!