BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
sajjad1122
Fluorite | Level 6
Your approach is mostly correct, but a couple of things to adjust:

Intercept: You may need to reference specific threshold values for hedonic = 5 and 6 instead of using a generic intercept 1.
Category Option: The category option isn't supported in proc logistic. Use proc plm to compute predicted probabilities or adjust your estimates using the model thresholds.
This should help you get the correct predicted probabilities.
https://tglinkhub.com/
StatDave
SAS Super FREQ
The CATEGORY= option is indeed supported in PROC LOGISTIC. Perhaps you are using a much older release. If you add the E option in the ESTIMATE statement in my example below, the resulting table shows that each estimate it produces uses, in turn, one of the intercepts so that each estimate in the resulting set appropriately gives the predicted probability for one particular response level. Also, if you change LOGISTIC to GLIMMIX in the code, and run it with just the MODEL statement and add the DIST=MULT option, it runs fine without having the response in the CLASS statement.
palolix
Pyrite | Level 9
Thanks for your clarification StatDave!
SteveDenham
Jade | Level 19

With regard to GLIMMIX, I was incomplete in my assertion about including a categorical response in the CLASS statement for multinomial distributions. That only seems to be the case for a generalized logit (LINK=GLOGIT), but not for the default link for DIST=MULT, where the default is a cumulative logit.

 

SteveDenham

(Apologies to @StatDave )

palolix
Pyrite | Level 9

Thanks for your clarification Steve!

StatDave
SAS Super FREQ

No worries, but actually GLIMMIX also runs fine with GLOGIT:

proc glimmix data=dv2; 
model dv=income/dist=mult link=glogit s; 
run;

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 20 replies
  • 1368 views
  • 14 likes
  • 5 in conversation