BookmarkSubscribeRSS Feed
YifeiRen
Calcite | Level 5
proc causalmed data=b all;
class dementia pegender edugroup cluster5/ref=first;
model dementia = gdsf cluster5 ;
mediator gdsf = cluster5;
covar age pegender edugroup; Bootstrap NBoot=5000; run;

I used the code as showed above. But the results always showed with the "Percentage Due to Interaction" although I didn't add an interaction variety in the model. Can anyone help me, please?

YifeiRen_0-1642087240538.png

 

2 REPLIES 2
SAS_Rob
SAS Employee

For binary responses, you will still get a nonzero proportion due to interaction even when you do not fit the interaction.  This is because the model is non-linear; the effect attributable to interaction is on the additive difference scale, but the model is being fit on the log or logistic scale.  This is a known and derivable quality of Causal mediation analyses, but it is not clear how you would actually interpret when you don't fit the interaction explicitly.   

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 2 replies
  • 1520 views
  • 0 likes
  • 3 in conversation