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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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