Computes Cohen's d effect size indicating whether missingness on a variable is related to other variables (covariates).

mi_dstat(dat)

Arguments

dat

Data frame

Value

A matrix. Missingness indicators refer to rows and covariates to columns.

Examples

#############################################################################
# EXAMPLE 1: d effect size for missingness indicators data.ma01
#############################################################################

data(data.ma01)
dat <- data.ma01

# compute d effect sizes
md <- miceadds::mi_dstat(dat)
round( md, 3 )