amices / mice

Multivariate Imputation by Chained Equations
https://amices.org/mice/
GNU General Public License v2.0
441 stars 107 forks source link

Chi square tests following multiple imputation #619

Closed franzepsy closed 8 months ago

franzepsy commented 8 months ago

I have conducted multiple imputation with 'mice' and now need to conduct chi square tests (factor with 2 levels x factor with 4 levels) in each of the (32) multiply imputed datasets and pool the results.

I am aware of the formula: dk <- c(24.957, 18.051, 18.812, 17.362, 21.234, 18.615, 19.84) dk.comb <- miceadds::micombine.chisquare(dk=dk, df=4 )

But how can I obtain the chi square results for each of the 32 imputed datasets, to then pool them together? In short, is there a formula to obtain dk?

Thank you!