Closed Hanqingpeng closed 3 years ago
Hi,
I am trying to troubleshoot, but it is tricky as you didn't provide a reproducible example (data + code). Which function are you using? _imputesimulated()? Seems like you have a small number of observations, so things can get tricky.
I searched for this problem and it is possible that the nk argument needs to be manually played with - currently, this is not possible in the missCompare framework, but will fix in the next version.
Meanwhile, I suggest you try various algorithms on your data using the function _imputedata() and then run post imputation diagnostics using _post_impdiag() .
[1] "ITERATION 1 OF TOTAL 50 - IN PROGRESS" 75% of observations (with at least one missing datapoint) covered by setting min_PDM to 1.3 75% of observations (with at least one missing datapoint) covered by setting min_PDM to 1.3 75% of observations (with at least one missing datapoint) covered by setting min_PDM to 1.3 [1] "random replacement imputation - in progress" [1] "Median imputation - in progress" [1] "Mean imputation - in progress" [1] "missMDA regularized imputation - in progress" [1] "missMDA EM imputation - in progress" [1] "pcaMethods PPCA imputation - in progress" [1] "pcaMethods svdImpute imputation - in progress" [1] "pcaMethods BPCA imputation - in progress" [1] "pcaMethods NIPALS imputation - in progress" [1] "pcaMethods NLPCA imputation - in progress" [1] "mice mixed imputation - in progress" [1] "mi imputation - in progress" [1] "Amelia II imputation - in progress" [1] "missForest imputation - in progress" [1] "Hmisc aregImpute imputation - in progress" Error in rcspline.eval(z, knots = parms, nk = nk, inclx = TRUE) : In addition: There were 22 warnings (use warnings() to see them)