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: Rounding multiple imputation variables


From   Jeph Herrin <stata@spandrel.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Rounding multiple imputation variables
Date   Mon, 02 Aug 2010 18:50:33 -0400

See -mi passive-, eg

 mi passive : gen byte newvar=round(imputedvar,1)

will generate a new "imputed" variable that is the imputed
variable, rounded.

hth,
Jeph

On 8/2/2010 4:59 PM, Erum Ikramullah wrote:


So, basically, instead of a value of 1.3492 for race, I would want a
value of 1.  Anyone know how to do this rounding of multiply imputed
variables??

Thanks, Erum

*
*   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