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.
Related Posts with new variable from mi impute
coefplot and axis labels of different colorsHi all! I am using coefplot to plot predicted probabilities at certain values for 5 model specifica…
Which statistics should I use when analyzing the effect of interventions on health outcomes?Dear Stata users, I would like to ask which stats I should use. I have health outcomes data (contin…
Conducting system GMM using xtabond2Dear Stata users, I am using the System GMM approach for estimation and I want to know whether the …
Testing for serial correlation in panel analysis with instrumentDear all, Is there an alternative way to test for serial-/autocorrelation in a panel data setting w…
How to overcome the word limitation of 12 in Stata output table when using esttab?I remember somewhere that the word limitation for variable name in Stata is 12, and I try with estta…
Subscribe to:
Post Comments (Atom)
0 Response to new variable from mi impute
Post a Comment