BookmarkSubscribeRSS Feed
frupaul
Quartz | Level 8

Hello Everyone,

I was just wondering what the best imputation method for categorical variables is. Considering many categorical variables (with exception of variables such as postcodes etc) dont have too many levels, will it not be misleading to impute their missing values?

 

I have always thought creating a 'one-size-fits-all' variable such as CCC and imputing that for every missing level might be more reasonable. Can someone help out with any ideas or suggestions?

Thanks

2 REPLIES 2
PaigeMiller
Diamond | Level 26

There's lots of discussion of this subject if you go to your favorite search engine and type in

 

imputing categorical variables

--
Paige Miller
Reeza
Super User

That's why you do multiple imputation to reduce chance of bias AND to understand the effect of the imputation. 

 

This isn't a SAS question though, it's a statistics question better answered by statisticians or Google. 

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
  • 2 replies
  • 925 views
  • 0 likes
  • 3 in conversation