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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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