I did linear regression of X (independent variable) to M (Mediator)

then I used survival regression to fit X to Y (dependent variable)

With these questions:

a. HOW to correctly do a mediation analysis from X to Y through M with survival regression?

b. If the Mediation() function is available, why the results are so weird? ie. ACME and ADE are so large and have negative values.

C. if the negative values are fine, how to explain them? As I know, they might be explained as the suppressing effects.

I'm new to mediation analysis and I'm using mediation() with R. My results are very strange and I'm not sure if they are correct. I haven't found a very detailed mediation analysis on survival regression, any discussion is very welcome and if anyone can give me some hints I would appreciate it!

Here is the code:

# Mediator model

mediator_formula

More Wei Wang's questions See All
Similar questions and discussions