An Intermediate Guide to SPSS Programming: Using Syntax for Data Management introduces the major tasks of data management and presents solutions using SPSS syntax. This book fills an important gap in the education of many students and researchers, whose coursework has left them unprepared for the data management issues which confront them when they begin to do independent research. It also serves as an introduction to SPSS programming; all the basic features of SPSS syntax are illustrated, as are many intermediate and advanced topics such as using vectors and loops, reading complex data files, and using the SPSS macro language.

Recoding and Creating Variables

This chapter discusses different ways to recode variables in SPSS and ways to create new variables. Specific topics discussed include the following:

  • The IF statement
  • Relational operators
  • Logical variables
  • Logical operators
  • Creating dummy variables
  • The RECODE and AUTORECODE commands
  • Converting variables from string to numeric or numeric to string
  • Counting ...
  • Loading...
locked icon

Sign in to access this content

Get a 30 day FREE TRIAL

  • Watch videos from a variety of sources bringing classroom topics to life
  • Read modern, diverse business cases
  • Explore hundreds of books and reference titles