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

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


From   "Joseph McCrary" <joemccrary@fastmail.fm>
To   "Statalist" <statalist@hsphsun2.harvard.edu>
Subject   st: Creating the rank of one variable from the distribution of another variable
Date   Thu, 10 Nov 2005 11:18:28 -0500

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.

Thanks.

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index