Building the Model
- To run a Decision Tree analysis, from the
menus choose:
Figure 1. Decision Tree dialog box - Select Price of primary vehicle as the dependent variable.
- Select all the remaining variables as independent variables. (The procedure will automatically exclude any variables that don't make a significant contribution to the final model.)
- For the growing method, select CRT.
- Click Output.
Figure 2. Output dialog box, Rules tab - Click the Rules tab.
- Select (check) Generate classification rules.
- For Syntax, select IBM® SPSS® Statistics.
- For Type, select Assign values to cases.
- Select (check) Export
rules to a file and enter a filename and directory location.
Remember the filename and location or write it down because you'll need it a little later. If you don't include a directory path, you may not know where the file has been saved. You can use the Browse button to navigate to a specific (and valid) directory location.
- Click Continue, and then click OK to run the procedure and build the tree model.