This article describes how to recode a categorical variable in which the value attributes are coded with standard numeric coding (i.e., 1, 2, 3, etc.):
To a variable with the value attributes are recoded using the midpoints of the categorical ranges:
- A categorical variable labeled with numeric ranges which represent each category, but which is coded with standard numeric codes/values (i.e., 1, 2, 3, etc.).
1. Select the categorical variable from the Data Sets tree.
2. From the toolbar, select Anything > Data > Variables > Modify > Recode > Recode Variable(s) Using Code/Category Midpoints.
3. Click the Values button from the object inspector to review and confirm the assigned recoded values.