☑ This topic is solved.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 12-04-2022 08:23 AM
(2112 views)
Dear all, I hava a question about the proc glimmix; the following was my code
proc glimmix data=pt empirical order = data PLOTs= all;
class Affiliation pt60dich3(ref = first)/ref = first;
model score = pt60dich3 / dist=bin link=glogit SOLUTION cl oddsratio;
random intercept/subject = Affiliation; run;
Here, score was a ordinal score.
However, this model went wrong: the generalized logit can only be used with the multinomial distribution.
How should i perfrom mixed effect ordinal logistic model?
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The generalized logit model (LINK=GLOGIT) is typically used when the multinomial response is nominal. If your multinomial response is ordinal and you want the model to account for its ordinality, then you can use the cumulative logit model (LINK=CUMLOGIT). The cumulative logit model is the default when you specify DIST=MULT.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Ordinal implies (to me) more than two levels of the response variable. Is that what you have?
If so, then BIN is the wrong value for DIST. You do need to specify the MULTINOMIAL distribution.
--
Paige Miller
Paige Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your quick response!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The generalized logit model (LINK=GLOGIT) is typically used when the multinomial response is nominal. If your multinomial response is ordinal and you want the model to account for its ordinality, then you can use the cumulative logit model (LINK=CUMLOGIT). The cumulative logit model is the default when you specify DIST=MULT.