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: How to divide the sample into quintiles?


From   John Ataguba <johnataguba@yahoo.co.uk>
To   Statalist statalist mailing <statalist@hsphsun2.harvard.edu>
Subject   st: How to divide the sample into quintiles?
Date   Wed, 10 Mar 2010 13:56:25 +0000 (GMT)

Sorry for the wrong posting..

Hi Stevie,

Basically you need to create the net expenditure variable (maybe per capita!).  Let us assume it is called 'netexpend'

The command will be:

xtile quintile=netexpend [aw=weight], nq(5)

Hope this helps.

Jon

________________________________
From: Stevie Kourama <ngareni3@gmail.com>
To: statalist@hsphsun2.harvard.edu
Sent: Wed, 10 March, 2010 14:57:50
Subject: st: How to divide the sample into quintiles?

expenditure ( which proxies the income of the household) visits to
health facilities; current level of education, residence (rural and
urban) and I would like to divide the sample into quintiles (groups of
20%), using household net expenditure,


Please assist the appropriate stata commands to execute the above and
thanks in advance

--
Stevie Kourama

-- 
Stevie Kourama
*
*   For searches and help try:
*  http://www.stata.com/help.cgi?search
*  http://www.stata.com/support/statalist/faq
*  http://www.ats.ucla.edu/stat/stata/


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index