Jerry Stevenson is the manager of a travel agency. He wants to build a model that can

Question:

Jerry Stevenson is the manager of a travel agency. He wants to build a model that can predict customers’ annual spending on travel products. He has compiled a data set that contains the following variables: whether the individual has a college degree (College), whether the individual has credit card debt (CreditCard), annual household spending on food (FoodSpend), annual income (Income), and annual household spending on travel products (TravelSpend). A portion of the Travel_Data worksheet is shown in the accompanying table. Create a regression tree model for predicting the customer’s annual household spending on travel products (TravelSpend). 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 the minimum error tree? What are the rules that can be derived from the root node of the best-pruned tree? 

b. What are the RMSE and MAD of the best-pruned tree on the test data? 

c. Score the two new customers in the Travel_Score worksheet using the best-pruned tree. What are their predicted annual spending amounts on travel products?

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: