Refer to the previous exercise for a description of the problem and data set. Create a classification

Question:

Refer to the previous exercise for a description of the problem and data set. Create a classification tree model for predicting whether the community member is likely to enroll in summer courses (ContinueEdu). Select the best-pruned tree for scoring and display the full-grown, best-pruned, and minimum error trees. 

a. How many leaf nodes are in the best-pruned tree and minimum error tree? What are the predictor variable and split value for the root node of the best-pruned tree? 

b. What are the accuracy rate, sensitivity, and specificity of the best-pruned tree on the test data? 

c. Display the cumulative lift chart, the decile-wise lift chart, and the ROC curve. Comment on the performance of the classification model? 

d. Score the two new cases in the Continue_Edu_Score worksheet using the best-pruned tree. What is the probability of the first community member enrolling in summer classes? What is the probability for the second community member?


Data from Exercise 13

Samantha Brown is Director of Continuing Education of a major university. The Continuing Education department offers a wide range of five-week courses to the community during the summer. Samantha would like to find out which community members are more likely to enroll in these summer courses. She has compiled a data set of 2,000 community members that includes the following variables: age (Age), years of marriage (Marriage), annual income (Income), education level (Edu), whether the person owns his or her residence (Own), whether the person owns a pet (Pet), whether the person lives in the city or suburb (City), and whether the person has enrolled in at least one continuing education course from the university before (ContinueEdu, 1 = enrolled, 0 otherwise). A portion of the Continue_Edu_ Data worksheet is shown in the accompanying table. Build a default classification tree to predict whether a community member is likely to enroll in summer courses. Display the default classification tree. 

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: