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

[R] multiple imputation manually

2011-02-07 Thread Sarah
Hi, I want to impute the missing values in my data set multiple times, and then combine the results (like multiple imputation, but manually) to get a mean of the parameter(s) from the multiple imputations. Does anyone know how to do this? I have the following script: y1 <- rnorm(20,0,3) y2 <- rn