The accompanying data set contains three predictor variables (x 1 , x 2 , and x 3
Question:
The accompanying data set contains three predictor variables (x1, x2, and x3) and the target variable (y).
a. Bin predictor variables x1 and x2. For Analytic Solver, choose the Equal count option and three bins for each of the three variables. For R, bin x1 into [0, 60), [60, 400), and [400, 30000); and x2 into [0, 160), [160, 400), and [400, 800). What are the bin numbers for the variables of the first two observations?
b. Partition the transformed data to develop a naïve Bayes classification model where “1” denotes the positive or success class for y. Report the accuracy, sensitivity, specificity, and precision rates for the validation data set.
c. Generate the ROC curve. What is the area under the ROC curve (or the AUC value)?
Step by Step Answer:
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen