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]

Re: st: Percentiles and weights


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Percentiles and weights
Date   Tue, 9 Aug 2011 17:41:10 -0400

Have you had a look at my -epctile- package? -findit epctile-. I am
relying on Stata's definitions of -pctile-s, and produce Woodruff-type
variance estimates for them. Whether Stata uses interpolation, I don't
know, but I wanted to have my results compatible with results that
would've been produced by other Stata -*tile- commands.

On Tue, Aug 9, 2011 at 5:31 PM, Sarah Tougher <Sarah.Tougher@lshtm.ac.uk> wrote:
> Dear statalist,
>
> Is there a way to estimate percentiles in Stata that uses linear interpolation, and allows probability weights?  The altdef option of the -pctile- command does not allow weights.
>
> Specifically, we would like to find a command or user-generated programme that uses the same formula as the one used by SAS to estimate quantiles in the SURVEYMEANS procedure. Refer to:
> http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_surveymeans_a0000000223.htm
>
> Many thanks,
>
> Sarah Tougher
> London School of Hygiene & Tropical Medicine
>
>
> *
> *   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/
>



-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

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