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

st: Ranking Test Scores


From   Raphael Fraser <raphaelfraser@yahoo.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Ranking Test Scores
Date   Sun, 20 Mar 2005 17:49:36 -0800 (PST)

Dear All,

I would like to create the variable rank based on the
variable score as given below.  This has proved more
difficult than previously thought. Can any one help? 

         id       score       rank
  1.        8        90          1
  2.        7        40          2
  3.        6        20          3
  4.        5        20          3
  5.        4        20          3
  6.        3         8          6
  7.        2         6          7
  8.        1         6          7



Raphael A. Fraser, M.Sc.
Assistant Lecturer in Medical Statistics
Tropical Medicine Research Institute
University of the West Indies
Mona, Kingston
Jamaica

Contact
(876) 927-2471
(876) 410-4699


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
*
*   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