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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1203 views
  • 2 likes
  • 4 in conversation