Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Inverse Percentile


From   "Jann Ben" <[email protected]>
To   <[email protected]>
Subject   st: RE: Inverse Percentile
Date   Wed, 5 Oct 2005 23:11:18 +0200

I think -relrank- is what you are looking for. See

 . ssc describe relrank

There is also a Mata function called -relrank()- in the
-moremata- package. See

 . ssc describe moremata

ben

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Eric G. Wruck
> Sent: Wednesday, October 05, 2005 10:48 PM
> To: [email protected]
> Subject: st: Inverse Percentile
> 
> 
> I ran a <summ days, de> on the variable days & of course obtained the 
> 25th & 50th percentiles (among others).  My 25th percentile was close 
> to zero days & my median 4 days.  Is there a way to obtain the 
> percentiles corresponding to say 1, 2, & 3 days?  I know I can 
> compute percentiles using the pctile command so I could pick a fine 
> setting & then search for the closest to the values I am interested 
> in but that seems rather kludgy -- is there another way?
> 
> Thanks,
> 
> Eric

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