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 1,984

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-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!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags