BookmarkSubscribeRSS Feed
Chaoran
Calcite | Level 5

Hello all, I'm a newcomer and have a question on how to do multinomial logit estimate with either proc logistic or catmod. Here is my question.

Let's say we are looking at events of 5 mutually exclusive outcomes: 1, 2, 3, 4, 5. We want to estimate probability models for each of them, subject to the constraint of all of their probabilities summing up to 1. Something like the following would do:

PROC LOGISTIC DATA=myData;

     CLASS outcome;

     MODEL model = x1 x2 x3  / LINK = GLOGIT;

     RUN;

That would estimate a set of coeffs for each of the first 4 outcomes, but all for the same set of explanatory variables x1, x2, x3. Now if I really need to use different set of regressors for different outcomes (e.g. x1 x2 for outcome 1, x2 x3 for outcome 2, etc). How would I do that? Would appreciate any suggestions.

1 REPLY 1
bncoxuk
Obsidian | Level 7

PROC LOGISTIC DATA=myData;

     CLASS outcome;

     MODEL model (REFERENCE ='5') x1 x2 x3  / LINK = GLOGIT;

RUN;

 

My experience is that:

To run multinomial logit model, PROC LOGISTIC can handle large-scale analysis with many variables and cases. PROC CATMOD stop running if the model is too complex with too many cases. PROC CATMOD is quicker to get the results if the model is not too complex and the dataset has manageable size.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1477 views
  • 0 likes
  • 2 in conversation