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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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