Dear all,
I'm struggling to generate a new variable after a Multiple Imputation. I'm new in MI, but before asking I've been reading different threads on this issue. As far as I understood, it would seem that the command that I should use is -mi passive- but I'm not sure about this.
I have a variable that includes 13 parties voted at the individual-level. Nevertheless, I do have missing values for survey respondents who:
1) have not voted;
2) have answered that they don't remember or refused to answer.
Considering my research design, I have decided to impute these missing values.
The model is the following
noisily mi impute mlogit parties = ivar [indepvars], augment force add(60)
I now need to store the results into a new variable which I will use to attribute each respondent a specific score that I derived. By reading Stata help material, I could not understand exactly what to do to generate this new variable that includes results from -mi imput mlogit-
I have tried the command
mi passive: egen miparties = mean(parties)
but I get a return message error claiming that the variable _1_parties is not found (and actually, it is not there!)
variable _1_parties not found
st_varrename(): 3500 invalid Stata variable name
u_mi_wide_swapvars(): - function returned error
<istmt>: - function returned error
I thus imagine that I missed some step in between or my procedure is not correct. Can you help me?
Thank you in advance for your support,
J.
0 Response to new variable from mi impute
Post a Comment