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/