Good day everyone,
I am using the gllamm command in stata 15.0 for multilevel (2-leveled) multinomial logistic regression. The outcome/dependent variable is modern contraceptive use among women and it has 4 sub-categories showing the users of the different types of modern contraceptives [(1)permanent method and Long-acting reversible contraceptive users; (2)medium acting reversible contraceptive users; (3)short-acting reversible contraceptive users], each in contrast to the traditional users/those not using any method at all (this is the reference sub-category). For my study, individual women (level-1) are nested within communities (level-2), and my main independent variable; which is the economic empowerment of women, is also introduced as a random slope. In relation to this, I typed in the following command:
gllamm PLMSorNotnew CWEIcentre, i(ClusterNumber) link(mlogit) family(binomial) adapt nrf(2) eqs(inter slope) pweight(pw)
However, only one random intercept variance, one random slope variance, and thus one covariance were estimated instead of three each.
My understanding is that the single random intercept variance shows the between-community difference in the odd of generally using modern contraceptives, irrespective of the particular type, as opposed to traditional users/those not using any method at all. the single random slope variance, on the other hand, shows the between-community difference in the regression effect of women's economic empowerment on the general use of modern contraceptives, irrespective of the particular type. Please, what is the correct command to produce the three different random intercept variances, the three different random slope variances, and the three different covariances.
Thank you.
Related Posts with multilevel multinomial modelling using the gllamm command in stata
"variable ccode not found" when doing a xtregHello everybody! I am quite new to Stata, and have much to learn. However, I am trying to perform a…
Keep variables if they contain at least one word of a given listHello Stata Community I have a very big number of observations and I want to filter out the ones wh…
Latent Class analyses and repeated measures Good Morning, I'm Tommaso Salvitti, a researcher at ISS I am attempting to develop a latent growth …
Serial correlation test with unbalanced panel data (stock prices)Hi, I am new to Stata and wanting to test for serial correlation in stock prices across the years 1…
Can someone tell me why the variable 'id' can't be found please?sum HH1 HH2 LN // HH1=cluster number, HH2=household number, LN=line number (child in household) gen …
Subscribe to:
Post Comments (Atom)
0 Response to multilevel multinomial modelling using the gllamm command in stata
Post a Comment