Dear,
My question is about a multinomial multilevel regression analysis using gsem (mlogit). We have a model consisting of 3 levels (country, country + year, individual case), which should have a random intercept and fixed slope for country (highest level) and country + year (lower level). The dependent variable has three possible outcomes, of which 0 is the reference category. The other values are 1 and 2.
Model (model 1)
In the output, I see that the coefficients for variables M1[Number] and M2[Number>countryyear] are both constrained to 1 for outcome category 1. For outcome category 2 however, these variables have calculated coefficients. I would have expected that these two coefficients would also be constrained (see two screenshots below).


I came across syntax to constrain coefficients (the character '@' with a suffix indicating the value of the coefficient) and ran a model with this syntax added. The result now shows a constrained coefficient for outcome category 2 as well.
Model with syntax '@1' added to both M1 and M2 (model 2)
There are, however, some difference between the two models in the significance levels, value of the coefficients and in some cases even the direction of the correlation.
My questions
Michael Sinnige
My question is about a multinomial multilevel regression analysis using gsem (mlogit). We have a model consisting of 3 levels (country, country + year, individual case), which should have a random intercept and fixed slope for country (highest level) and country + year (lower level). The dependent variable has three possible outcomes, of which 0 is the reference category. The other values are 1 and 2.
Model (model 1)
Code:
gsem (i.uitstroombinnentweejaartot_nom <- i.year c.leeftijd_beslissing1 c.leeftijd_sq c.doorlooptijd_nieuw2 sq_proc_duur native_counselor i.family_composition opvangcap_2log i.urbanisation lnGDP_cap_PPP2 GDP_growth freedom_PTaveragemin1 freedom_PTaverageverschil CorruptionPerceptionIndex i.EUvisa i.potentialEUMember i.schengenvisarequired M1[Number] M2[Number>countryyear]), nocapslatent difficult latent(M1 M2) mlogit
I came across syntax to constrain coefficients (the character '@' with a suffix indicating the value of the coefficient) and ran a model with this syntax added. The result now shows a constrained coefficient for outcome category 2 as well.
Model with syntax '@1' added to both M1 and M2 (model 2)
Code:
gsem (i.uitstroombinnentweejaartot_nom <- i.year c.leeftijd_beslissing1 c.leeftijd_sq c.doorlooptijd_nieuw2 sq_proc_duur native_counselor i.family_composition opvangcap_2log i.urbanisation lnGDP_cap_PPP2 GDP_growth freedom_PTaveragemin1 freedom_PTaverageverschil CorruptionPerceptionIndex i.EUvisa i.potentialEUMember i.schengenvisarequired M1[Number]@1 M2[Number>countryyear]@1), nocapslatent difficult latent(M1 M2) mlogit
My questions
- Why is model 1 constraining the coefficients of variables M1[Number] and M2[Number>countryyear] only for outcome category 1 and not for outcome category 2?
- Does model 2 contain a fixed slope, whereas model 1 contains a random slope for variables M1[Number] and M2[Number>countryyear], or am I misinterpreting the output.
- Does the syntax '@1' tell Stata to 'fix the slope', or is this (again) a misinterpretation on my part?
Michael Sinnige
Comment