Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Personal Loan Acceptance. Universal Bank is a relatively young bank growing rapidly in terms of overall customer acquisition. The majority of these customers are liability

Personal Loan Acceptance. Universal Bank is a relatively young bank growing rapidly in terms of overall customer acquisition. The majority of these customers are liability customers (depositors) with varying sizes of relationship with the bank. The customer base of asset customers (borrowers) is quite small, and the bank is interested in expanding this base rapidly to bring in more loan business. In particular, it wants to explore ways of converting its liability customers to personal loan customers (while retaining them as depositors). A campaign that the bank ran last year for liability customers showed a healthy conversion rate of over 9% success. This has encouraged the retail-marketing department to devise smarter campaigns with better target marketing. The goal is to use k-NN to predict whether a new customer will accept a loan offer. This will serve as the basis for the design of a new campaign. The file UniversalBank.csv contains data on 5000 customers. The data include customer demographic information (age, income, etc.), the customers relationship with the bank (mortgage, securities account, etc.), and the customer response to the last personal loan campaign (Personal Loan). Among these 5000 customers, only 480 (= 9.6%) accepted the personal loan that was offered to them in the earlier campaign. Remember to transform categorical predictors with more than two categories into dummy variables first. Also, use only the following predictors: Age, Experience, Income, Family, CCAvg, Education, Mortgage, Securities Account, CD Account, Online and Credit Card. For kNN, use library class, which automatically handles categorical predictors, rather than FNN.

a. Partition the data into training (60%) and validation (40%) sets.

b. Find the best k, based on accuracy of the confusion matrix for k = 1 to 10.

please include R code and screenshots please

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting For Non-Accountants

Authors: David Horner

10th Edition

0749472812, 978-0749472818

More Books

Students explore these related Accounting questions

Question

What is a budget? (p. 314)

Answered: 3 weeks ago