Introduction
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:
Requirements
- 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.).
Method
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.
See Also
How to Set the Value of Dont Knows to NaN
How to Recode into Existing or New Variables
How to Set High or Low Values to Missing in Numeric Variables
Comments
0 comments
Article is closed for comments.