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

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:

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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