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!

 

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 save with the early bird rate—just $795!

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