Data contains NAs after imputation, no evidence for constant values or collinearity #350
Michael-Covell
started this conversation in
Missing data methodology
Replies: 1 comment 6 replies
-
This is normal behaviour. The line meth[c('revenue','units','category','menu','menu_agg')] <- "" instruct You would need to remove the predictors from the imputation model for pred["broilers_boosted", c("revenue",'units', 'category', 'menu', 'menu_agg')] <- 0 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have NAs after I run mice() when I "skip" imputation of some variables using this line of code...
meth[c('revenue','units','category','menu','menu_agg')] <- ""
There is no warning message about constant values and the correlation matrix (among numeric variables) looks like this...
I am interested only in imputing values for broilers_boosted. Here is the full code I am running:
Example.txt
Again, I am interested only in imputing values for broilers_boosted, but if (and only if) I skip imputation of the other variables, mice() only partially imputes data for broilers_boosted such that there are still NAs after imputation. Is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions