Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Inverting Code for Table


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Inverting Code for Table
Date   Tue, 22 May 2012 11:26:38 -0400

just subtract each score from 14 (e.g., 14-1=13, etc.); you will need to
relabel; see -h label-

Rich

On 5/22/12 11:23 AM, Nikitha Murali wrote:
> Hello all,
> 
> I have a variable that corresponds to final grades in a course. It is a 13
> point scale where 1 corresponds to A, 2 corresponds to A- all the way down
> to 13 = F-. I would like to manipulate this variable such that the higher
> grades are associated with higher numbers (A = 13 and F = 1).
> 
> Which command should I employ to achieve this?
> 
> Thank you very much.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index