Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to cut at percentiles


From   "Radu Ban" <rban@nber.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: how to cut at percentiles
Date   Sun, 11 Aug 2002 17:40:51 -0400

Dear all,

Thanks for the previous help.
I have an income variable and I would like to create a set of dummies for
whether the income is between certain percentiles (i.e inc10 for income b/w
the 10th and 15th percentile and so on). I know that -centile- generates
requested centiles, but I'm not sure how to put the results of this command
into a list that can be used with the -egen cut- command.

Thanks in advance,

Radu Ban



*
*   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