| ![]() |
From | "Michael Blasnik" <michael.blasnik@verizon.net> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: Re: Round |
Date | Tue, 31 Jan 2006 13:32:04 -0500 |
Dear Statalistmembers, I would like to know how to round the last number for a continuous variable, such as income, to unity. I’ll try to be more explicit whit an example; supposing that the variable is like that: N. Obs. varY 1 0.003 2 0.045 3 0.050 . . 2348 .9999986 2349 .9999986 2350 .9999986 and I would like to round only the last 3 numbers to 1, what should I do? Thank you! Federica
* * 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/
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |