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

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
  • 2 replies
  • 2883 views
  • 0 likes
  • 3 in conversation