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
Step: 1
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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started