Question: # CG Q 6 a # Customer 1 0 in our dataset did not end up subscribing to the term deposit. ########## Let's use our

# CG Q6a # Customer 10 in our dataset did not end up subscribing to the term deposit.
########## Let's use our fitted model to see what it would have predicted for this customer.
########## First, create an object called "new" that that you will pass to the predict()
########## function in the newdata argument.
new <- data.frame(tlmrk[10])
# CG Q6b # Use your fitted logistic regression and your "newdata" in the predict()
########## function to make a prediction of the probability the customer would subscribe.
predict(tlmrk, new, type="response")

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 Databases Questions!