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

elementary method functions for multiple imputation with mice #164

Open
5 tasks
avehtari opened this issue Feb 10, 2017 · 2 comments
Open
5 tasks

elementary method functions for multiple imputation with mice #164

avehtari opened this issue Feb 10, 2017 · 2 comments

Comments

@avehtari
Copy link
Contributor

Summary:

This is an idea for a "new developer friendly" project.
mice (Multivariate Imputation by Chained Equations) package
https://cran.r-https://cran.r-project.org/package=mice
allows user defined elementary imputation methods. It would be quite easy to make functions which would allow use of rstanarm, too.

Description:

Implement Stan versions of elementary imputation methods

  • mice.impute.stan.norm
  • mice.impute.stan.logreg
  • mice.impute.stan.polr
  • mice.impute.stan.2l.norm
  • mice.impute.stan.2lonly.norm
    based on the corresponding existing functions (without .stan in the name). The existing norm function uses a fixed conjugate prior and analytic posterior, logreg uses glm.fit, polr uses a function from MASS package, and 2l functions use Gibbs sampling. rstanarm would provide more flexibility on priors and better inference.
@bgoodri
Copy link
Contributor

bgoodri commented Feb 10, 2017 via email

@avehtari
Copy link
Contributor Author

I know people who used Stan for mice style imputation using their own code for chaining. They didn't care it was slow, they wanted the best possible inference. I know there can be also problems of checking all diagnostics for each model fit etc.

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

No branches or pull requests

2 participants