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: RE: Percentiles and weights


From   "David Radwin" <dradwin@mprinc.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Percentiles and weights
Date   Tue, 09 Aug 2011 14:44:39 -0700 (PDT)

Maybe -epctile- from Stas Kolenikov, available from his website (see
below)? I don't know about the linear interpolation part.

http://www.stata.com/statalist/archive/2011-05/msg00077.html

--
David Radwin
Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794

www.mprinc.com


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Sarah Tougher
> Sent: Tuesday, August 09, 2011 2:31 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Percentiles and weights
> 
> 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/view
> er.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/
*
*   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