1 continuous DV (current preference)

1 categorical IV (gender)

1 categorical covariate (previous preference: 1= like; 2= dislike; 3= neutral)

How do I dummy code the covariate in spss?

I don’t want to do a regression and/or use the covariate as a factor.

Is the following dummy coding correct?

DummyLike: Like = 1; Dislike = 0; Neutral = 0

DummyDislike: Like = 0; Dislike = 1; Neutral = 0

DummyNeutral: Like = 0; Dislike = 0; Neutral = 1

Do I then enter 3 covariates (vs. the original covariate which was called “previous preference” into the covariate box when I run the analysis in SPSS?

Thank you.