PMM imputes the same values with completely different predictors #608
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Can you please provide a reprex? Without one, it is really hard to see what the issue could be. Because indeed, you would expect the imputations to change. Thom |
Beta Was this translation helpful? Give feedback.
You are right, without an example it is not clear to understand.
However, I think I already found what was causing the problem.
I was trying to impute values of the column using other columns, some of which also contained missing values.
I wanted to avoid imputing the missing values in these other columns, so in the predictor matrix I set as 0 all predictors except for those in the column corresponding to my column of interest. I didn't understand correctly how to set the predictor matrix, and by doing it this way I set no predictors for my column. Therefore, even when changing the other columns, the predictors were always none.
When setting the predictors on the row only I got NAN values…