Programming the statistical procedures from SAS

Generalized ordered logit

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 113
Accepted Solution

Generalized ordered logit

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.


Accepted Solutions
Solution
‎07-03-2017 10:11 AM
SAS Employee
Posts: 283

Re: Generalized ordered logit

Posted in reply to Demographer

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


All Replies
Super User
Posts: 10,041

Re: Generalized ordered logit

Posted in reply to Demographer

Proc logistic + unequalslopes can't do glogit ?

Frequent Contributor
Posts: 113

Re: Generalized ordered logit

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;
Solution
‎07-03-2017 10:11 AM
SAS Employee
Posts: 283

Re: Generalized ordered logit

Posted in reply to Demographer

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. 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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