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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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