BookmarkSubscribeRSS Feed
joe66
Calcite | Level 5

Hi , I got one mediator variable that has three levels, such as "difficult" , "medium" and "easy", I know CAUSALMED can handle binary or continuous mediators, however I am not sure if I can include two binary mediators in the model by creating two dummy variables for "medium" and "easy"?

 

Is there any way I can apply this three level categorical mediator?

 

Thanks,

 

Robin

3 REPLIES 3
StatDave
SAS Super FREQ

The methodology that CAUSALMED employs does not allow for more than one mediator. However, see the second example in this note

joe66
Calcite | Level 5

Thanks for reply. The example involve two mediators, but I noticed that it does not include bootstrapping as Causalmed, how could I include bootstrapping in this method?

 

Robin

tamhane
Obsidian | Level 7

Refer to this paper: "Mediation Analysis Allowing for Exposure–Mediator Interactions and Causal Interpretation: Theoretical Assumptions and Implementation With SAS and SPSS Macros" by Valeri and VanderWeele.

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