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
If you have a big table, you could remove them. OR using PROC MI to populate these missing value.
If you have a big table, you could remove them. OR using PROC MI to populate these missing value.
Do you have random missing or systematic missing?
By default the regression procedures will eliminate any record from analysis with missing values for any variable on the model statement.
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.
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.