Hi all,
I am having trouble creating a race categorical variable. As it stands, this is what my race variable looks like:

I was told that I need to create a categorical variable because they are currently being added to my logit model as linear variables. It seems that because my race variable is linear, it is making it so that the interaction variables I create with the race variable are causing problems. For example, I use the following code to create an interaction variable
The following output becomes:


As such, I believe that creating the categories for the race variable would be beneficial and may help with my logit models. Can anyone help with a code I can use to put these into proper Race categories? Please let me know if you need additional information/screenshots/code. Thank you!
I am having trouble creating a race categorical variable. As it stands, this is what my race variable looks like:
I was told that I need to create a categorical variable because they are currently being added to my logit model as linear variables. It seems that because my race variable is linear, it is making it so that the interaction variables I create with the race variable are causing problems. For example, I use the following code to create an interaction variable
Code:
egen racefemdom =group (race femdom), label tab racefemdom
As such, I believe that creating the categories for the race variable would be beneficial and may help with my logit models. Can anyone help with a code I can use to put these into proper Race categories? Please let me know if you need additional information/screenshots/code. Thank you!
