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.
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.
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
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.