A bank is interested in identifying different attributes of its customers and below is the sample data of 150 customers. In the data table for the dummy variable Gender, 0 represents Male and 1 represents Female. And for the dummy variable Personal loan, 0 represents a customer who has not taken personal loan and 1 represents a customer who has taken personal loan.
Partition the data into training (50 percent), validation (30 percent), and test (20 percent) sets. Use logistic regression to classify observations as Personal loan taken (or not taken) using Age, Gender, Work experience, Income (in 1000 $), and Family size as input variables and Personal loan as the output variable. Perform an exhaustive-search best subset selection with the number of best subsets equal to 2.
a. From the generated set of logistic regression models, select one that you believe is a good fit. Express the model as a mathematical equation relating the output variable to the input variables.
b. Increases in which variables increase the chance of a customer who has taken the personal loan? Increases in which variables decrease the chance of a customer who has not taken the personal loan?
c. Using the default cutoff value of 0.5 for your logistic regression model, what is the overall error rate on the test data?
Correct Answer:
Verified
Using Mallow's Cp statistic to gui...
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q26: A _ classifies a categorical outcome variable
Q29: An observation classified as part of a
Q41: A bank wants to understand better the
Q42: A retailer is interested in analyzing the
Q43: As part of the quarterly reviews, the
Q45: A bank wants to understand better the
Q46: A bank wants to understand better the
Q47: To examine the local housing market in
Q48: To examine the local housing market in
Q49: As part of the quarterly reviews, the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents