Displaying 2 results from an estimated 2 matches for "avevar".
2010 Jul 15
1
Error using the mi package
...* f6* f7*
f8* f9* f12* f14* f15* f16* f20* f21* f22* f23* f25* g2*
g3* g6* g8* g9* g12* g13* g15* g17* g18* g22* g25* g26*
g27* g28* g31* g34* g43* g55* g58* g59* g60* g61* g63*
g65* g68a* g68b* g69* g70* g71* g91* g92* g93* g94* g95*
Error in AveVar[s, i, ] <- c(avevar.mean, avevar.sd) :
number of items to replace is not a multiple of replacement length
And here is what traceback() gives:
> traceback()
3: .local(object, ...)
2: mi(imp.data, info = info2, n.iter = 6, preprocess = FALSE)
1: mi(imp.data, info = info2, n.iter = 6, prepr...
2009 Apr 22
1
Multiple imputations : wicked dataset ? Wicked computers ? Am I cursed ? (or stupid ?)
...at: 0.028 0 0.028
>
Examples #1 and #2 of the manual gave expected results.
Package "mi" (Andrew Gelman and a Columbia team, early development
(version=0.06.something), but manual advertises nice features) :
> system.time(Data2.mi<-mi(DataTest,n.imp=5))
Erreur dans dimnames(AveVar) <- list(NULL, NULL, c(paste("mean(",
sim.varnames, :
la longueur de 'dimnames' [3] n'est pas ?gale ? l'?tendue du tableau
Timing stopped at: 0.08 0 0.08
>
"textbook example" (example for function mi) : did not converge after6
iterations. Did not con...