Home

The Values Column of the SPSS Variable View Tab

|
|  Updated:  
2016-03-26 7:34:49
|   From The Book:  
No items found.
SPSS Statistics Workbook For Dummies
Explore Book
Buy On Amazon

The Values column in the SPSS Variable View tab is where you assign labels to all the possible values of a variable. If you select a cell in the Values column, a button with three dots appears. Clicking that button displays the dialog box shown here.

You can assign a name to each possible value of a variable.
You can assign a name to each possible value of a variable.

Normally, you make one entry for each possible value that a variable can assume. For example, for a variable named Sex you could have the value 1 assigned the label "Male" and 2 assigned the label "Female." Or, for a variable named Committed you could have 0 for "No," 1 for "Yes," and 2 for "Undecided." If you have labels defined, when SPSS displays output, it can show the labels instead of the values.

To define a label for a value:

  1. In the Value box, enter the value.

  2. In the Label box, enter a label.

  3. Click the Add button.

    The value and label appear in the large text block.

  4. To change or remove a definition, simply select it in the text block and make your changes; then click the Change button.

  5. Repeat Steps 1–4 as needed.

  6. Click OK to save the value labels and close the dialog box.

You can always come back and change the definitions using the same ­process you used to enter them. The dialog box will reappear, filled in with all the definitions; then you can update the list.

Sometimes you have a whole bunch of strings and you really don't want to make them all values because it seems like it'll be a lot of work. A variable like college major is a good example. If you dread setting up 1 as "Astrophysics," 2 as "Biology," 3 as "Chemistry," and so on, you can use a special dialog box called Automatic Recode (under the Transform menu) and it'll do all the work for you.

About This Article

This article is from the book: 

No items found.

About the book author:

Keith McCormick has traveled the world speaking at conferences teaching machine learning, data science, and SPSS. He currently serves as executive data scientist in residence at Pandata. Hundreds of thousands have watched his LinkedIn Learning courses.

Jesus Salcedo, PhD, studied psychometrics at Fordham and has been using SPSS for over 25 years. Currently at Wiley, he served as the SPSS curriculum lead at IBM and has trained thousands of users.