mediation icon indicating copy to clipboard operation
mediation copied to clipboard

R package mediation

Results 45 mediation issues
Sort by recently updated
recently updated
newest added

Hi! Thank you so much for this wonderful package. I was wondering if it would be possible to add support for models that require cluster-robust estimates, specifically `lm_robust` models from...

This works fine with boot=F, but throws an error when boot=T. Seems related to #29 ```r library(mediation) #> mediation: Causal Mediation Analysis #> Version: 4.5.0 test

I wanted to reach out because I'm currently working on a causal mediation analysis using MICE imputed datasets. I've fitted the mediator model using lme4::lmer and the dependent variable (dv)...

Hi, I was wondering if you could also support `feols` output from the `fixest` package in the `mediate` function.

Hi there, thanks for the package. I managed to use it for a single mediator analysis, but I can't seem to get it working for two mediators, using the mediators...

I'm having trouble with `mediation::mediate()` ``` nb.terror.y.anx

https://github.com/kosukeimai/mediation/blob/a9a5c7b747b1d96d9a6df7b7cfe3d7719a1b0780/R/medtests.R#L78-L84 Hello, I am performing a mediation analysis with mixed models in the presence of a (potential) treatment * mediator interaction. I would like to test if this interaction is...

I am having some trouble using your mediate() function with a Generalized Additive Model(GAM) and see that your documentation specifies it can be done, but does not explain the appropriate...

As title. Hi, I know there is a function mediations() to perform "multiple" mediation models, and each of them is with a single mediator. However, if I want to perform...

Hi, does medsens function support the sensitivity analysis of causal mediation analysis with multilevel data? Thank you so much! ------------------------------------------------------------------------------------ Due to the essence of multilevel data, I use lmer...