Statalist


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

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


From   "Yang Lu" <[email protected]>
To   [email protected]
Subject   st: is there a syntax that inverts what -centile- does?
Date   Wed, 9 Jan 2008 18:09:45 -0800

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/



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