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...

  1. Open the stream Recipe - variable construct multiple derive.str by clicking on File | Open Stream.
  2. Make sure the datafile points to the correct path to the datafile cup98lrn_reduced_vars3.sav.
  3. Add a Derive node to the stream and connect it to the Type node called First Type.
  4. 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.