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 (i.e. 18 to 24, or 25-29), but which is coded with standard numeric codes/values (i.e., 1, 2, 3, etc.).
1. Select the categorical variable in 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.
You can also recode the variable into a new Numeric variable using this process: How to Recode Numeric Variable(s) from Code/Category Midpoints
How to Recode Net Promoter Score (NPS) Variable(s)
How to Exclude Don't Knows from Averages but Include in Percentages
How to Recode into Existing or New Variables
How to Set High or Low Values to Missing in Numeric Variables
Article is closed for comments.