Programming the statistical procedures from SAS

Class Variables in SAS eMiner

Reply
Contributor
Posts: 27

Class Variables in SAS eMiner

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

Grand Advisor
Posts: 16,889

Re: Class Variables in SAS eMiner

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.

Contributor
Posts: 27

Re: Class Variables in SAS eMiner

All class variable

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

Ask a Question
Discussion stats
  • 2 replies
  • 198 views
  • 0 likes
  • 2 in conversation