Good morning all,
I'm examining the proportion of refugees returning 'home' based on conditions in their countries of asylum and countries of origin across one hundred country-dyads in a twenty year period, using the following code in Stata 13 (with dependent/independent variables renamed here for ease of use):
stepwise, pr(.2): glm dependent_variable independent_variable1 independent_variable2 independent_variable3 [etc], link(logit) family(binomial) robust nolog
However, a lot of my independent variables have missing values, and I've just discovered that none of these are included in the GLM analysis - my dataset has over 1,900 rows, but only around 400 of these are actually used in the model (i.e., only the rows for which none of the information is missing). What can I do in order to include missing values in my model?
I've heard about the MI command, and I was wondering if that might help - but I don't know how to use it, nor how it would affect my model.
Suggestions would be much appreciated!
Thank you!
Chloe
I'm examining the proportion of refugees returning 'home' based on conditions in their countries of asylum and countries of origin across one hundred country-dyads in a twenty year period, using the following code in Stata 13 (with dependent/independent variables renamed here for ease of use):
stepwise, pr(.2): glm dependent_variable independent_variable1 independent_variable2 independent_variable3 [etc], link(logit) family(binomial) robust nolog
However, a lot of my independent variables have missing values, and I've just discovered that none of these are included in the GLM analysis - my dataset has over 1,900 rows, but only around 400 of these are actually used in the model (i.e., only the rows for which none of the information is missing). What can I do in order to include missing values in my model?
I've heard about the MI command, and I was wondering if that might help - but I don't know how to use it, nor how it would affect my model.
Suggestions would be much appreciated!
Thank you!
Chloe
Comment