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 Qa # Customer 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.frametlmrk
# CG Qb # Use your fitted logistic regression and your "newdata" in the predict
########## function to make a prediction of the probability the customer would subscribe.
predicttlmrk new, type"response"
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
