Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple imputation implementation #30

Open
jeffbone opened this issue Nov 25, 2022 · 0 comments
Open

Multiple imputation implementation #30

jeffbone opened this issue Nov 25, 2022 · 0 comments

Comments

@jeffbone
Copy link

Hello,

Thanks again for the fantastic package!

I've been experimenting with the multimp option in cmest, which is great to have built-in; however, I've noticed that the imputation is carried out using only the variables included in the mediation models, even if the data frame includes additional variables.

It would be great if the package allowed the imputation models to differ (i.e., include a larger set of potential variables) to the mediation models. In cases where the exposure is missing, it may be that variables the are non-confounders within the mediation models are still useful for imputation.

I tried passing my own predictorMatrix as an additional argument to mice within cmest but this returned an error.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant