Recoding Variables in SPSS

Recoding Variables in SPSS - Basic Example

Recoding both string and numeric variables in SPSS is usually done with RECODE. Doing so with syntax is way faster than with the menu, especially if you want to recode many variables at once. Note that you'll often want to apply or adjust some value labels after recoding.
Alternatively, string variables can be recoded into numeric variables with AUTORECODE. Doing so applies the original string values as value labels to the newly created numeric variables.


SPSS Recoding Tutorials

SPSS – Merge Categories of Categorical Variable

Merging some categories of a categorical variable in SPSS is easy if you do it the right way. This tutorial demonstrates just that. Read More


The SPSS RECODE command usually replaces values with different values. It comes in handy for merging categories, dichotomizing continuous variables and some other tasks. This tutorial walks you through its main options, best practices and pitfalls. Read More


SPSS AUTORECODE creates a new numeric variable from a string variable. This tutorial demonstrates SPSS AUTRECODE along with examples and data. Read More

Other Recoding Tutorials

SPSS Recode – Cautionary Note

When variables are recoded, it is important to adjust their value labels as well. Otherwise, misleading data may result. Read More

SPSS Recode Values with Value Labels

In some cases we'd like to reverse code values so that higher values reflect a more positive attitude. This handy tool does so for one or many variables. Value labels are corrected automatically. Read More