statistics_of_imputed: Calculate statistics of imputed data

Description Usage Arguments Details Value See Also

View source: R/statistics_of_imputed.R

Description

Calculates selected statistics (measures) of imputed data

Usage

1

Arguments

imputed

named list; each item in the last contains the imputed values of the named item.

Details

Calculates statistics or measures for each imputed variable according to its type, which is one of categorical, ordinal or continuous:

categorical

calculate the entropy of non-numeric or integer data;

ordinal

calculate the dispersion using leiks_D of ordered or integer data;

continuous

calculate the mean and variance of numeric data;

These statistics are intended to be used to monitor convergence of the missForest or MICE procedure.

Value

data.frame; a data.frame with three columns;

variable

name of the imputed data as a factor;

value

value of the measure/statistic;

measure

the name of the measure as a factor, e.g. 'entropy'.

See Also

entropy leiks_D


stephematician/miForang documentation built on July 23, 2019, 5:11 p.m.