pool_D2: Combines the Chi Square statistics across Multiply Imputed...

View source: R/pool_D2.R

pool_D2R Documentation

Combines the Chi Square statistics across Multiply Imputed datasets

Description

pool_D2 The D2 statistic to combine the Chi square values across Multiply Imputed datasets.

Usage

pool_D2(dw, v)

Arguments

dw

a vector of Chi square values obtained after multiple imputation.

v

single value for the degrees of freedom of the Chi square statistic.

Value

The pooled chi square values as the D2 statistic, the p-value, the numerator, df1 and denominator, df2 degrees of freedom for the F-test.

Author(s)

Martijn Heymans, 2021

References

Eekhout I, van de Wiel MA, Heymans MW. Methods for significance testing of categorical covariates in logistic regression models after multiple imputation: power and applicability analysis. BMC Med Res Methodol. 2017;17(1):129.

Van Buuren S. (2018). Flexible Imputation of Missing Data. 2nd Edition. Chapman & Hall/CRC Interdisciplinary Statistics. Boca Raton.

Examples

  pool_D2(c(2.25, 3.95, 6.24, 5.27, 2.81), 4) 
 

mwheymans/psfmi documentation built on June 30, 2023, 5:25 a.m.