Recode a variable

Learn me by follow me exercises

For a categorical variable, if you want to recode/re-group the categories, you can right click the variable in the middle panel (variables name list) if you are in ¡°variables view window¡± or the right panel (variables name list) if you are in ¡°analysis design window¡±, select ¡°Recode¡± in the popup menu, or select ¡°Variable¡± from the main menu and click ¡°Recode¡±.

A new window, ¡°Recode Categorical Variable¡± will show up.  Original variable name and coding were listed in left panel and new variable name and coding were listed in right panel. Click the new variable name (for example, ¡°EDU_new¡±) to change it.  To change the new code, right click the code (for example ¡°4¡± in below picture) and then click the new code in the popup list (for example ¡°3¡±), then you changed the original code to the new code (for example, ¡°4¡± to ¡°3¡±).  You also can double click the code and type in new code in popup dialogue box.

Description: SNAGHTML25c071