After running MICE package, the number of missing values are shrinked from 147428 to 46093 in each of the 5 complete imputation sets. But isn't it supposed to be 0 NAs instead???
Thanks!
Here is my MICE code:
imp = mice(newdata)
imputationSet1 = complete(imp)
imputationSet2 = complete(imp,2)
imputationSet3 = complete(imp,3)
imputationSet4 = complete(imp,4)
imputationSet5 = complete(imp,5)
Try to handover an additional parameter called
threshold
, whose default is0.999
. If you set this to something closer to1
or even larger one, your problem should disappear.Be aware though that this issue arises only if the collinearity in the data is high.