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