BookmarkSubscribeRSS Feed
sstoline
Calcite | Level 5

Dear All:

I need some help interpreting the odds ratio in proc surveylogistic for the following two independent variables.

Dependent Variable: Smk_3last ,  Did you smoke at all in last 3 months of pregnancy?   1 = no, 2 = yes

Independent Variable: Drk_3Before   ------ 1= no, 2 = yes

proc surveylogistic data = have;

strata STRATUM1;

weight WTANAL;

class Drk_3Before(param=ref ref = "1");

model Smk_3last (event='1') = Drk_3Before;

run;

Odds Ratio: Drk_3Before 2 vs 1  OR = 1.966

Independent Variable: PREV_LB ------ 1= no, 2 = yes

proc surveylogistic data = have;

strata STRATUM1;

weight WTANAL;

class PREV_LB(param=ref ref = "1");

model Smk_3last (event='1') = PREV_LB;

run;

Odds Ratio: PREV_LB 2 vs 1  OR = 0.563




Thank you very much in advance

Steven

1 REPLY 1
ballardw
Super User

You should include the confidence limits on these as well. If the interval includes the value 1 there is no statistically significant difference and you pretty much stop there. Add /clodds to the model statement after the Prev_lb and Drk_3Before variables.

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1476 views
  • 0 likes
  • 2 in conversation