You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
I'm having trouble figuring out how to restrict a variable to only show two values. The variable is "race" and I need to restrict it to only show "black" and "white".
Well, what do you want to do with the observations where the race variable takes on some other value than black or white? Replace those values with missing? Drop the observations altogether? Recode the other value to either black or white according to some rule? (If the last, what rule?) Something else?
Comment