In Recode values in the following columns, enter one or more columns that contain the values to recode. The columns must all be the same data type: numeric, date/time, or text.
Select the method of recoding, then enter the values to recode and the recoded values.
(Numeric or date/time source data only) Recode each range of numeric or date/time values to one numeric value. For example, you can change all values that are less than 0 to 0. Complete the following steps to specify the values to recode and the recoded values.
Lower endpoint | Upper endpoint | Recoded value |
---|---|---|
0 | 10 | 1 |
10 | 100 | 2 |
100 | 1000 | 3 |
1000 | 999999 | * |
Recode individual values to different individual numeric values. For example, you can change each instance of Red to 3.
To recode individual values, under Recoded value, enter the new value beside the corresponding Current value.
Recode one numeric value to a different numeric value. For example, you can change each instance of -999 to a missing value (denoted by *). Complete the following steps to specify the value to recode and the recoded value.
Recode the values that occur least frequently to a single value. For example, you can change the values that occur fewer than 5 times to a missing value (denoted by *). Complete the following steps to specify the values to recode and the recoded values.
Recode the values that occur least frequently to a single value. For example, you can change the 20% least frequent values to a missing value (denoted by *). Minitab uses the Pareto chart method to determine the values to recode. Minitab orders the values from most frequent to least frequent, then determines the cumulative percentage for each value. When the cumulative percentage surpasses the percentage that you specify, the remaining values are recoded.
Complete the following steps to specify the values to recode and the recoded values.
Select Show summary table to display a summary of the executed command.