I would like to conduct a mediation analysis with a continuous mediator. I have a hard time finding comprehensive guides on how to do this.
- From what I have read, bootstrap-based mediation is preferred, but if I understand correctly, the mediation package only allows for qualitative mediators. Any suggestion how to do it?
- My second doubt concerns fitting a model for use in mediation. Should I use simple bivariate regression models or should I look for the best-fitting model and then calculate mediation? The latter approach can be problematic due to the number of variables and the equivalence of some models in terms of goodness of fit.