Monday, November 23, 2009

Creating dummy variables in SPSS

Here is the command for creating dummy variables in SPSS. (from Dr. Mari Clements' notes)

transform-->
Recode into different variables-->
click over the categorical variable you need to recode-->
create a new name for the recoded variable-->
click change-->
click old and new variables-->
type in the old value (eg. 2)-->
type in the new value (eg. 1)-->
click add-->
repeat as necessary to get all values-->
continue-->
OK

No comments: