Probability that this customer will accept the loan offer

Assignment Help Other Subject
Reference no: EM13551959

The file contains data on 5000 customers of Universal Bank.

The data include customer demographic information (age, income, etc.), the customer's 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. In this exercise we focus on two predictors: Online (whether or not the customer is an active user of online banking services) and Credit Card (abbreviated CC below) (does the customer hold a credit card issued by the bank), and the outcome Personal Loan (abbreviated Loan below).

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

Table gives the pivot table for the training data with Online as a column variable, CC as a row variable, and Loan as a secondary row variable. The values inside the cells should convey the count (how many records are in that cell).

502_Compute the naive Bayes probability.png

1) Consider the task of classifying a customer that owns a bank credit card and is actively using online banking services. Looking at the pivot table, what is the probability that this customer will accept the loan offer? (This is the probability of loan acceptance (Loan=1) conditional on having a bank credit card (CC=1) and being an active user of online banking services (Online=1)).

2) Given the two separate pivot tables for the training data. Table 2 has Loan (rows) as a function of Online (columns) and Table 3 has Loan (rows) as a function of CC.

859_Compute the naive Bayes probability1.png

Table 2: Pivot tables for the training data: Loan (rows) as a function of Online (columns)

1008_Compute the naive Bayes probability2.png

Table 3: Pivot tables for the training data: Loan (rows) as a function of CC.

Compute the following quantities (P(A|B) means "the probability of A given B"):

i. P(CC = 1|Loan = 1) (the proportion of credit card holders among the loan acceptors)

ii. P(Online = 1|Loan = 1)

iii. P(Loan = 1) (the proportion of loan acceptors)

iv. P(CC = 1|Loan = 0)

v. P(Online = 1|Loan = 0)

vi. P(Loan = 0)

3) Use the quantities computed above to compute the naive Bayes probability:

P(Loan = 1|CC = 1; Online = 1)

4) Compare this value with the one obtained from the crossed pivot table in question 1). Which is a more accurate estimate?

5) Given the following table 4 as an output of XLMiner using KNN technique, what is a choice of k that balances between overfitting and ignoring the predictor information? Justify your answer.

824_Compute the naive Bayes probability3.png

Reference no: EM13551959

Questions Cloud

Discuss in detail why it might be dangerous to microwave : Discuss in detail why it might be dangerous to microwave raw eggs with their shell intact using the concepts learnt today (Hint: pV = nRT).
Estimate what is the unknown material : A mixture of iron and an unknown material is bombarded with electrons. What is the unknown material (use chemical symbol)
How much mass is hanging from the rope : A strong weightless rope has a mass m hanging from the middle of it, as shown. The tension force on each rope is 25 N, and the rope droops at an angle of 20.0°. How much mass is hanging from the rope?
Evaluate how many turns per unit length should it have : A solenoid is to have an inductance of 0.257 mH, a cross-sectional area of 5.56 10-4 m2, and a length of 39.6 cm. How many turns per unit length should it have
Probability that this customer will accept the loan offer : Task of classifying a customer that owns a bank credit card and is actively using online banking services. Looking at the pivot table, what is the probability that this customer will accept the loan offer?
What is the force on the proton : In a particle accelerator, a proton reaches an acceleration of 9.0 × 1013 m/s2. The mass of a proton is 1.7 × 10 -27 kg. What is the force on the proton?
Estimate what is the weight of the heaviest bear : The density of ice is 917 kg/m3, and the density of sea water is 1025 kg/m3. What is the weight of the heaviest bear that the ice can support without sinking completely beneath the water
A direction that causes the rod to rotate on the axle : A direction that causes the rod to rotate on the axle
Explain fill a balloon used as a trap in the fermentation : A student is required to prepare 25.0 mL of ethanol using a sucrose fermentation technique. How many mL of carbon dioxide can be expected to fill a balloon used as a trap in the fermentation

Reviews

Write a Review

Other Subject Questions & Answers

  Changed first-the starbucks customer or starbucks experience

Using the full spectrum of segmentation variables, describe how Starbucks initially segmented and targeted the coffee market. What changed first-the Starbucks customer or the Starbucks Experience? Explain.

  What is your definition andor understanding of action

answer the following questions1.what is your definition andor understanding of action research?2.what are the benefits

  What do these figures show nbsphow many different fuel

what do these figures show? nbsphow many different fuel types are included in the figures? nbsphow do china and the

  Potential advantages of membership in the organization

The function of the organization, as well as its mission and vision. Potential advantages of membership in the organization. Provide resource information for new members. Include the following: contact information, membership requirements, and organi..

  The first continental congress

The First Continental Congress..

  What is a good developmental psychology research topic

What is a good developmental psychology research topic. I have been assigned a research paper with a very specific topic an axample of this could be "how genetic factors affect children's temperament: a review of monozygotic twins raised apart."

  Over-medicating terminal patients

Assume that physician, Dr. Robinson is caring for patient, Mr. Mills who is suffering from end stage pancreatic cancer. The patient is in so much pain that he can barely speak enough to communicate the level of discomfort. Dr. Robinson considers a..

  Forensic psychology topic-false memories

Drafting a Quantitative Research Plan in a forensic psychology related topic. The draft must comprise the following:

  Questioncase studythe computer company compaq needed to

questioncase studythe computer company compaq needed to react to its competitors success at selling on the web and do

  Dna tests of blood found at the crime scene

DNA tests of blood found at the crime scene indicate a match with the defendant’s blood. Therefore, the defendant must have been present at the crime scene.

  Gastrectomy is listed principal procedure on surgical report

Cardiology is the study of the heart. Which of the following terms describes the foundation upon which the medical word is built that usually relates to the body organ involved? Gastrectomy is listed as the principal procedure on the surgical report

  Sociology concepts-two companies have decided to merge

Two companies have decided to merge. One company is a manufacturing company with @1500 employees. The other company is an information systems company that employs @ 200 people. The leaders of the two companies believe that they can complement each ot..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd