Dear all,
I am interested in conducting a multilevel, multinomial logistic regression model in Stata. The dependent variable is a categorical with 4 distinct groups. The explanatory factors include factors of individual background and characteristics of school and neighborhood settings (as a group average). The data is nested with schools (pupils in schools).
I conducted the analyses with gsem at first, and it worked fine. Then, I found this discussion (https://www.statalist.org/forums/for...random-effects ), and thus, tried to conduct the analysis by using xtmlogit with school random effects. I did get following error message: Cannot compute an improvement -- discontinuous region encountered. I tested it so that I included one predictor at a time without any luck. Now, I wonder what could explain this error message?
Code: xtmlogit expclass i.familyeconomic3 if otos==1, re rrr vce(cluster koulu_koodi)
As I was able to conduct the analyses by using gsem, I wonder if I could still report the results based on gsem?
Thank you for all the help,
Suvi
I am interested in conducting a multilevel, multinomial logistic regression model in Stata. The dependent variable is a categorical with 4 distinct groups. The explanatory factors include factors of individual background and characteristics of school and neighborhood settings (as a group average). The data is nested with schools (pupils in schools).
I conducted the analyses with gsem at first, and it worked fine. Then, I found this discussion (https://www.statalist.org/forums/for...random-effects ), and thus, tried to conduct the analysis by using xtmlogit with school random effects. I did get following error message: Cannot compute an improvement -- discontinuous region encountered. I tested it so that I included one predictor at a time without any luck. Now, I wonder what could explain this error message?
Code: xtmlogit expclass i.familyeconomic3 if otos==1, re rrr vce(cluster koulu_koodi)
As I was able to conduct the analyses by using gsem, I wonder if I could still report the results based on gsem?
Thank you for all the help,
Suvi
Comment