Building transformations with multiple Derive nodes
In this recipe we will create several new variables with a single Derive node by invoking the multiple radio button.
Getting ready
This recipe uses the datafile cup98lrn_reduced_vars3.sav
and the stream Recipe - variable construct multiple derive.str
.
How to do it...
- Open the stream
Recipe - variable construct multiple derive.str
by clicking on File | Open Stream. - Make sure the datafile points to the correct path to the datafile
cup98lrn_reduced_vars3.sav
. - Add a Derive node to the stream and connect it to the Type node called
First Type
. - Open the Derive node, click on the Multiple radio button. In the Derive from region, select all of the RFA variables, from RFA_2 to RFA_24. You can select multiple ...
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.