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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1326 views
  • 0 likes
  • 2 in conversation