[Mediation-information] An error message
dtingley at gov.harvard.edu
Mon Jun 29 15:40:30 CEST 2015
This means you have different sets of missing values between your mediator
and outcome models. Either fill in those missing values with their actual
values, or set dropobs = TRUE as described in the help file for mediate.
Our vignette published in the Journal of Statistical Software also
describes an imputation approach to this issue.
On Mon, Jun 29, 2015 at 9:37 AM <jyoo32 at wisc.edu> wrote:
> as I ran the mediation analysis using mediate package, I got this error
> msg "number of observations do not match between mediator and outcome
> models”. Do you know how to fix this problem? Your answer would be greatly
> Mediation-information mailing list
> Mediation-information at lists.r-forge.r-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mediation-information