miceadds (version 3.17-44)

mi_dstat: Cohen's d Effect Size for Missingness Indicators

Description

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

Usage

mi_dstat(dat)

Value

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

Arguments

dat

Data frame

Examples

Run this code
#############################################################################
# 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 )

Run the code above in your browser using DataLab