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, x2, and x3. For Analytic Solver, choose the Equal count option and three bins for each of the three variables. For R, bin x1 into [0, 6), [6, 14), and [14, 30); x2 into [0, 10), [10, 20), and [20, 61); and x3 into [0, 3), [3, 5), and [5, 10). 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)? 

d. Change the cutoff value to 0.2. Report the accuracy, sensitivity, specificity, and precision rates for the validation data set.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics Communicating With Numbers

ISBN: 9781260785005

1st Edition

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

Question Posted: