Assignment 4
Recoding
1. Recode the variable age in the GSS93subset dataset into three categories. Use the following coding.
18-35
36-45
Older than 45
a) Run a frequency distribution on age
b) Do recode and add labels to new values on recoded variable
c) Run a frequency distribution on the recoded variable
2. Use SPSS to recode the variable partyid in the GSS93subset dataset into three categories (Republican, Independent, Democrat). Run a frequency distribution on the recoded variable and attach the SPSS output. Make sure to follow the guidelines below
Combine
“Strong Democrat”, “Not Str
Democrat”, and “
Combine “Independent”
Combine
“Strong Republican”, “Not Str
Republican”, and “
Treat the rest as system-missing