Programming the statistical procedures from SAS

p-values from ODDSRATIO statement in PROC LOGISTIC

Reply
N/A
Posts: 0

p-values from ODDSRATIO statement in PROC LOGISTIC

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!!
Frequent Contributor
Posts: 140

Re: p-values from ODDSRATIO statement in PROC LOGISTIC

See my paper
http://www.biostat.umn.edu/~will/6470stuff/Class22/proc%20logistic%20traps.pdf

Given at NESUG

This is gotcha #5

Peter
SAS Employee
Posts: 242

Re: p-values from ODDSRATIO statement in PROC LOGISTIC

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
Ask a Question
Discussion stats
  • 2 replies
  • 182 views
  • 0 likes
  • 3 in conversation