Dear,
As this is my first post in this forum and of this kind, I might miss some conventions used in this forum. Please inform me of any mistake in this.
My question is about a multinomial multilevel regression analysis using gsem (mlogit). We have several models with three levels. One of the models is a cross-classified model. It is this model with which we run into an issue. Stata does not seem to be able to calculate the maximum likelihood (it stops at 300 iterations). Stata can compute the simpler model. For the cross-classified model, I have tried using the outcome of the simpler model as starting values, but that provides no solution (same calculation problem).
Simpler model (Stata can calculate this model)
Cross-classified model (which Stata is not able to calculate)
Additional information
- The dataset consists of 15.680 observations
- Level 2 variable (countryyear) has approximately 450 different values. Level 3 (Number, which represents a country) variable has 102 different values
- Level 2 variable (corop) has approximately 41 different values
- I am using Stata 18 on Windows 10
- I have tried interpreting the hessian matrix; this is, however, too complex for me without assistance.
Is there anything I can do so that State can find the maximum likelihood?
Kind regards,
Michael Sinnige
As this is my first post in this forum and of this kind, I might miss some conventions used in this forum. Please inform me of any mistake in this.
My question is about a multinomial multilevel regression analysis using gsem (mlogit). We have several models with three levels. One of the models is a cross-classified model. It is this model with which we run into an issue. Stata does not seem to be able to calculate the maximum likelihood (it stops at 300 iterations). Stata can compute the simpler model. For the cross-classified model, I have tried using the outcome of the simpler model as starting values, but that provides no solution (same calculation problem).
Simpler model (Stata can calculate this model)
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
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[corop]@1 M3[Number>countryyear]@1), nocapslatent difficult latent(M1 M2 M3) mlogit
- The dataset consists of 15.680 observations
- Level 2 variable (countryyear) has approximately 450 different values. Level 3 (Number, which represents a country) variable has 102 different values
- Level 2 variable (corop) has approximately 41 different values
- I am using Stata 18 on Windows 10
- I have tried interpreting the hessian matrix; this is, however, too complex for me without assistance.
Is there anything I can do so that State can find the maximum likelihood?
Kind regards,
Michael Sinnige
Comment