Hello,
I have a question about mlogit/logit as follow:
Model:
mlogit(y) = a + bx + fixed-color
where:
- fixed-color: is a categorical variables that takes three values: blue (1), green (2), and red (3)
Normally, we can run this as:
What Stata run will assign 2 dummy variables for green and red. Therefore, the result:
- Intercept (which including blue)
- b
- coefficient for green (2) and red(3)
However, I would like a method such that it can extract the coefficient for the fixed effect of blue (1) separated from Intercept rather than included with it. (I want the coefficient for all three colors, not changing the base from blue to other color)
Is there any way/trick to do so?
Thank you
I have a question about mlogit/logit as follow:
Model:
mlogit(y) = a + bx + fixed-color
where:
- fixed-color: is a categorical variables that takes three values: blue (1), green (2), and red (3)
Normally, we can run this as:
Code:
mlogit y x i.color
What Stata run will assign 2 dummy variables for green and red. Therefore, the result:
- Intercept (which including blue)
- b
- coefficient for green (2) and red(3)
However, I would like a method such that it can extract the coefficient for the fixed effect of blue (1) separated from Intercept rather than included with it. (I want the coefficient for all three colors, not changing the base from blue to other color)
Is there any way/trick to do so?
Thank you

Comment