SPSS Tutorials


Changing Variable Properties 2 – Names

The right way for changing variable names in SPSS is using RENAME VARIABLES. Changing variable names manually in variable view is a bad idea because you can't keep track of what you did. This tutorial shows a better alternative.

Changing Variable Names in SPSS

SPSS Rename Variables Syntax Examples

(The test data used by the syntax below are found here.)

*1. Basic variable renaming.

rename variables name = first_name.
rename variables married= marital_status.

*2. Rename both variables back to their original names (undo previous 2 commands).

rename variables (first_name marital_status = name married).

Previous tutorial: Changing Variable Properties 1 – Introduction

Next tutorial: Changing Variable Properties 3 – Type

Let me know what you think!

*Required field. Your comment will show up after approval from a moderator.

This tutorial has 3 comments