title: predict after multiple imputation in R
body: <p>I used the mice package in R to perform multiple imputation for my data:</p>
  
  <pre><code>### multiple inputation by chained equations
  imp.data &lt;- mice(data, maxit = 5, m = 5, seed = 92385, print = F)
  </code></pre>
  
  <p>I want to run a logistic regression model after the MI, and predict the outcome based on the model:</p>
  
  <pre><code>model &lt;- with(imp.data, glm(died ~ agecat + female_1 + insurance + mech + transfer +
                            iss + mxaisbr1 + maxais + cm_chf_1 + cm_mets_1 + cm_liver_1 +
                            cm_htn_c_1 + cm_bldloss_1 + state, family = binomial))
  </code></pre>
  
  <p>However, the predict command does not work:</p>
  
  <pre><code>predict(pool(model), type = c('response'))
  </code></pre>
  
  <p>It would be much simpler if I have the data with imputed values, but the imputation got 5 imputed data sets, making the post estimation complicated. 
  Any idea ?</p>
  
  <p>Thanks!!</p>