statable Statistics for study and research

Recoding

Existing codes are replaced by others. This serves to merge levels, to reverse a scale or to correct codes. Best practice is to create a new variable and keep the original.

Example: A scale from 1 to 5 is reversed with new = 6 - old: 1 becomes 5, 2 becomes 4, 3 stays 3.

Caution: If the original variable is overwritten, a mistake can no longer be traced. After reversing, the direction of the scale again matches the other items.

Related

Open in Statable