Bookmark and Share

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

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

st: Inverting Code for Table

From   Nikitha Murali <>
Subject   st: Inverting Code for Table
Date   Tue, 22 May 2012 10:23:48 -0500

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:

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