Programming the statistical procedures from SAS

class variable question

Accepted Solution Solved
Reply
Contributor
Posts: 25
Accepted Solution

class variable question

I put a class variable with 12 levels into a model and I got 11 parameter estimates, but one of them is 0 with zero degrees of freedom and it is not my reference level.  Any idea why this happens?  It doesn't happen to my class variable with 5 levels.  Thank you. 


Accepted Solutions
Solution
‎09-08-2016 12:16 PM
Contributor
Posts: 25

Re: class variable question

[ Edited ]

Thank you.  I think I figured it out.  There was another categorical variable with 2 levels that when cross-tabbed with my 12 level categorical variable had lots of empty cells.  Sorry to bother you. 

 

I think this is called complete separation.  I was using Proc Genmod.  

View solution in original post


All Replies
Super User
Super User
Posts: 6,144

Re: class variable question

It probably depends on what PROC you are using.

Can you show the code you used?  Perhaps some of the statistics the proc generated?

 

Solution
‎09-08-2016 12:16 PM
Contributor
Posts: 25

Re: class variable question

[ Edited ]

Thank you.  I think I figured it out.  There was another categorical variable with 2 levels that when cross-tabbed with my 12 level categorical variable had lots of empty cells.  Sorry to bother you. 

 

I think this is called complete separation.  I was using Proc Genmod.  

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 157 views
  • 2 likes
  • 2 in conversation