Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Sums and means for each decile


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Sums and means for each decile
Date   Thu, 11 Oct 2012 16:15:22 +0100

What's -decile-?

You're right about -pctile-. But what do you want?

sums, means of some variable y in classes determined by selected
percentiles of another variable x?

sums, means of a variable x in classes determined by selected
percentiles of the same variable x?

On Thu, Oct 11, 2012 at 4:09 PM, Charles Vellutini
<[email protected]> wrote:

> I have looked at -decile- and -pctile- but neither provides the sums and means of each decile/percentile (only the cutoffs), if I am not mistaken.
>
> One could of course recover the cutoffs from -decile- and program this by hand. There is also the excellent -glcurve- available from SSC but this produces graphs; it creates variables that, yes, could also be used to compute the sums I suppose.
>
> But I thought that someone surely programmed this already?
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index