BookmarkSubscribeRSS Feed
Cdot
Fluorite | Level 6

Hi, I have the following code for a logistic regression:

 

proc surveylogistic data = mydata;
strata STRATUM ; cluster SECU ; weight LBWGTR08 ;
class Female (ref="1") Ethnicity (ref="1") married08 (ref="1") SRHealthCat08 (ref = "1")  /param=ref ;
model SocPartAttendEventsDichot08 (Event = '1') = Age08 female ethnicity married08 SRHealthCat08 PopPct65up  / expb clodds ;

run ;

 

I want to add interaction terms and tried adding female*married08 like this:

 

proc surveylogistic data = mydata;
strata STRATUM ; cluster SECU ; weight LBWGTR08 ;
class Female (ref="1") Ethnicity (ref="1") married08 (ref="1") SRHealthCat08 (ref = "1")  /param=ref ;
model SocPartAttendEventsDichot08 (Event = '1') = Age08 female ethnicity married08 SRHealthCat08 PopPct65up female*married08 / expb clodds ;

run ;

 

But in the results, there was no odds ratio estimates for female*married08 - but this variable was included in other tables in the output. I'm not sure why there is no odds ratio - any help would be appreciated!

 

I'm using SAS Enterprise guide 6.1

1 REPLY 1
SSach
Calcite | Level 5

I'm also having the same issue. Any comments will be appreciated. 

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2081 views
  • 1 like
  • 2 in conversation