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.

Variables and Variable Formats

This chapter discusses different types of variables and variable formats used in SPSS, including

  • String and numeric variables
  • Scratch variables
  • Input and output formats
  • The NUMBER format
  • The COMMA, DOT, DOLLAR, and PCT formats

Logical variables, which take a value of true or false, are discussed in Chapter 21.

String and Numeric Variables

SPSS uses two types of variables: string and numeric. String variables are also called alpha or alphanumeric ...

  • 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