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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 3133 views
  • 1 like
  • 3 in conversation