Dear Stata users,
It's nice that "Stata handles factor (categorical) variables elegantly", but it is getting me in a lot of trouble.
I have a factor variable that is coded as a continuous variable, because oprobit does not accept "i.factor" as a dependent variable.
However, since it is not a factor variable, I cannot label it. And since I cannot label it, when I display the result in esttab, it does not stick to the "order()" command.
In addition, it displays the levels as:"variable_label=1", instead of the label I want to use.
Any tips for this issue?
Tom
It's nice that "Stata handles factor (categorical) variables elegantly", but it is getting me in a lot of trouble.
I have a factor variable that is coded as a continuous variable, because oprobit does not accept "i.factor" as a dependent variable.
However, since it is not a factor variable, I cannot label it. And since I cannot label it, when I display the result in esttab, it does not stick to the "order()" command.
In addition, it displays the levels as:"variable_label=1", instead of the label I want to use.
Any tips for this issue?
Tom
Comment