BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ChuksManuel
Pyrite | Level 9

Hello,

 

I discovered that i could find the OR of interaction terms using Proc logistics but i could not do the same using procsurvey logistics. I was wondering the reason may be?

For example, this option gives me an OR for the interaction term, but it doesn't with ProcSurveylogistics

proc logistic data = newage;
weight fwc;
class sex (ref = '0') race(Ref = '0') BreastFed (ref= '0') smokes(Ref= '0') (ref='0') ;
Model asthma (event ='1') = sc_age_years sex race  BreastFed smokes  BreastFed*smokes/
clodds=wald; units sc_age_years=1/default=1;oddsratio BreastFed/diff=ref;
run;

1 ACCEPTED SOLUTION

Accepted Solutions
SAS_Rob
SAS Employee
Proc SURVEYLOGISTIC does not have an ODDSRATIO statement like Proc LOGISTIC. Instead you could use the LSMEANS statement like in the 1st example of the paper linked below.
http://support.sas.com/resources/papers/proceedings14/SAS404-2014.pdf

View solution in original post

2 REPLIES 2
SAS_Rob
SAS Employee
Proc SURVEYLOGISTIC does not have an ODDSRATIO statement like Proc LOGISTIC. Instead you could use the LSMEANS statement like in the 1st example of the paper linked below.
http://support.sas.com/resources/papers/proceedings14/SAS404-2014.pdf
ChuksManuel
Pyrite | Level 9

Thank you! That was very helpful

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 16. 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
  • 2 replies
  • 1387 views
  • 0 likes
  • 2 in conversation