Compute Means or Variances Across Imputations
DESCRIPTION:
Compute means or variances across imputations.
USAGE:
miMean(x)
miVar(x, unbiased = T, SumSquares = F)
REQUIRED ARGUMENTS:
- x
-
an
miVariable object or
miList object whose components are
atomic objects with the same length, attributes, and numerical mode.
OPTIONAL ARGUMENTS:
- unbiased
-
if
TRUE, then variances are unbiased sample variances,
with divisor (number of imputations)-1; if
FALSE the "-1" is omitted.
- SumSquares
-
if
TRUE, then unnormalized sums of squares are returned, with
no division, and
unbiased is ignored.
VALUE:
object like a single complete data object from
x,
but containing averages or variances across imputations.
SEE ALSO:
,
,
,
.
EXAMPLES:
miMean(cholesterolImpExample[[3]])
miVar( cholesterolImpExample[[3]]) # 0 for non-missing data