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
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
*
* 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/