I am assessing pregnancy data where my exposure is categorical variable (either dichotomized or ordinal), potential mediator is categorical (dichotomized or ordinal) and the outcome is also categorical (yes/no). It sounds like the MEDIATION package in R doesn’t work with non-continuous exposures and mediators.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.