I've referred to the syntax that Yves has kindly shared with the group previously for mediation with binary outcomes. I'm wondering if there is a way to carry out imputation (if this seems appropriate) with this code?
For instance, I've used the following code for mediation with continuous outcome variable.
Med=lavaan::sem(INVMED, data=dat, meanstructure=TRUE, missing="fiml", se="boot",
whereas the sample code for binary mediation reads:
Med=lavaan::sem(INVMED, data=dat, ordered=c("outcome"))
(1) Is there an appropriate missing option I can use here and
(2) Can/should I specify the estimator here?