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

st: RE: Creating the rank of one variable from the distribution of another variable


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Creating the rank of one variable from the distribution of another variable
Date   Thu, 10 Nov 2005 17:33:26 -0000

This is covered by Ben Jann's -relrank- from 
SSC. Other tools in the same territory from
the same source are his -invcdf- and my -ppplot-. 

Nick 
[email protected] 

Joseph McCrary
 
> How would I go about creating the rank of one variable against the
> distribution of another variable? That is, suppose one variable is the
> lower bound of a confidence interval (we'll call it LOWER) 
> and the other
> is the upper bound of the confidence interval (UPPER). I'd like to see
> where each observation of LOWER ranks in the distribution of UPPER and
> vice versa. Any searching I've done points me to creating 
> variables that are ranks of their own distributions.

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