BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
4Walk
Calcite | Level 5

I am trying to understand how SAS Enterprise Miner scores cases that have a missing value in one of the predictors.  Here is a small regression example.  

 

The SAS EM estimated regression equation is: 50.8706 - 2.5578X1 + 0.0978X2

 

For the case: X1 = 8 and X2 = . SAS EM gives a predicted value of 41.01.  I am not able to understand how this number is calculated.  If the missing value of X2 is set to zero, y-hat must be 30.41.  To get the value predicted by SAS, the predictor X2 must be 108.445.  This is way different from the average of X2 which is 93.649.

 

This is a very simple diagram, data source, partition and regression node, that's it, no impute node.  I thought the cases with missing values will be omitted by regression node, but apparently not.  I am not understanding something.

 

Thank you .....

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
WendyCzika
SAS Employee

When any of the predictors is missing, the predictions for the target values are the prior probabilities of the target (if class) or the average target value (if interval).  The priors and average are calculated across the obs. with no missing predictors.

View solution in original post

1 REPLY 1
WendyCzika
SAS Employee

When any of the predictors is missing, the predictions for the target values are the prior probabilities of the target (if class) or the average target value (if interval).  The priors and average are calculated across the obs. with no missing predictors.

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
  • 1 reply
  • 808 views
  • 1 like
  • 2 in conversation