Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: Sums and means for each decile


From   <S.Jenkins@lse.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Sums and means for each decile
Date   Fri, 12 Oct 2012 09:54:11 +0100

------------------------------

Date: Thu, 11 Oct 2012 15:09:39 +0000
From: Charles Vellutini <charles.vellutini@ecopa.com>
Subject: st: Sums and means for each decile

Dear all,

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?

Many thanks in advance,
Charles
---------------------------------

Your message does not spell out exactly what you want or, indeed, why
you want to do it. 

But I suggest that you look at -sumdist- on SSC. It provides estimates
of quantile group shares, and cumulative shares, and saves group by
group results in r() for those and a number of other statistics. From
the saved results, you can generate group means and sums

Stephen
------------------
Professor Stephen P. Jenkins <s.jenkins@lse.ac.uk>
Department of Social Policy and STICERD
London School of Economics and Political Science
Houghton Street, London WC2A 2AE, UK
Tel: +44(0)20 7955 6527
Changing Fortunes: Income Mobility and Poverty Dynamics in Britain, OUP
2011, http://ukcatalogue.oup.com/product/9780199226436.do
Survival Analysis Using Stata:
http://www.iser.essex.ac.uk/survival-analysis
Downloadable papers and software: http://ideas.repec.org/e/pje7.html

Please access the attached hyperlink for an important electronic communications disclaimer: http://lse.ac.uk/emailDisclaimer

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index