BookmarkSubscribeRSS Feed
Kanyange
Fluorite | Level 6

Hi All,

I have built a Logistic Regression Model in Enterprise Miner 7.1 and would like to change the Reference Group. Could you please let me know how to do it in EM. In SAS Base, I usually use the code below. Thank You..

proc logistic data= HC_Xsell DESCENDING plots(only)=roc;

class

GRP_pay_option_type_cd

GRP_ac_eldest_child_age_cd_apty

GRP_ac_home_built_dt_range_cd_ap

GRP_ac_socio_economic_type_cd_ap (ref="2" param=ref)

;

model Click_Flag =

ELE

DF

GRP_pay_option_type_cd

GRP_ac_eldest_child_age_cd_apty

GRP_ac_home_built_dt_range_cd_ap

GRP_ac_socio_economic_type_cd_ap

/ selection=stepwise;

OUTPUT OUT=HC_Xsell_click p=p;

run ;

1 REPLY 1
Reeza
Super User

To set referential coding for all variables, under Model Options select GLM coding.

I'm assuming you want it for all, not just one variable.

I'll see about setting a reference level.

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