amices / mice

Multivariate Imputation by Chained Equations
https://amices.org/mice/
GNU General Public License v2.0
433 stars 107 forks source link

Error when applying bycases = FALSE in ampute #503

Closed fmartinssp closed 1 year ago

fmartinssp commented 1 year ago

I'm trying to run the ampute() function with bycases = FALSE, to the proportion of missingness is defined in terms of cells. I found the following error:

"Proportion of missing cells is too large in combination with the desired number of missing variables"

I'm using the Iris dataset and the command is "missing <- ampute(Iris,mech = "MCAR",bycases = FALSE)".

Could anybody help me?

ampute

fmartinssp commented 1 year ago

In addition, I am using the package 'mice' version 3.14.0

stefvanbuuren commented 1 year ago

I think the bycases = FALSE is not appropriate for continuous data.

Error: Proportion of missing cells is too large in combination with the desired number of missing variables