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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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