mediation with MICE multiple imputation

Hello,

If you like us to be able to take a deeper look at the issue, we need to be able to run your code. At this point, there is no data we can work with. I suggest you create a reprex because this will help us a lot. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here:

If your data is private, large or sensitive, you should create a small data frame that generates the same error, though the result themselves could be complete nonsense (it's the error we care about at the moment) .

Hope this helps,
PJ