Question: 1 2 ) You will predict the loan term, which is either 3 6 or 6 0 . For this purpose, # first run the
You will predict the loan term, which is either or For this purpose,
# first run the following code to convert to and to
d$termCat factorifelsed$term
# Now your outcome variable to be predicted is termCat not term
# a Construct a logistic regression model to predict the termCat using predictors:
# totalincome and totalcreditutilized
# b Make a prediction using your model for the following new customer.
# Is the prediction or months?
totalincome
totalcreditutilized
new.customer data.frame totalincome totalcreditutilized
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
