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. 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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