SPSS Value Labels

The VALUE LABELS command sets value labels.


Usage

value labels foo
 1 "Yes"
 2 "No"
 /bar
 "Y" "Yes"
 "N" "No".

Note that string variables are checked case-insensitively for value labels.

Add Value Labels

The VALUE LABELS command clears any pre-existing value labels when setting new ones. To instead add value labels, use the ADD VALUE LABELS command.

add value labels foo
 1 "Yes"
 2 "No"
 /bar
 "Y" "Yes"
 "N" "No".


Data Model

The VALUE LABELS command executes immediately. Pending transformations are not executed and the active dataset is not read.


See also

PSPP manual for VALUE LABELS


CategoryRicottone

SPSS/ValueLabels (last edited 2023-06-12 00:17:25 by DominicRicottone)