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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: How to divide the sample into quintiles?


From   Stevie Kourama <ngareni3@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How to divide the sample into quintiles?
Date   Wed, 10 Mar 2010 18:21:16 +0300

Martin, I think the first command John gave was wrong, but the second
that he gave works now.

I am afraid describe netexp does not give much but

xtile quintile=netexpe [w=weight], nq(5)

creates the quintile variable

with frequencies and percentages.

By the way, how do add the mean in this quintiles

Stevie
On Wed, Mar 10, 2010 at 5:13 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> What does
>
> *************
> describe netexpend
> *************
>
> give you?
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Stevie Kourama
> Gesendet: Mittwoch, 10. März 2010 14:59
> An: statalist@hsphsun2.harvard.edu
> Betreff: Re: st: How to divide the sample into quintiles?
>
> Thanks John,
>
> However I am getting the error message that
>
> netexpend already defined!!!!!
>
> Is there any problem elsewhere?
>
>
> On Wed, Mar 10, 2010 at 4:42 PM, John Ataguba <johnataguba@yahoo.co.uk>
> wrote:
>> 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 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/
>>
>
>
>
> --
> 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/
>



-- 
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index