Question: Use the data set Credit from the R library ISLR. You will build linear models to predict the response Rating. (1) Build a simple linear

Use the data set Credit from the R library ISLR. You will build linear models to predict the response Rating.

(1) Build a simple linear regression model with Income as the predictor, provide a summary of the fitted model, and show diagnostic plots for the model. 

(2) Build a multiple linear regression model with Income, Gender and Cards as predictors, provide a summary of the fitted model, the variance inflation factor for each predictor, and show diagnostic plots for the model. Caution:  make sure each predictor has the correct R object type; otherwise your model may be insensible. 

(3) Build a multiple linear regression model with all potential predictors in the data set, provide a summary of the fitted model, the variance inflation factor for each predictor, and show diagnostic plots for the model. 

Caution:  make sure each predictor has the correct R object type; otherwise your model may be insensible.

Step by Step Solution

3.48 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer 1 Simple Linear Regression Model with Income as the Predictor The first model we will build is a simple linear regression model with Income as the predictor This model will be used to predict t... View full answer

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!