Published online by Cambridge University Press: 05 June 2012
Overview
To recode a variable is to change the values of a variable. In the process of doing this, we create another variable to represent these changes. Recoding is typically performed to achieve one of two goals:
We may wish to modify or exchange the values of the variable. For example, items that are reverse worded in a survey must be realigned. Assume our inventory assesses self-esteem, with items rated on a 7-point scale with the anchor of 1 indicating not very true for me and the anchor of 7 indicating very true for me. Higher scores on the inventory reflect greater levels of self-esteem. Further assume that one of the several items on the inventory that is reverse worded reads, “I don't like myself.” Respondents with high levels of self-esteem should rate this item quite low, perhaps a 1 or 2, whereas those with low levels of self-esteem should rate this item relatively high, perhaps with a 5 or 6. Before combining this item with the other items (which are positively worded), it must be reverse scored such that 1s must be converted to 7s, 2s converted to 6s, and so on prior to combining items together. In this sense, the values of the item (a variable in the data set) must be recoded.
We may wish to consolidate codes or information. For example, each different ethnicity originally might be assigned a different code during data entry but we may need to combine individuals into ethnic groups for certain analyses. Thus, the ethnicity variable would have to be recoded.
To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.