BookmarkSubscribeRSS Feed

Asked & Answered: How to create missing value indicator variables without imputing in Model Studio

Started ‎04-24-2019 by
Modified ‎04-24-2019 by
Views 2,492

Question

 

97403_banner_Asked&Answered_aqua.pngIs it possible to create indicator variables (for each input) for missing values without actually imputing in Model Studio?

Answer

Yes, add Imputation node to the pipeline, change the following properties and run the node. 

  • Under Class Inputs, change Default method to none
  • Under Interval Inputs, change Default method to none
  • Under Indicators, (1) select Unique indicators check-box, (2) set Indicator subject to Missing variables and (3) set Indicator role to Input.

You will see that there is a new variable (with M_ prefix) for every input that has a missing value in the training data. This new variable takes 0 or 1 values to indicate missingness (0=not missing, 1=missing).

 

Version history
Last update:
‎04-24-2019 02:57 PM
Updated by:
Contributors

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags