BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
smajid
Obsidian | Level 7

Hi,

 

I plan to create a logistic regression model in SAS, but I am working with categorical data (independent variables) with missing values.

Should I eliminate the missing values before fitting the model? I'm leaning towards this because the goal is not to predict using missing categorical values.

OR

Should I create a new category for missing variables? If I do that, then I'd have to create an extra dummy variable.

 

Thank you in advance for your help!

SMajid

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
If you have a big table, you could remove them.
OR using PROC MI to populate these missing value.


View solution in original post

3 REPLIES 3
Ksharp
Super User
If you have a big table, you could remove them.
OR using PROC MI to populate these missing value.


Reeza
Super User

Do you have random missing or systematic missing?

ballardw
Super User

By default the regression procedures will eliminate any record from analysis with missing values for any variable on the model statement.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1464 views
  • 2 likes
  • 4 in conversation