Reference no: EM131926280
Problem
Acceptance of Consumer Loan Universal Bank has begun a program to encourage its existing customers to borrow via a consumer loan program. The bank has promoted the loan to 5000 customers, of whom 480 accepted the offer. The data are available in file UniversalBank.csv. The bank now wants to develop a model to predict which customers have the greatest probability of accepting the loan, to reduce promotion costs and send the offer only to a subset of its customers
We will develop several models, then combine them in an ensemble. The models we will use are (1) logistic regression, (2) k-nearest neighbors with k = 3, and (3) classification trees. Preprocess the data as follows:
• Zip code can be ignored.
• Partition the data: 60% training, 40% validation.
a. Fit models to the data for (1) logistic regression, (2) k-nearest neighbors with k = 3, and (3) classification trees. Use Personal Loan as the outcome variable. Report the validation confusion matrix for each of the three models.
b. Create a data frame with the actual outcome, predicted outcome, and each of the three models. Report the first 10 rows of this data frame.
c. Add two columns to this data frame for (1) a majority vote of predicted outcomes, and (2) the average of the predicted probabilities. Using the classifications generated by these two methods derive a confusion matrix for each method and report the overall accuracy.
d. Compare the error rates for the three individual methods and the two ensemble methods.
|
Chemical formula cucl2
: Copper(II) chloride has the chemical formula CuCl2. We wish to make a solution of copper(II) chloride by adding it to a volumetric flask
|
|
Provide the necessary number of moles
: How many liters would need to be added to provide the necessary number of moles? Round your answer to the nearest hundredth of a liter.
|
|
What annual savings in utility bills will the pv deliver
: A 30 Kw photovoltaic system on a building reduces the peak demand by 25 kW and reduces the annual electricity demand by 60,000 kWh/yr.
|
|
Which one of the following is correct given this information
: A new project with a life of 10 years, costs $210,000 and is expected to generate annual net cash inflows of $x each year.
|
|
Create a data frame with the actual outcome
: Create a data frame with the actual outcome, predicted outcome, and each of the three models. Report the first 10 rows of this data frame.
|
|
What is the minimum-cost schedule for the bank
: Chase Manhattan Bank- What is the minimum-cost schedule for the bank? What are the limitations of the model used to answer question 1?
|
|
What is the interest rate on one year loan
: The 3-year, 4-year, and 5-year zero-rate on a yield curve is 6%, 7% and 8% repectively. What is the interest rate on a 1-year $10,000 loan that you plan.
|
|
Write the reaction that occurs when hno3 is added
: Write the reaction that occurs when HNO3 is added to ammonium (NH4+)/ammonia (NH3) buffer system.
|
|
Research and perform two types of hypothesis tests
: For this project, you will be asked to do a little research and perform two types of hypothesis tests using data from the Global Values Survey
|