Dears Statalist
I am doing a Multinomial Multilevel regression using GSEM, I used to use mixed command for multilevel linear regression, with that command it was possible to add variables with random effects in each level, for example:
mixed pv1math mcescs eescs || entidad: eescs || idescue: mcescs
Now I am using gsem because I am trying to run a multinomial and multilevel regression with multiple random effects, but I do not how to do it. This is what I have till now:
gsem (conjugal_s <- scpipost M1[country]@1), mlogit nocapslatent latent(M1)
I would like to know how to add one or more variables with random effects in the second level of the multinomial regression, just like in the mixed command
Thanks.
Sincerely,
Justo Rojas
I am doing a Multinomial Multilevel regression using GSEM, I used to use mixed command for multilevel linear regression, with that command it was possible to add variables with random effects in each level, for example:
mixed pv1math mcescs eescs || entidad: eescs || idescue: mcescs
Now I am using gsem because I am trying to run a multinomial and multilevel regression with multiple random effects, but I do not how to do it. This is what I have till now:
gsem (conjugal_s <- scpipost M1[country]@1), mlogit nocapslatent latent(M1)
I would like to know how to add one or more variables with random effects in the second level of the multinomial regression, just like in the mixed command
Thanks.
Sincerely,

Justo Rojas