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   Fernando Rios Avila <[email protected]>
To   [email protected]
Subject   Re: st: Inverting Code for Table
Date   Tue, 22 May 2012 11:26:40 -0400

Why not a simple recode of the variable:
gen newgrade=14-oldgrade


On Tue, May 22, 2012 at 11:23 AM, Nikitha Murali <[email protected]> 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/

*
*   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