aalfons / robmed

Perform mediation analysis via a fast-and-robust bootstrap test, as well as various other methods
GNU General Public License v3.0
6 stars 0 forks source link

Does this package support multilevel modeling? #33

Closed ReichYang closed 1 year ago

ReichYang commented 2 years ago

Hi, I'm looking to do a mediation analysis with clustered data so I probably need to have mixed-effects model. Can we achieve this with this package?

aalfons commented 2 years ago

Thanks for the interest in the package.

Mixed-effects models are currently not implemented in package robmed. Robust estimators for mixed-effects models do exist, but I don't think that the fast-and-robust bootstrap methodology has been developed for them. So it will require some methodological development to realize this feature (and not just implementation).

I'll put this on my list, but I cannot make any promises or provide a time line at this point. There are other features that have higher priority.

aalfons commented 1 year ago

I'm closing this now because there is also issue https://github.com/aalfons/robmed/issues/35 regarding this feature.