Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: percentile Q asked by Paul_Visintainer@nymc.edu


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu, Paul_Visintainer@nymc.edu
Subject   st: Re: percentile Q asked by Paul_Visintainer@nymc.edu
Date   Thu, 16 Nov 2006 13:49:42 -0500

Paul--
Please do not reply to an existing thread, and please use an
informative subject heading when posting to Statalist.  Otherwise, the
utility of the archives is compromised.
You may be looking for -egen- subcommand cut() or the -egenmore-
subcommand xtile() (type -findit egenmore- and follow links to
download).

On 11/16/06, Visintainer, Paul <PAUL_VISINTAINER@nymc.edu> wrote:
Does anyone recall a command (similar to xtile or pctile) that creates a
new variable from an existing one, where the cutpoints are specific
percentages of the distribution?  (e.g., three groups created by
breaking the distribution at 37%, 62%, and 100%)
______________________________________
Paul F. Visintainer, PhD
Professor and Chair
Department of Epidemiology and Biostatistics
School of Public Health
New York Medical College
PH: (914) 594-4804
FX: (914) 594-4853
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index