search for: mice

Displaying 20 results from an estimated 695 matches for "mice".

Did you mean: mic
2011 Nov 27
1
Simplifying my code
Hi, I have a pretty simple problem. Here is the code: dat1=complete(dat.mice,1) dat2=complete(dat.mice,2) dat3=complete(dat.mice,3) dat4=complete(dat.mice,4) dat5=complete(dat.mice,5) dat6=complete(dat.mice,6) dat7=complete(dat.mice,7) dat8=complete(dat.mice,8) dat9=complete(dat.mice,9) dat10=complete(dat.mice,10) dat11=complete(dat.mice,11) dat12=complete(dat.mi...
2017 Oct 04
2
Issue calling MICE package
IIUC, this would be an isssue with MICE (or rather "mice"), which isn't Ole's. It could be a namespace issue, but it could also be that some start-up code is not executed if library() is bypasses (see .onAttach et al.). -pd > On 4 Oct 2017, at 17:00 , Michael Dewey <lists at dewey.myzen.co.uk> wrote: > &g...
2017 Oct 05
0
Issue calling MICE package
Sorry, I was not clear enough. The reason I want to use mice::mice() rather than library(mice); mice() is that I want to call it from my own package. But the reprex works from the command line as well, straight after launching R: mice::mice(airquality) #> Error in check.method(setup, data): The following functions were not found: mice.impute.pmm, mic...
2017 Nov 15
3
Problems installing mice package
Hello, I tried intalling mice package and got the following error: * installing *source* package ?mice? ... ** package ?mice? successfully unpacked and MD5 sums checked ** libs g++ -I/usr/local/lib/R/include -DNDEBUG -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/include -fpic -g -O2...
2017 Oct 04
2
Issue calling MICE package
I want to call the mice function from the MICE package from my own package. However I run into this issue, which can be reproduced on the command line: mice::mice(airquality)#> Error in check.method(setup, data): The following functions were not found: mice.impute.pmm, mice.impute.pmm I have no problems when doing l...
2010 Aug 04
2
by group testing
Hello, I have a data set which is similar to the following data mice <- rep(letters[1:4],10) outcome <- sample(c(0,1),length(mice),replace=T) group <- c(rep("A",length(mice)/2),rep("B",length(mice)/2)) my.data <- data.frame(mice,outcome,group) my.sort.data <- my.data[order(my.data[,1]),] I would like to test wether there is a dif...
2017 Nov 15
0
Problems installing mice package
> On Nov 15, 2017, at 1:08 AM, Jeremie Juste <jeremiejuste at gmail.com> wrote: > > > > Hello, > > I tried intalling mice package and got the following error: > > * installing *source* package ?mice? ... > ** package ?mice? successfully unpacked and MD5 sums checked > ** libs > g++ -I/usr/local/lib/R/include -DNDEBUG -I"/home/djj/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I/usr/local/...
2017 Oct 04
0
Issue calling MICE package
...e experts may be able to diagnose this without extra information but I suspect you have not got the right magic in your NAMESPACE file in your package. You may need to re-read section 1.5.1 of the Writing R extensions manual. Michael On 04/10/2017 13:47, Ole H?st wrote: > I want to call the mice function from the MICE package from my own package. > However I run into this issue, which can be reproduced on the command line: > > mice::mice(airquality)#> Error in check.method(setup, data): The > following functions were not found: mice.impute.pmm, mice.impute.pmm > > I...
2009 Sep 10
0
new version of R-package mice
Dear R-users, Version V2.0 of the package mice is now available on CRAN for Windows, Linux and Apple users. Multivariate Imputation by Chained Equations (MICE) is the name of software for imputing incomplete multivariate data by Fully Conditional Specifcation (FCS). MICE V1.0 appeared in the year 2000 as an S-PLUS library, and in 2001 as an R...
2009 Sep 10
0
new version of R-package mice
Dear R-users, Version V2.0 of the package mice is now available on CRAN for Windows, Linux and Apple users. Multivariate Imputation by Chained Equations (MICE) is the name of software for imputing incomplete multivariate data by Fully Conditional Specifcation (FCS). MICE V1.0 appeared in the year 2000 as an S-PLUS library, and in 2001 as an R...
2012 Mar 30
3
pooling in MICE
Hi everyone, Does anyone here has experience using MICE to impute missing value? I am having problem to pool the imputed dataset for a MANOVA test, could you give me some advice please? Here is my code: > library(mice) > grd3dat=subset(paper2,Control==1&Grade_1==3,select=c(Boy,BVCategoryT1,reclassify,meanseap_1,meandep_1,meananx_1,meanper...
2010 Aug 09
0
permanova on MICE object
Hi everyone! I have data consisting of several response variables and several explanatory variables. I wish to do a permanova on this using the vegan library and the adonis() function. However, my data had several missing values in it. In order to 'fix' this I used the mice() function from the mice library to make 5 imputations for all the missing values. To do analysis on the 5 datasets with different imputed values, the mice library includes the with.mids() function in which you can call the mice object and calculate a model for all the 5 datasets. The results from...
2013 Oct 29
3
Ayuda con Mice con polyreg
Saludo gente, antes que nada gracias por la ayuda que puedan aportarme, soy iniciante en R, estoy usando el paquete Mice para realizar imputaciones múltiples sobre variables en su mayoría categóricas. El problema está que cuando expresó este comando imp <- mice(dataset,method="polr",maxit=1) donde el dataset es un data.frame me tirá este error : iter imp variable 1 1 pial1a pial2 pial3a pial3b...
2006 Sep 25
2
Multiple imputation using mice with "mean"
...thod by its resulting classification error in my training data. I have tried several approaches to replace missing values: - mean/median substitution - substitution by a value selected from the observed values of a variable - MLE in the mix package - all available methods for numerical data in the MICE package (ie. pmm, sample, mean and norm) I found that the least classification error results using mice with the "mean" option for numerical data. However, I am not sure how the "mean" multiple imputatation differs from the simple mean substitution. I tried to read some of the...
2011 Apr 08
1
Package mice: Error in if (meth[j] != "") { : argument is of length zero
Dear R users, I am using package mice and I am getting the error " Error in if (meth[j] != "") { : argument is of length zero." I have tried using several different versions of R (even the one that will be coming out this month) to no avail. I am using RStudio as my interface with R. Also note that I had run this a...
2011 Jul 20
1
Calculating mean from wit mice (multiple imputation)
Hi all, How can I calculate the mean from several imputed data sets with the package mice? I know you can estimate regression parameters with, for example, lm and subsequently pool those parameters to get a point estimate using functions included in mice. But if I want to calculate the mean value of a variable over my multiple imputed data sets with fit <- with(data=imp, expr=mean(y...
2011 Dec 09
2
Help with the Mice Function
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...
2009 Apr 24
1
Multiple Imputation in mice/norm
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 because I have several variables that are highly correlated. In SAS's proc MI, there is...
2008 Dec 11
5
Row order in plot
I'm new to R so forgive me if this seems like a simple question: So I have table where the row titles are string variables. When I plot the data with rows along the x-axis, the data is ordered alphabetically as opposed to the order of the table. How can I preserve the row order of the table in the plot? Thanks in advance. -- View this message in context:
2011 Jan 07
1
Adjusting MaxNwts in MICE Package
Hi, I'm trying to impute a large data set using mice but I keep getting this: Error in nnet.default(X, Y, w, mask = mask, size = 0, skip = TRUE, softmax = TRUE, : too many (2944) weights nnet.default uses the argument MaxNWts to set a maximum number of weights. I've tried to change nnet.default to get around this, but mice is somehow still pa...