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]

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


From   Stevie Kourama <[email protected]>
To   [email protected]
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 <[email protected]> wrote:
>
> <>
>
> What does
>
> *************
> describe netexpend
> *************
>
> give you?
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Stevie Kourama
> Gesendet: Mittwoch, 10. März 2010 14:59
> An: [email protected]
> 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 <[email protected]>
> 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 <[email protected]>
>> To: [email protected]
>> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index