Programming the statistical procedures from SAS

Output format of multinomial logit regression

Reply
Frequent Contributor
Posts: 111

Output format of multinomial logit regression

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

Super User
Posts: 18,518

Re: Output format of multinomial logit regression

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

Frequent Contributor
Posts: 111

Re: Output format of multinomial logit regression

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

Super User
Posts: 18,518

Re: Output format of multinomial logit regression

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. 

Ask a Question
Discussion stats
  • 3 replies
  • 142 views
  • 0 likes
  • 2 in conversation