BookmarkSubscribeRSS Feed
falconer
Calcite | Level 5
I am currently using multinomial logistic regression to model disease outcome based on genetic haplotype. I've included 4 haplotypes in my model along with covariates as dependent variables. I've coded the values at each haplotype to correspond with the number of copies of that haplotype each individual is predicted to have and used the most common haplotype as the reference. In addition I've created a dummy value if the person does not have any copies of the haplotype. Unfortunately the dummy variable is affecting my model. Does anyone know of a way to set this value to zero (df=0) in the logistic model?
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
This sounds more like a coding problem than a missing value problem. If the Dummy variable is coded 0/1, then it is never missing. If PROC LOGISTIC is showing the dummy as having df=0, then matrix is singular and either the variable is conceptually redundant with your other variables or operationally redundant because you don't have enough observations.

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!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 1 reply
  • 823 views
  • 0 likes
  • 2 in conversation