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!
Related Posts with Listing the var name in a specified field rather than the value - Syntax help?
Multilevel model: REML or robust SE's?My apologies for the silly question: I've been running a mixed effects model and since I have a smal…
How to calculate institutional investor churn rate and investor turnoverHello My study looks at investor horizon and return predictability. I tried checking the posts on ho…
spatial econometricsGood afternoon someone knows how its possible to use a panel data with spatial econometrics ? what …
Median incomeHi folks, The data below is a sample survey data. How do i generate the median annual income per ye…
Generating new observation for all id's in panel dataDear Stata community, can you help me with this issue of adding a generated observation to the data …
Subscribe to:
Post Comments (Atom)
0 Response to Listing the var name in a specified field rather than the value - Syntax help?
Post a Comment