Selecting variables using the CHAID Modeling node
In this recipe we will identify and select variables to include as model inputs using the CHAID node.
You will need a copy of Microsoft Excel to visualize and select the chi-square values for each variable.
Getting ready
This recipe uses the datafile cup98lrn_reduced_vars3.sav
and the stream recipe_variableselection_chaid.str
.
How to do it...
To identify and select variables to include as model inputs using the CHAID node:
- Open the stream
variableselection_chaid.str
by navigating to File | Open Stream and selecting the stream. - Make sure the datafile points to the correct path for the file
cup98lrn_reduced_vars3.sav
. - Open the Type node named
CHAID Types
. Notice that there are several variables of type continuous ...
Get IBM SPSS Modeler Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.