How to use correlation threshold argument to avoid covariate dropping #366
Replies: 5 comments
-
The The related Hope this help. |
Beta Was this translation helpful? Give feedback.
-
Thank you. Would it be possible that you show for my example how to change the |
Beta Was this translation helpful? Give feedback.
-
Did you try |
Beta Was this translation helpful? Give feedback.
-
OK solved. Thanks! |
Beta Was this translation helpful? Give feedback.
-
When the correlation between target variable and a covariate is too high, the covariate is dropped and the event is logged, e.g.
In section 9.1.5 of your book (https://stefvanbuuren.name/fimd/sec-toomany.html) it is specified that this happens if the correlation is larger than .999. However in my example the correlation is just below this threshold, still the variable
x
gets dropped. Furthermore it is stated in the same section that thethreshold
argument can be used to increase this threshold. However, this arguments seems not to be working in the way I expect, as it does 'nothing'.m = mice(data.frame(x,y), m = 5, maxit = 10, threshold = .9999)
Could you clarify how this setting is handled?
Beta Was this translation helpful? Give feedback.
All reactions