Variable keeps getting removed from imputation #666
Unanswered
studentaccount221
asked this question in
Getting started
Replies: 1 comment
-
The idea behind your code seems sound. Could other variables in your data be linearly related to |
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
-
I am trying to impute some missing values in my data.
I have a variable which represents the time between onset of symptoms and time of randomization (t_or). I also have a variable time from onset to start surgery (t_os) and a variable time from onset to end surgery (t_oe). t_or has no missing values while t_os and t_oe do. I need all these variables for my analysis.
I am using the pmm method and I have added the following to my predictor matrix:
Now, i keep getting warning messages that in order to predict either t_os or t_oe, MICE has removed t_or.
However, the time period from onset to randomization is important to predict the time period from onset to start surgery, so I need this variable.
I am very new to MICE so I am not sure how to solve this issue. What can i do to solve this?
Beta Was this translation helpful? Give feedback.
All reactions