Question: cor) 9. This question involves the use of multiple linear regression on the Auto data set. (a) Produce a scatterplot matrix which includes all of

cor) 9. This question involves the use of
cor) 9. This question involves the use of multiple linear regression on the Auto data set. (a) Produce a scatterplot matrix which includes all of the variables in the data set. (b) Compute the matrix of correlations between the variables using the function cor(). You will need to exclude the name variable, which is qualitative. (c) Use the im() function to perform a multiple linear regression with mpg as the response and all other variables except name as the predictors. Use the summary() function to print the results. Comment on the output. For instance: i. Is there a relationship between the predictors and the re- sponse? ii. Which predictors appear to have a statistically significant relationship to the response? iii. What does the coefficient for the year variable suggest? (d) Use the plot() function to produce diagnostic plots of the linear regression fit. Comment on any problems you see with the fit. Do the residual plots suggest any unusually large outliers? Does the leverage plot identify any observations with unusually high leverage? (e) Use the * and : symbols to fit linear regression models with interaction effects. Do any interactions appear to be statistically significant? (b) Try a few different transformations of the variables, such as log(x), VX, X2. Comment on your findings. cor) 9. This question involves the use of multiple linear regression on the Auto data set. (a) Produce a scatterplot matrix which includes all of the variables in the data set. (b) Compute the matrix of correlations between the variables using the function cor(). You will need to exclude the name variable, which is qualitative. (c) Use the im() function to perform a multiple linear regression with mpg as the response and all other variables except name as the predictors. Use the summary() function to print the results. Comment on the output. For instance: i. Is there a relationship between the predictors and the re- sponse? ii. Which predictors appear to have a statistically significant relationship to the response? iii. What does the coefficient for the year variable suggest? (d) Use the plot() function to produce diagnostic plots of the linear regression fit. Comment on any problems you see with the fit. Do the residual plots suggest any unusually large outliers? Does the leverage plot identify any observations with unusually high leverage? (e) Use the * and : symbols to fit linear regression models with interaction effects. Do any interactions appear to be statistically significant? (b) Try a few different transformations of the variables, such as log(x), VX, X2. Comment on your findings

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 General Management Questions!