stationary_rate: Compute rate of stationary values

Description Usage Arguments Value

View source: R/stationary_rate.R

Description

Computes the rate of stationary values from one completed data set to another where the non-missing data is included in the denominator of the calculation, and - by definition - does not contribute to the numerator.

Usage

1
stationary_rate(X, Y, X_init, indicator)

Arguments

X

named list; imputed values, in order of appearance by row in original data, of each variable (named) from one iteration within missForest procedure.

Y

named list; imputed values, in order of appearance by row in origina data, of each variable (named) from the iteration within the missForest procedure succeeding that used to determine X.

X_init

data.frame; a data set including any of numeric, logical, integer, factor and ordered data types, to be used as the initial state of the missForest procedure.

indicator

named list; an indicator of the missing (=T) or not-missing (=F) status of the columns of X_init.

Value

numeric; the total proportion of stationary values across the two completed data sets.


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