Hello StataCorp,

I want to control for country fixed effects in a mlogit

I have tried the following code:

Code:
xtset country
xtmlogit depvar A B c.C##c.D
However, it returns the error code: infeasible number of permutations

I have also tried using femlogit:

Code:
femlogit depvar A B c.C##c.D
h

However, apparently femlogit does not work with factor variables

Is it okay to instead run the regression as below or is that bad practice in nonlinear models and will mess up the results?

Code:
mlogit depvar A B c.C##c.D i.country
I have 16 countries with observations ranging from 3 to 302 within each country.

Any suggestions or comments on using fixed effects for a mlogit?

Best, Frederik