BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi Folks -

I have a proc logistic model with an interaction term between a binary variable and a continuous variable. I'm successfully using the ODDSRATIO statement to have SAS calculate the OR and 95% CIs for the continuous variable at the two different levels of the binary variable.

How can I get SAS to give me (or how can I easily calculate) the p-value associated with these ORs?

Thanks a bunch!!
2 REPLIES 2
StatDave
SAS Super FREQ
While the ODDSRATIO statement in LOGISTIC does not provide p-values, you could fit the same model in PROC GLIMMIX and use the ODDRATIO and SLICEDIFF= options to get the p-values. For details and an example, see this usage note:

http://support.sas.com/kb/24455

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