In the manual. See pctile. For your example
-xtile newvar=oldvar, nq(5)-
Stephen McDonald
ANZDATA Registry
Adelaide South Australia
ph +61 8 8222 6809
fax +61 8 8222 6402
-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Graeme Inglis
Sent: Friday, 28 February 2003 15:15
To: Stata List (E-mail)
Subject: st: Quintiles
Hi
Does anyone know of a Stata 7 ado that generates quintiles, a variable with
ranked values divided into 5 equal percentage groups.
My searching has drawn a blank.
Thanks
Thanks
Graeme Inglis.
Research Officer.
Cancer Control Research Institute.
Centre for Behavioural Research in Cancer.
The Cancer Council of Victoria.
Telephone: 61(0)3 9635 5203.
*
* 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/
*
* 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/