BookmarkSubscribeRSS Feed
Demographer
Pyrite | Level 9

Hello,

I use the proc logistic with /link=glogit to produce multinomial logit regressions (4 categories). The standard output looks like this:

 

Analysis of Maximum Likelihood Estimates
Parameter var0 Estimate Pr > ChiSq
       
Intercept 0    
Intercept 1    
Intercept 3    
Var1      
Var2      

 

My question: Is it possible to set the alternatives of the dependent variable (var0) on a same line, such as:

 

Parameter var0          
0   1   3  
  Estimate Pr > ChiSq Estimate Pr > ChiSq Estimate Pr > ChiSq
Intercept            
Var1            
Var2            

 

Doing it manually takes a while where there are a lot of models.

 

Thanks

3 REPLIES 3
Reeza
Super User

No..,are you using transpose to transform your output?

Demographer
Pyrite | Level 9

No, I use copy/paste in Excel which is probably not the most efficient method.

Reeza
Super User

Yeah. 

 

So in genesl it wouldnt make sense to present the information that way because you don't know how many categories you can have so you can end up with a wide table. 

 

If you do want it that way and needed it repeatedly I would recommend a process to manipulate the output via SAS programming rather than copy/paste. 

 

It also depends on how you want the rest of your results to show as well - what about the other variables? 

 

If your comfortable programming give that a shot, otherwise post back in more details what your requirements are. 

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
  • 3 replies
  • 1325 views
  • 0 likes
  • 2 in conversation