BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PearlyQuek
Fluorite | Level 6

Hi everyone,

 

I had used the interactive binning node to bin my interval input variables into 4 quantiles:

PearlyQuek_0-1619061796220.png

 

However, when I connect it to the regression node, only 3 quantiles show up:

PearlyQuek_1-1619061842964.png

Would there be a reason why only quantiles 1, 2 and 3 show up in the parameter list?

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
gcjfernandez
SAS Employee

Yes absorbing the last level with the intercept is the default option in REG node. If you fitting a Logistic regression you cold suppress the intercept and change input coding to GLM then you see all four coefficients for your binned variable.

 

gcjfernandez_gmail_com_0-1619372124696.png

 

View solution in original post

4 REPLIES 4
gcjfernandez
SAS Employee

when performing optimal binning you are transforming interval variable to nominal variable with 4 levels. The last level by default is treated as the reference group and the first three levels are compared with the reference levels.

PearlyQuek
Fluorite | Level 6
Thank you for your help! We were having a hard time interpreting the results until we figured that the fourth quantile was absorbed into the intercept.
gcjfernandez
SAS Employee

Yes absorbing the last level with the intercept is the default option in REG node. If you fitting a Logistic regression you cold suppress the intercept and change input coding to GLM then you see all four coefficients for your binned variable.

 

gcjfernandez_gmail_com_0-1619372124696.png

 

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
  • 4 replies
  • 797 views
  • 2 likes
  • 2 in conversation