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
daniel klein <[email protected]>
To
[email protected]
Subject
Re: st: Inverting Code for Table
Date
Tue, 22 May 2012 18:03:26 +0200
You can use -rev- (from SSC) to reverse the coding of your variable.
The program also takes care of the value labels. In Stata type
. ssc inst rev
Best
Daniel
--
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/