Hi, I am attempting to impute my data for missing values using the mice function. However everytime I run the function it freezes or lags. I have tried running it over night, and it still does not finish. I am working with 17000 observations across 32 variables. here is my code: imputed.data = mice(data, + m = 1, + diagnostics = F) Thank you in advance, Richard [[alternative HTML version deleted]]
Richard J. Buning <rbuning <at> ufl.edu> writes:> > Hi, > > I am attempting to impute my data for missing values using the mice > function. However every time I run the function it freezes or lags. > > I have tried running it over night, and it still does not finish. I am > working with 17000 observations across 32 variables. > > here is my code: > > imputed.data = mice(data, > + m = 1, + diagnostics = F) >Not reproducible ... ? Have you tried scaling back the problem and seeing if it works reasonably with smaller data sets? Can you extrapolate from several smaller data sets how long you think it will take? If you can convince yourself that it will finish in a few days, and you think you only have to do it once, you might just bite the bullet and let it run. Someone who knows a lot more than I do about imputation and its computational difficulty might chime in if you provide a reproducible example.
Try reducing the maximum iterations. Probably won't make your call instantaneous, but might be worth the slack gained over a day or so. Ken Hutchison On Dec 9, 2554 BE, at 1:59 PM, "Richard J. Buning" <rbuning at ufl.edu> wrote:> Hi, > > I am attempting to impute my data for missing values using the mice > function. However everytime I run the function it freezes or lags. > > I have tried running it over night, and it still does not finish. I am > working with 17000 observations across 32 variables. > > here is my code: > > imputed.data = mice(data, > + m = 1, + diagnostics = F) > > Thank you in advance, > > Richard > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.