BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Tiny_Kane
Obsidian | Level 7

Hi there,

 

I am trying to get odds ratios from PROC LOGISTIC procedure. But the result of exp(estimate) does not equal to the odds ratio tables. See my result attached. And my code is 

proc logistic data=master4;
 class race_flag(ref='1');
  model regret_flag (event='1')=race_flag/expb;
  run;

 

Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
SAS_Rob
SAS Employee

Take a look at this usage note:

http://support.sas.com/kb/23/087.html

 

Tiny_Kane
Obsidian | Level 7

YES!!!I forgot the PARAM option. Thank you very much!

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1951 views
  • 2 likes
  • 2 in conversation