BookmarkSubscribeRSS Feed
user1359
Calcite | Level 5

I'm not sure if this is how you analyze confounding with possible interaction (effect modification). The predictor is opioid usage while the outcome variable is prevalence of prior injection drug usage. I am creating my models through logistic regression 

Screen Shot 2022-11-30 at 5.43.37 PM.png

Only confounder in model was SES in model, possible effect modifier was ethnicity. This was the SAS code I used looking at confounding and possible effect modification. 

proc logistic data=work.ex4;
class opioid_use SES eth_2 (ref= '3. Caucasian')/ param=ref;
model ever_inject = opioid_use SES eth_2;
run;

Screen Shot 2022-11-30 at 5.48.24 PM.png

 Based on multivariate logistic model, I don't have effect modification only confounding 

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 796 views
  • 0 likes
  • 1 in conversation