Hello fellow Stata Users! I am a new user and am in need of some help.
I have several race variables (Black, White, Asian...) in Boolean format containing a 1 for yes and a . for no. Some records have 1's for multiple race categories (for example, someone identifying as both Black and Asian). I need help writing syntax that would take the 1's and list those race categories in the records "RaceDisplay" variable.
So in this example, In the "RaceDisplay" variable, "Black Asian" would be listed for that record.
Any help would be appreciated. Thank you!
0 Response to Listing the var name in a specified field rather than the value - Syntax help?
Post a Comment