BookmarkSubscribeRSS Feed
euser
Calcite | Level 5

Hi there,

I'm working through a regression exercise in Miner and have a bunch of independent binomial variables with a binomial target.  All the binomial variables have been coded 0 and 1, with 1's indicating YES.  By default, does the regression node (logistic regression) in Miner calculate the estimates against the 0's, instead of the 1's?  I'm finding that the signs for the binomials are opposite of what they should be, while the signs for the interval independents seem correct.

Please let me know if additional clarification is required.

Thanks in advance,

Sidney

2 REPLIES 2
jwexler
SAS Employee

Hi can you send a snapshot of your model?  Are you talking about the target variable being coded 1/0 as backwards, or the independent variables?  Target variables are automatically sorted descending to find the value of interest, so by default "1" would be the target.

Thanks!

Jonathan

jwexler
SAS Employee

One more item to add, there is an option in EM that specifies how you handle 'Input Coding', meaning there are 2 methods to create dummy variables (Deviation and GLM).  Depending on the method, interpreting the coefficients would be different.  Your user guide explains how to interpret.  That may explain your issue.

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
  • 2 replies
  • 854 views
  • 0 likes
  • 2 in conversation