BookmarkSubscribeRSS Feed
VioletaB
Calcite | Level 5

Hello,

 

I am trying to run the following code:

 

proc logistic data=l;
class trt(ref="0") group  GR1 GR1/ param=ref;
model crit(event="1")= trt  group BASE GR1 GR1 / alpha=0.05 expb plcl plrl lackfit orpvalue;
Run;

base is continuous variable, all others are binary. I get the following NOTE: At least one element of the (projected) gradient is greater than 1e-3 and it looks that this is due to calculating p-value. if orpvalue removed from the model statement, this note is not present anymore.  Is there any other way to calculate p-value for Odds Ratio with proc logistic or example of how to do this with proc glimmix or genmode?

 

Thank you

 

2 REPLIES 2
sbxkoenk
SAS Super FREQ

There are some alternative ways in
... SAS Note 53376: "Computing p-values for odds ratios."

Usage Note 53376: Computing p-values for odds ratios

https://support.sas.com/kb/53/376.html

 

Ciao, Koen

Ksharp
Super User
Not sure. But deserve to try option FIRTH:

model crit(event="1")= trt group BASE GR1 GR1 / firth ;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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