BookmarkSubscribeRSS Feed
koomalkc
Fluorite | Level 6

I have fitted logistic model with class variables using base SAS and trying to replicate same in SAS eMiner but I'm unable to get the same outputs (same coefficients).

Here is the sample code I used in base SAS.

Proc logistic data =apple desc namelen=100;

class x1 x2 x3/param=glm;

model y(event="1")=x1 x2 x3;

run;

The bottom line is how to get same outputs with SAS eMiner. I'm trying to  get c-code from eMiner.

Thanks,

_kamal

2 REPLIES 2
Reeza
Super User

Do your class variables have more than two levels? Are the reference levels set the same in eminer?

I'll assume you've specified the same event.

koomalkc
Fluorite | Level 6

All class variable

has only 2 levels, did not set any references level in eminer, how to do it?

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1396 views
  • 0 likes
  • 2 in conversation