[R] combining n imputed dataset

From: wiplash <clavel_at_pepsmail.univ-lyon1.fr>
Date: Tue, 19 Apr 2011 02:37:49 -0700 (PDT)


Hi,

I'm using the library MICE to make multiple imputations. I'can pool the results to show how the predicted values fit, but how to combine the five imputed datasets? I take the mean?
for exemple :

 x1<-complete(imp)
 x2<-complete(imp, 2)
 x3<-complete(imp, 3)
 x4<-complete(imp, 4)
 x5<-complete(imp, 5)

 impcomp<-(x1+x2+x3+x4+x5)/5

Or there is an other way to do this?

Thank you very much,

Best regards

Julien

--
View this message in context: http://r.789695.n4.nabble.com/combining-n-imputed-dataset-tp3459948p3459948.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 19 Apr 2011 - 11:52:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Apr 2011 - 12:00:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive