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

Hello,

 

I am trying to understand what makes the most sense in interpreting Odds Ratios for the following output. I know that the odds ratio and exp(estimate) are the same when reference groups are defined and the param=ref is used. But what about using effect coding: then the results are different .  I'm unsure of which ones to report. I'm inclined to use the ddds ratio results but need to better understand the interpretation of the effect coding on exp(est). Any clarification would be most helpful. Thank you. 

 

 

proc logistic data=temp;
class age(ref="40 and over") race (ref="White") gender(ref="M")/param=ref */param=effect*/;

model counseling  (event="Yes")=age gender race;/expb cl;

 

 

 

Analysis of Maximum Likelihood EstimatesParameter   DF Estimate StandardError WaldChi-Square Pr > ChiSq Exp(Est)Intercept  age <40gender FRace African AmericanRace Other   
1-2.12280.70019.19550.00240.120
11.36050.354414.74010.00013.898
10.86080.36495.56660.01832.365
1-0.42100.61520.46830.49380.656
1-0.05480.53280.01060.91810.947
      
SAS Output
Odds Ratio EstimatesEffect Point Estimate 95% WaldConfidence Limitsage <40 vs 40 and overgender F vs MRace African American vs WhiteRacen Other vs White 
15.1953.78860.950
5.5941.33823.381
0.4080.0652.550
0.5880.1302.653
   

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

It is best to use the values reported in the Odds Ratios tables.  A value in the Exp(Est) column is computed by simply exponentiating the parameter estimate in that value's row. The exponentiated parameter estimate is an odds ratio only in certain cases (such as when the parameter is not involved in interactions and if it uses reference or GLM coding if it is in a categorical predictor). In other cases, the odds ratios are linear combinations of model parameters. The values in the odds ratio tables compute the appropriate linear combination of model parameters to produce the odds ratios as labeled in those tables. See "Odds ratio estimation" in the Details section of the LOGISTIC documentation for more details. 

View solution in original post

3 REPLIES 3
Reeza
Super User
Report the Odds ratio, because if you have trouble understanding it assume your audience will as well.

As to the interpretation for effect coding, even I have to write out the formula's each time I use it to verify it again so I have to look it up each time as well.
StatDave
SAS Super FREQ

It is best to use the values reported in the Odds Ratios tables.  A value in the Exp(Est) column is computed by simply exponentiating the parameter estimate in that value's row. The exponentiated parameter estimate is an odds ratio only in certain cases (such as when the parameter is not involved in interactions and if it uses reference or GLM coding if it is in a categorical predictor). In other cases, the odds ratios are linear combinations of model parameters. The values in the odds ratio tables compute the appropriate linear combination of model parameters to produce the odds ratios as labeled in those tables. See "Odds ratio estimation" in the Details section of the LOGISTIC documentation for more details. 

joesmama
Obsidian | Level 7

Thank you for explanation. It clarified everything!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3 replies
  • 2615 views
  • 3 likes
  • 3 in conversation