Dear Stata Forum,
I am asking for your knowledge and expertise once again (don't blame me, you are just very helpful :D).
I wanted to ask whether it is possible to use a categorical variable and not have one of the values omitted (and used as a base level).
Let's say I have this code
The Control is a categorical variable from 1-4 representing gender (1=male 2=female 3=other 4=prefer not to say).
When running this regression, I find that i1.Control (male) is being used as the base level (and thus not showing in the final regression output).
My question is, is it necessary to have a base level? What exactly does a base level do?
This might be simply a visual matter, as I researched around and found that the results do not marginally change whatever baseline you are using. Nevertheless, I would like to see all the categories of the control in my output table. Is that somehow possible? And if so, what does it mean?
I am able to switch which value is used as the baseline (as per the Stata manual). I thought that changing the code to ibn.Control would help the situation (once again, as per the Stata manual). But it only made Stata take i4.Control as the baseline (thus omitting it in the results table).
Thank you for your help.
Katerina
I am asking for your knowledge and expertise once again (don't blame me, you are just very helpful :D).
I wanted to ask whether it is possible to use a categorical variable and not have one of the values omitted (and used as a base level).
Let's say I have this code
Code:
xtreg c.DV i.IV i.Control, re vce(robust)
When running this regression, I find that i1.Control (male) is being used as the base level (and thus not showing in the final regression output).
My question is, is it necessary to have a base level? What exactly does a base level do?
This might be simply a visual matter, as I researched around and found that the results do not marginally change whatever baseline you are using. Nevertheless, I would like to see all the categories of the control in my output table. Is that somehow possible? And if so, what does it mean?
I am able to switch which value is used as the baseline (as per the Stata manual). I thought that changing the code to ibn.Control would help the situation (once again, as per the Stata manual). But it only made Stata take i4.Control as the baseline (thus omitting it in the results table).
Thank you for your help.
Katerina
Comment