I have a continuous variable X, a continuous mediator M, and a time-dependent outcome Y. Can mediation analyses based on the principles of Baron & Kenny be applied, using Cox-proportional hazards models rather than linear regression models?
Any other statistical procedures that I could use when assessing mediation of a time-dependent outcome?
Thanks!