This is an individual assignment. You are allowed to collaborate with other students. However, you are not allowed to copy others code and/or report. You are expected to write your own code and produce your own report as a pdf file. Use R Markdown to produce this report.
10. This question should be answered using the Carseats data set.
(a) Fit a multiple regression model to predict Sales using Price, Urban, and US.
(b) Provide an interpretation of each coefficient in the model. Be careful—some of the variables in the model are qualitative!
(c) Write out the model in equation form, being careful to handle the qualitative variables properly.
(d) For which of the predictors can you reject the null hypothesis LaTeX: H_{0} : beta_{j} = 0?
(e) On the basis of your response to the previous question, fit a smaller model that only uses the predictors for which there is evidence of association with the outcome.
(f) How well do the models in (a) and (e) fit the data?
(g) Using the model


0 comments