Statalist


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

Re: st: RE: how can I create deciles by group?


From   "Erasmo Giambona" <[email protected]>
To   [email protected]
Subject   Re: st: RE: how can I create deciles by group?
Date   Fri, 20 Jul 2007 13:09:04 +0200

Thanks Nick.
Erasmo

On 7/16/07, Nick Cox <[email protected]> wrote:
In addition to other answers, check out Ulrich Kohler's
-egen- function within -egenmore- on SSC.

Nick
[email protected]

Erasmo Giambona
>
> 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?

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index