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,664

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).

 

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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