Re: [R] EM for missing data

2012-07-23 Thread David L Carlson
: Sunday, July 22, 2012 5:11 AM To: r-help Subject: Re: [R] EM for missing data hi Greg, David, and Tal, Thank you very much for the information. I found this in SPSS 17.0 missing value manual: EM Method This method assumes a distribution for the partially missing data and bases

Re: [R] EM for missing data

2012-07-23 Thread Jie
University College Station, TX 77843-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- project.org] On Behalf Of ya Sent: Sunday, July 22, 2012 5:11 AM To: r-help Subject: Re: [R] EM for missing data hi Greg, David, and Tal, Thank you very

Re: [R] EM for missing data

2012-07-22 Thread ya
: 2012-07-21 23:35 To: xinxi813 CC: r-help Subject: Re: [R] EM for missing data The EM algorithm does not impute missing data, rather it estimates parameters when you have missing data (those parameters can then be used to impute the missing values, but that is separate from the EM algorithm

[R] EM for missing data

2012-07-21 Thread ya
Hi list, I am wondering if there is a way to use EM algorithm to handle missing data and get a completed data set in R? I usually do it in SPSS because EM in SPSS kind of fill in the estimated value for the missing data, and then the completed dataset can be saved and used for further

Re: [R] EM for missing data

2012-07-21 Thread Tal Galili
Hello Ya. I am no expert, so I am eager to read suggestions from other people in the mailing list. But just a few pointers I am (somewhat) sure of - You can try using this package: http://cran.r-project.org/web/packages/imputation/imputation.pdf And use something like kNNImpute. KNN solving is

Re: [R] EM for missing data

2012-07-21 Thread Greg Snow
The EM algorithm does not impute missing data, rather it estimates parameters when you have missing data (those parameters can then be used to impute the missing values, but that is separate from the EM algorithm). If you create a dataset that has missing values imputed (a single time) and then