We need help with using the coefplot command. Briefly, we have run a series logistic regression models (5 models in total with a loop to make it easier). These regression models also include interactions terms between two categorical variables (ACEscore and sexual). This is followed by 'margins' to obtain predicted probabilities of the interaction categories/groups:
Code:
foreach var of varlist kesscat docdep selfharm suicide victim { svy: logit `var' i.ACEscore##i.sexual eststo `var': margins i.ACEscore#i.sexual, post }
Code:
coefplot kesscat docdep selfharm suicide victim
Any tips would be really helpful!
Many thanks
/Amal
0 Response to Query on ordering coefficients from multiple models when using coefplot
Post a Comment