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.

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.

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

Martijn Heymans, 2021

Examples

  pool_D2(c(2.25, 3.95, 6.24, 5.27, 2.81), 4)
#>        D2         p       df1       df2 
#>  0.592801  0.669186  4.000000 59.199073