Or, you could do all of that in just a few lines of very logical syntax code: Output variable Label: Education in Categories ![]() In it, I am recoding Educ, Years of Education, into 5 categories: Less than High School, High School Grad, Some College, Bachelor’s degree, More than college. This is from the General Social Survey data set that comes along with SPSS. Here is an example of how to do it in the menus. So do not recode over an existing variable unless you are absolutely certain that the lost information will never be needed. So if you notice a mistake after you’ve recoded, you can’t fix it.īut you may not even notice the mistake, because you can’t even test it. Recoding Into Same Variables replaces the values in the existing variable. ![]() In almost every situation, you want to use Into Different Variables. The command I nto Same Variable replaces existing data with new values, but the command Into Different Variables adds a new variable to the data set. ![]() SPSS offers two choices under the recode command: I nto Same Variable and Into Different Variables.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |