View Full Version : how to create dummy coding for my three level IV?
01-21-2009, 02:00 PM
01-21-2009, 03:07 PM
how to do that in spss? thanks so much!!
Why do you need dummy codes if you are using SPSS? That is, can't you just use the geneal linear model (GLM) procedure?
01-21-2009, 03:19 PM
BUt I do need to run regression instead of anova. because I am further testing mediators . I need to know the exact variance explained. also, I am testing a curvilinear relation instead of linear. if you have more suggestions, I would appreciate them
01-21-2009, 04:23 PM
he means go to GLM and put the categorical in the factor box and the continuous in the covariates box. Since you want for the regression menu do this: let's say your var is for instance is coded in spss (in one column ofcourse) as 11223212321, ok? three levels. Go to transform>recode into different variables and there choose to produce the three column dummy variables, one at the time. Select if var00001=1 then change it into 1 and 0 otherwise (new col1), then if var00001=2 change it into 1 and zero else (new col2) and so on.
01-21-2009, 11:12 PM
thanks Masteras. I did it. you rock
01-22-2009, 01:11 AM
that is true. lol
01-22-2009, 09:30 AM
could you answer my question on curvilinear please?
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.