<>
Scott`s solution represents an elegant way to get the results into a -ret
list-. Note that in my sample code, the results are available as
-di pctilex[1]-
-di pctilex[2]-
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Scott Merryman
Gesendet: Dienstag, 21. Juli 2009 13:39
An: statalist@hsphsun2.harvard.edu
Betreff: Re: st: cut points resulting from xtile
- _pctile vitalit, n(3) -
- return list-
Scott
On Tue, Jul 21, 2009 at 6:21 AM, Miranda Kim <mk@mrc.soton.ac.uk> wrote:
>
> How can I extract the cut points resulting from xtile to know how to label
the categories?
> xtile vit3=vitalit, nq(3)
> Thanks for your help!
>
> *
> * 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/
*
* 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/
*
* 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/