BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
_maldini_
Barite | Level 11

Is there an equivalent statement in PROC SURVEYLOGISTIC for the ODDSRATIO statement (used in PROC LOGISTIC)?

Example syntax (from here, not mine):
proc logistic data = exercise descending; class prog / param=glm order=internal; model satisfied = prog|hours / expb; oddsratio hours / at(prog=all); store logit; run;

I am trying to follow this guidance for testing interaction and obtaining strata-specific odds ratios using logistic regression. In PROC LOGISTIC, the strata-specific ORs are produced by the ODDSRATIO statement. PROC SURVEYLOGISTIC does not seem to recognize the ODDSRATIO statement (See screenshot of log below).

Screen Shot 2022-10-20 at 6.53.41 AM.png

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee

No, there is not an ODDSRATIO statement.  Instead you could use an ESTIMATE statement or an LSMEANS statement with OR option.  There are examples in the paper linked below.

Paper SAS404-2014

View solution in original post

1 REPLY 1
SAS_Rob
SAS Employee

No, there is not an ODDSRATIO statement.  Instead you could use an ESTIMATE statement or an LSMEANS statement with OR option.  There are examples in the paper linked below.

Paper SAS404-2014

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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
  • 1 reply
  • 1206 views
  • 2 likes
  • 2 in conversation