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]

st: Sums and means for each decile


From   <[email protected]>
To   <[email protected]>
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 <[email protected]>
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 <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index