帮助页面MICE
将函数定义为:
mice(data, m = 5, method = vector("character", length = ncol(data)),
predictorMatrix = (1 - diag(1, ncol(data))),
visitSequence = (1:ncol(data))[apply(is.na(data), 2, any)],
form = vector("character", length = ncol(data)),
post = vector("character", length = ncol(data)), defaultMethod = c("pmm",
"logreg", "polyreg", "polr"), maxit = 5, diagnostics = TRUE,
printFlag = TRUE, seed = NA, imputationMethod = NULL,
defaultImputationMethod = NULL, data.init = NULL, ...)
这些是很多参数。如何决定指定哪些参数以及保留哪些参数作为默认值?
我对多重插补的数量m
和最大迭代次数特别感兴趣maxit
。这些参数如何影响准确性?
换句话说,何时(如何?)——在使用这些参数的同时——我真的可以说已经达到了某种收敛吗?