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: Re: st: Can I use “w” intead of “pw” in stata quantiles command?


From   Sergiy Radyakin <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Re: st: Can I use “w” intead of “pw” in stata quantiles command?
Date   Wed, 7 Aug 2013 01:29:48 -0400

This might answer your question:
http://www.stata.com/support/faqs/statistics/percentiles-for-survey-data/

Be very careful with the interpretation of your results though, as the
household size is likely different between the wealthy and less well
off. So 20% of the poorest households may very well contain 40% of the
population.

Sergiy

On Wed, Aug 7, 2013 at 1:17 AM, jayamini <[email protected]> wrote:
> Hi Team,
>
> I’m working with Household income and expenditure data. I want to find 5
> quantiles of the per capita income.
> I’m using sampling weights.  Eg: Following table represent the example for
> my weights.
>
> Sampling Unit   Weight
> 1       41.42092
> 2       224.9696
> 3       211.7713
> 4       131.9084
> 5       160.3988
> 6       475.2353
> 7       217.6984
>
> First I installed the user written command : ssc install quantiles
>
> Then use following command for my data.
>
> quantiles ym[pw=s_weight], gen(ym_decile) n(5) k(hh_code)
>
> ym – per capita income variable
> ym_decile – new categorical variable
> hh_code – Identifying code for each household
>
> But stata says “pw” not allowed for this command. But “iw” is allowed. So my
> question is Can I use “iw” intead of “pw” here?
>
> Thank You.
> Jayamini – Institute of Policy Studies, Sri Lanka
>
>
>
>
> --
> View this message in context: http://statalist.1588530.n2.nabble.com/Can-I-use-w-intead-of-pw-in-stata-quantiles-command-tp7580406.html
> Sent from the Statalist mailing list archive at Nabble.com.
>
> *
> *   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/

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