Statalist


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

st: how can I create deciles by group?


From   "Erasmo Giambona" <e.giambona@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: how can I create deciles by group?
Date   Mon, 16 Jul 2007 10:24:49 -0400

Dear Statalist,

I need to create deciles for my dataset by year. I understand STATA
allows one to get deciles for the full data set (in my case I used:
xtile size_decile=size1, nq(10)), but I  really need to get my deciles
by year. I realize that the "by" group does not work with "xtile". Is
there any way to get the size deciles by year?

I would appreciate any suggestions.

Regards,
Erasmo
*
*   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