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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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