pool_D2 function

Combines the Chi Square statistics across Multiply Imputed datasets

Combines the Chi Square statistics across Multiply Imputed datasets

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

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.

Returns

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.

Examples

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

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.

Author(s)

Martijn Heymans, 2021

  • Maintainer: Martijn Heymans
  • License: GPL (>= 2)
  • Last published: 2023-06-17