Displaying 1 result from an estimated 1 matches for "use_statins1".
2010 Nov 01
1
Error message in fit.mult.impute (Hmisc package)
...the values using aregImpute, but I am getting an error at the
fit.mult.impute stage.
Here is some sample code (I actually have more observations and variables to
impute, but the error can be duplicated using the code below).
#################
library(Hmisc)
library(Design)
ds <- structure(list(use_statins1 = c(1L, 1L, 0L, 1L, 1L, 0L, 1L, 1L,
1L, 0L, 0L, 1L, 1L, 0L, 1L, 1L, 0L, 1L, 0L, 1L, 0L, 1L, 0L, 1L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 1L, 1L, 0L, 0L, NA, 1L, 0L, 0L, 0L,
0L, 1L, 0L, 0L, 1L, 0L, 0L, 1L, 0L, 0L, 0L, 1L, 1L, 0L, 0L, 1L,
1L, 1L, 0L, 0L, 1L, 0L, 0L, 0L, NA, 1L, 0L, 0L, 0L, 1L, 0L, 1L,
0L, 0L,...