Re: [R] multiple imputation of longitudinal, time-unstructured data

2015-02-17 Thread John Sorkin
Pam, Please let me know what you discover. I just started looking at a similar problem. I understand that a Kalman filter can sometimes be applied to this problem, but at this time I don't know how to accomplish this. John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostatistics

Re: [R] Multiple imputation, multinomial response & random effects

2014-01-17 Thread Ruben van eijk
Dear Davina, Unfortunately (or luckily), I have almost the exact same problem. I want to do a multilevel analysis with imputed data and both include mixed and random effects in the regression model. I have imputed my data with de Hmisc package (aregImpute), however, the rest of the functions do

Re: [R] Multiple imputation on subgroups

2011-10-10 Thread Weidong Gu
An ad-hoc method is to impute missing scores of the whole data set including subgroup1, then change imputed scores in subgroup1 into NA. Weidong Gu On Mon, Oct 10, 2011 at 5:35 AM, Sarah wrote: > Dear R-users, > > I want to multiple impute missing scores, but only for a few subgroups in my > dat

Re: [R] multiple imputation

2011-04-21 Thread Ted Harding
On 20-Apr-11 20:46:53, DOCMAA wrote: > I have missing values from a few subjects due to instrumentation > not working. My data set is N=283 data points. For some subjects > i have 60 data points missing max. > > I tried to use Amelia 2 to impute the missing values but i am > getting a negative

Re: [R] multiple imputation manually

2011-02-09 Thread Sarah
Hi Daisey, Thanks for your answer! You've mentioned to change the name of the dataset. Is it possible to rename the data set with each run (so read in the incomplete dataset, do the imputation, and call it dataset 1; read in the (same) incomplete dataset, do another imputation, and call it datase

Re: [R] multiple imputation manually

2011-02-08 Thread Daisy Englert Duursma
Hello, I don't really understand you question but if you want to run the same code four or five times on the same dataset you could write it into a for loop where yourread in your incomplete dataset back in at the beginning. A better practice is to change the name of a dataset when you make chang

Re: [R] Multiple imputation for nominal data

2010-11-03 Thread Frank Harrell
The aregImpute function in the Hmisc package can do this through predictive mean matching and canonical variates (Fisher's optimum scoring algorithm). Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Mu

Re: [R] Multiple imputation for nominal data

2010-11-02 Thread John Sorkin
Thank you! John John David Sorkin M.D., Ph.D. Chief, Biostatistics and Informatics University of Maryland School of Medicine Division of Gerontology Baltimore VA Medical Center 10 North Greene Street GRECC (BT/18/GR) Baltimore, MD 21201-1524 (Phone) 410-605-7119 (Fax) 410-605-7913 (Please call

Re: [R] Multiple imputation for nominal data

2010-11-02 Thread Andrew Miles
There are a couple of packages that do MI, including MI for nominal data. The most recent of these is "mi", but I believe "mice" might do it as well. Both are available on the CRAN, and both have useful articles that teach you how to use them. The citations for these articles can be foun

Re: [R] Multiple imputation, especially in rms/Hmisc packages

2010-08-11 Thread Frank Harrell
Frank E Harrell Jr Professor and ChairmanSchool of Medicine Department of Biostatistics Vanderbilt University On Tue, 10 Aug 2010, Mark Seeto wrote: Hi Frank (and others), Thank you for your comments in reply to my questions. I had not encountered contrast te

Re: [R] Multiple imputation, especially in rms/Hmisc packages

2010-08-10 Thread Mark Seeto
Hi Frank (and others), Thank you for your comments in reply to my questions. I had not encountered contrast tests before. I've looked in a few texts, but the only place I could find anything about contrast tests was your Regression Modeling Strategies book. You wrote that the "leave some var

Re: [R] Multiple imputation, especially in rms/Hmisc packages

2010-08-09 Thread Mark Seeto
Thank you for your reply Frank. I am not familiar with the contrast test, but I'll see what I can find out about it. Mark Frank Harrell wrote: On Mon, 9 Aug 2010, Mark Seeto wrote: Hello, I have a general question about combining imputations as well as a question specific to the rms and Hm

Re: [R] Multiple imputation, especially in rms/Hmisc packages

2010-08-09 Thread Frank Harrell
On Mon, 9 Aug 2010, Mark Seeto wrote: Hello, I have a general question about combining imputations as well as a question specific to the rms and Hmisc packages. The situation is multiple regression on a data set where multiple imputation has been used to give M imputed data sets. I know how to

Re: [R] Multiple Imputation in mice/norm

2009-04-27 Thread Bert Gunter
project.org] On Behalf Of Frank E Harrell Jr Sent: Saturday, April 25, 2009 3:38 PM To: David Winsemius Cc: Emmanuel Charpentier; r-h...@stat.math.ethz.ch Subject: Re: [R] Multiple Imputation in mice/norm David Winsemius wrote: > > On Apr 25, 2009, at 9:25 AM, Frank E Harrell Jr wrote: &

Re: [R] Multiple Imputation in mice/norm

2009-04-25 Thread Frank E Harrell Jr
David Winsemius wrote: On Apr 25, 2009, at 9:25 AM, Frank E Harrell Jr wrote: Emmanuel Charpentier wrote: Le vendredi 24 avril 2009 à 14:11 -0700, ToddPW a écrit : I'm trying to use either mice or norm to perform multiple imputation to fill in some missing values in my data. The data has so

Re: [R] Multiple Imputation in mice/norm

2009-04-25 Thread David Winsemius
On Apr 25, 2009, at 9:25 AM, Frank E Harrell Jr wrote: Emmanuel Charpentier wrote: Le vendredi 24 avril 2009 à 14:11 -0700, ToddPW a écrit : I'm trying to use either mice or norm to perform multiple imputation to fill in some missing values in my data. The data has some missing values bec

Re: [R] Multiple Imputation in mice/norm

2009-04-25 Thread Emmanuel Charpentier
Danke sehr, herr Professor ! This one escaped me (notably because it's a trifle far from my current interests...). Emmanuel Charpentier Le samedi 25 avril 2009 à 08:25 -0500, Frank E Harrell Jr a écrit : > Emmanuel Charpentier wrote: > > Le vendredi 24 avri

Re: [R] Multiple Imputation in mice/norm

2009-04-25 Thread Frank E Harrell Jr
Emmanuel Charpentier wrote: Le vendredi 24 avril 2009 à 14:11 -0700, ToddPW a écrit : I'm trying to use either mice or norm to perform multiple imputation to fill in some missing values in my data. The data has some missing values because of a chemical detection limit (so they are left censored

Re: [R] Multiple Imputation in mice/norm

2009-04-25 Thread Emmanuel Charpentier
Le vendredi 24 avril 2009 à 14:11 -0700, ToddPW a écrit : > I'm trying to use either mice or norm to perform multiple imputation to fill > in some missing values in my data. The data has some missing values because > of a chemical detection limit (so they are left censored). I'd like to use > MI

Re: [R] multiple imputation with fit.mult.impute in Hmisc - how to replace NA with imputed value?

2008-11-26 Thread Frank E Harrell Jr
Charlie Brush wrote: Frank E Harrell Jr wrote: Charlie Brush wrote: I am doing multiple imputation with Hmisc, and can't figure out how to replace the NA values with the imputed values. Here's a general ourline of the process: > set.seed(23) > library("mice") > library("Hmisc") > library(

Re: [R] multiple imputation with fit.mult.impute in Hmisc - how to replace NA with imputed value?

2008-11-26 Thread Charlie Brush
Frank E Harrell Jr wrote: Charlie Brush wrote: I am doing multiple imputation with Hmisc, and can't figure out how to replace the NA values with the imputed values. Here's a general ourline of the process: > set.seed(23) > library("mice") > library("Hmisc") > library("Design") > d <- read

Re: [R] multiple imputation with fit.mult.impute in Hmisc - how to replace NA with imputed value?

2008-11-26 Thread Frank E Harrell Jr
Charlie Brush wrote: I am doing multiple imputation with Hmisc, and can't figure out how to replace the NA values with the imputed values. Here's a general ourline of the process: > set.seed(23) > library("mice") > library("Hmisc") > library("Design") > d <- read.table("DailyDataRaw_01.txt