When using a categorical dependent variable (like in the multinomial Logit), one can constrain coefficients for x to equality for, say, categories cat2 and cat3 (cat1 is the base category) by defining the following constraint:
Suppose that one has N categories and wants to constrain coefficients for x to equality for all the N-1 non-base categories. Is there a way to do this by defining a single constraint? I mean somthing like
where (all categories) is what I don't know how to specify.
Many thanks to those who can provide some clue.
Code:
constraint 1 [cat2=cat3]: x
Code:
constraint 1 [(all categories)]: x
Many thanks to those who can provide some clue.
Comment