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).
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.
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.
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!
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.