Question: I am working on a decision tree using R and Rattle. The data set had 17 fields including the binary variable (yes or no) on

I am working on a decision tree using R and Rattle.The data set had 17 fields including the binary variable (yes or no) on whether the customer subscribed to a term deposit. The variables in the data set that were relevant to the research question were age, type of job, marital status, education, credit in default, average yearly balance, whether the customer had a personal loan, contact method (unknown, telephone, cellular), duration of last contact (seconds), number of contacts performed during this campaign, number of days that passed after the client was last contacted, previous number of contacts, outcome of previous marketing campaign, and whether the client had a term deposit. The data set contained 45,211 entries for customer information and had no missing values in the data set.When I use Rattle to construct the tree, I only get the previous marketing outcome and duration of call. None of the other variables show up in my tree. How can I get other variables in the tree using Rattle?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!