Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Multiplying variables / Generating new variables after 'mi impute' - STATA 11
From
Maarten buis <[email protected]>
To
[email protected]
Subject
Re: st: Multiplying variables / Generating new variables after 'mi impute' - STATA 11
Date
Wed, 28 Apr 2010 07:22:34 +0000 (GMT)
--- On Wed, 28/4/10, Moses Lee wrote:
> 1) Impute missing variables
> 2) Generate new variables - by multiplying two existing
> variables after imputing missing variables.
>
> I have tried running 'mi impute mvn' command. However, I
> realised the imputed values do not replace the missing
> values in the original variables.
-mi- creates new observations that include the imputed
values. It has to do that, because it should for each
missing value multiple imputions. So what is left behind
after -mi- impute is typically the original data (_mi_m==0),
which includes missing data, plus new rows containing the
imputed values. The exact format depends on how you -mi set-
your data, in particular what -style- you chose, see
-help mi set-. In order to make use of the imputed values
you'll need to use -mi estimate-.
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/