Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
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/