Hi Everyone, I was wondering how to create dummy variables with "white" being the baseline. I have 5 categories (American Indian, White, Black, Pacific Islanders, Asian). The variable race is coded (0=Black, 1=White,2=American Indian,3=Asian,4=Native Hawaiian). My code is: if race=0 then Black=1; else Black=0; if race=2 then AmericanIndian=1; else AmericanIndian=0; if race=3 then Asian=1; else Asian=0; if race=4 then Pacific_Islander=1; else Pacific_Islander=0; where White is currently the baseline. However, the variable race have missing data and I'm assuming those missing data are given a value of zero too.
... View more