Reader small image

You're reading from  IBM SPSS Modeler Essentials

Product typeBook
Published inDec 2017
PublisherPackt
ISBN-139781788291118
Edition1st Edition
Right arrow
Authors (2):
Jesus Salcedo
Jesus Salcedo
author image
Jesus Salcedo

Jesus Salcedo has a PhD in psychometrics from Fordham University. He is an independent statistical consultant and has been using SPSS products for over 20 years. He is a former SPSS Curriculum Team Lead and Senior Education Specialist who has written numerous SPSS training courses and trained thousands of users.
Read more about Jesus Salcedo

Keith McCormick
Keith McCormick
author image
Keith McCormick

Keith McCormick is a career long practitioner of predictive analytics and data science. He has engaged in statistical modeling, data mining, and mentoring others in the area for more than 20 years. He has a particular expertise in helping organizations perform their first predictive analytics project or build their first predictive analytics practice, and has done so in a variety of industries including healthcare, banking, telecommunications, non-profit, direct mail, pharmaceuticals, and retail. Keith is also an established author and speaker with four books in print, or under contract. Although his consulting work is not restricted to any one tool, his writing and speaking has made him particularly well known in the IBM SPSS Statistics and IBM SPSS Modeler communities.
Read more about Keith McCormick

View More author details
Right arrow

Sorting cases


At times it is useful to see if any values look unusual. The Sort node arranges cases into ascending or descending order based on the values of one or more fields. It also helps in the optimization of other nodes so that they perform more efficiently:

  1. Place a Sort node from the Record Ops palette onto the canvas.
  2. Connect the Select node to the Sort node.
  3. Edit the Sort node.

You can sort data on more than one field. In addition, each field can be sorted in ascending or descending order:

  1. Click on the Field Chooser button.
  2. Select Age in the Sort by: fieldbox.
  3. Click OK:

We will now rank the age cases in ascending order (the youngest people will be at the top of the file and the oldest people will be at the bottom of the file):

  1. Click OK.

Now let's take a look at the results from the Sort node:

  1. Connect the Sort node to a Table node.
  2. Run the Table node:

Notice that there are no longer any children in this file, as the youngest people in the dataset are 18 years old.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
IBM SPSS Modeler Essentials
Published in: Dec 2017Publisher: PacktISBN-13: 9781788291118

Authors (2)

author image
Jesus Salcedo

Jesus Salcedo has a PhD in psychometrics from Fordham University. He is an independent statistical consultant and has been using SPSS products for over 20 years. He is a former SPSS Curriculum Team Lead and Senior Education Specialist who has written numerous SPSS training courses and trained thousands of users.
Read more about Jesus Salcedo

author image
Keith McCormick

Keith McCormick is a career long practitioner of predictive analytics and data science. He has engaged in statistical modeling, data mining, and mentoring others in the area for more than 20 years. He has a particular expertise in helping organizations perform their first predictive analytics project or build their first predictive analytics practice, and has done so in a variety of industries including healthcare, banking, telecommunications, non-profit, direct mail, pharmaceuticals, and retail. Keith is also an established author and speaker with four books in print, or under contract. Although his consulting work is not restricted to any one tool, his writing and speaking has made him particularly well known in the IBM SPSS Statistics and IBM SPSS Modeler communities.
Read more about Keith McCormick