Statalist


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

st: quintiles


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   st: quintiles
Date   Fri, 7 Mar 2008 13:12:57 +0000 (GMT)

--- Edson wrote:
> To calculate income groups (quintile/percentile) if you use the 
> command xtile quintile=totconsump, nq(5) stata divides the groups 
> according to the population size (each quintile will have 20% of the 
> population). What Is the best way to determine the income
> distribution across the sample population (percentage of population
> inside each level of income - like the X% have income between
> $0 - $1500)? 

I am not sure how the first and the second part of your question are
related. If you created a variable using -xtile-, representing
quitiles, than your first quitile will contain 20%, the second 20%,
etc. There is no need to determine these proportions, you have created
them to be 20%. (The precise numbers may differ very slightly when the
number of observations isn't exactly divisable by 5, but that should
not worry you.)

Say you have a different income variable called income, than you can
type -tab income-.

Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Sent from Yahoo! Mail.
The World's Favourite Email http://uk.docs.yahoo.com/nowyoucan.html
*
*   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