Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
IBM SPSS Modeler Essentials

You're reading from  IBM SPSS Modeler Essentials

Product type Book
Published in Dec 2017
Publisher Packt
ISBN-13 9781788291118
Pages 238 pages
Edition 1st Edition
Languages
Authors (2):
Jesus Salcedo Jesus Salcedo
Profile icon Jesus Salcedo
Keith McCormick Keith McCormick
Profile icon Keith McCormick
View More author details
Toc

Derive – Conditional


Deriving a field as a conditional is similar to deriving a field as a flag except that, typically, the expressions tend to be more complex, as they usually involve multiple fields or specific values of a field. One of the most common methods of deriving a field as a conditional is to contrast a group of interest with others.

With regards to our data, from previous research we know that education is related to income. We also know that employment status is associated with income. We already have an education field and a field identifying the number of weeks that someone has worked. However, we do not have a field that combines these two pieces of information. In this next example, we will create a new field called Educated_fulltime, that will identify people that have either a bachelor's degree or an advanced degree and have worked for 52 weeks in the past year:

  1. Place a Derive node onto the canvas.
  2. Connect the Derive node named Age_Groups to the new Derive node.
  3. Edit the...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}