Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[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 <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index