alexpkeil1 / qgcomp

QGcomp (quantile g-computation): estimating the effects of exposure mixtures. Works for continuous, binary, and right-censored survival outcomes. Flexible, unconstrained, fast and guided by modern causal inference principles
27 stars 6 forks source link

Nonsense results when using `mice` imputation #15

Closed alexpkeil1 closed 3 years ago

alexpkeil1 commented 3 years ago

Nonsense results when using the code supplied in the help files of the qgcomp package can occur when using a survival model with the "pool" function from mice.

One can still pool the results by hand using Rubin's rules, but this issue should be fixed internally in the next version of qgcomp

alexpkeil1 commented 3 years ago

This issue is fixed in version 2.5.2: https://github.com/alexpkeil1/qgcomp/commit/ec57398fc6700825c94720877ec8ea76218321cb

see: https://github.com/alexpkeil1/qgcomp/issues/11