I would like to conduct a mediation analysis that includes a categorical exposure variable, continuous mediator and a continuous outcome. Does anyone know how to modify the code for the VanderWeele Mediation Maco to accommodate the use of a categorical exposure variable? Thank you.
... View more