Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: is there a syntax that inverts what -centile- does?


From   "Alan Neustadtl" <[email protected]>
To   [email protected]
Subject   Re: st: is there a syntax that inverts what -centile- does?
Date   Wed, 9 Jan 2008 23:03:19 -0500

help pctile might be useful as well as reading the FAQ title "How can
I calculate percentile ranks?
How can I calculate plotting positions?"  written by Nick Cox.  The
URL is http://www.stata.com/support/faqs/stat/pcrank.html

Best,
Alan




On Jan 9, 2008 9:09 PM, Yang Lu <[email protected]> wrote:
> Dear StataList,
>
> I understand that if one wants to find values at some particular
> percentiles of a variable she can use
>
> -centile var1, centile(pctile1 pctile2 pctile3)-
>
> But what if I have some arbituary values and want STATA to return
> their percentile? I know I can write a do file to make it automatic
> but would be surprised if such a syntax did not already exist (though
> I didn't find it. I use stata 9.) I'm sorry if someone asked this
> before; I'm new to the list but I did check before I wrote this email.
> Thanks a lot!
>
> Yang
>
>
> --
> Yang Lu
> Pardee RAND Doctoral Fellow
>
> RAND Corporation
> 1776 Main St. P.O.Box 2138
> Santa Monica, CA 90407
> TEL: +1 310.393.0411 x8453
> EMAIL:  [email protected]
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index