Covariances set to 0 in pool.compare #374
CaroHaensch
started this conversation in
Impute, analyse and pool
Replies: 2 comments
-
Carolina, thanks for alerting. You are right:
My suggestion is to use Related: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Stef, dear Gerko,
Jörg Drechsler and I noticed quite different results in pool.compare() between mice >3 and mice <3 for the Wald test. I think we pinned it down to the variance-covariance matrix which is not stored completely anymore.
In line 32 of pool.compare(), the variance vector is transformed again into a matrix with diag()
Ubar <- Q %% diag(est1$pooled$ubar) %% (t(Q))
and the covariances are of course then all set to zero.
In the old mice version it was
Ubar <- Q %% est1$ubar %% (t(Q))
The difference in covariance values will lead to different results and we think in case of the newer version to incorrect ones. Li et al 1991 use the variance-covariance matrix too.
Cheers
Carolina
Beta Was this translation helpful? Give feedback.
All reactions