BookmarkSubscribeRSS Feed
davis
Fluorite | Level 6

Good afternoon,

 

I have a question, and was wondering if someone could either lend a hand or point me in the right direction.

 

I conducted a multinomial run using proc logistic.  One output is the predicted probability for each outcome in the following form:  

Pred_A=exb_A /(1+exb_A+exb_B+exb_C+exb_D);

Pred_B=exb_B /(1+exb_A+exb_B+exb_C+exb_D);

Pred_C=exb_C /(1+exb_A+exb_B+exb_C+exb_D);

Pred_D=exb_D /(1+exb_A+exb_B+exb_C+exb_D);

Pred_E=1 /(1+exb_A+exb_B+exb_C+exb_D);

 

where Pred_E = 1/(1+Pred_A+Pred_B+Pred_C+Pred_D) and produced automatically by proc logistic.

 

Does HP Logistic have a similar feature for a multinomial run?

 

Thanks.

1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

For PROC HPLOGISTIC contrasted with PROC LOGISTIC, look here:

https://go.documentation.sas.com/doc/en/statug/15.2/statug_hplogistic_overview02.htm

 

And for multinomial response, use LINK=GLOGIT/GENLOGIT.

If you specify LINK=GLOGIT, the procedure assumes a generalized logit model for nominal (unordered) data, regardless of the number of response categories.

https://go.documentation.sas.com/doc/en/statug/15.2/statug_hplogistic_syntax07.htm#statug.hplogistic...

 

Then you get similar output to PROC LOGISTIC, no?

If not, post your PROC LOGISTIC code and we will reply with the equivalent PROC HPLOGISTIC code.

 

Regards,

Koen

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1 reply
  • 298 views
  • 0 likes
  • 2 in conversation