Bill Rising replied to me
> When I've taught Stata in the classroom, I've always
> avoided -recode-
> because it seemed to kludgy, and taught the use of -int-
> (rather than
> -floor-, since the data were always positive - something I
> shouldn't have
> done.)
>
On the other hand, -floor()- has only been an official
function since Stata 8. Before that, you had to do it
by a composite function call, such as
-sign() * int(abs())-. I would rather teach -floor()- than
that.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/