BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Demographer
Pyrite | Level 9

Hello,

I would like to know if it is possible with SAS to do a generalized ordered logit (different parameters for each response categories, such as in a multinomial logit).

 

With stata, I think it is gologit2, but I didn't find the equivalent function with SAS.

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

If you want an ordered logit, as you said, then you don't want the LINK=GLOGIT option.  Remove it to get an ordinal logit model.  See this note for examples. 

View solution in original post

3 REPLIES 3
Ksharp
Super User

Proc logistic + unequalslopes can't do glogit ?

Demographer
Pyrite | Level 9

I'm not sure why, but when I add this option, it says : "The UNEQUALSLOPES option is ignored."

And the output is the same as a normal glogit. How should I use it?

 

proc logistic data=edu.educationClean;
class cohort4(ref='2') cntr_regr(ref=first)  /param=ref;
model edu3(descending)= cntr_regr cohort4 cntr_regr*cohort4 /link=glogit UNEQUALSLOPES=edu3;
run;
StatDave
SAS Super FREQ

If you want an ordered logit, as you said, then you don't want the LINK=GLOGIT option.  Remove it to get an ordinal logit model.  See this note for examples. 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3185 views
  • 1 like
  • 3 in conversation