Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Erik Aadland <erikaadland@hotmail.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: how recode a positive value on a variable to a particular negative value |
Date | Fri, 28 Sep 2012 15:26:17 +0000 |
Dear Statalist. I am trying to recode positive values on a specific variable into particular negative values. e.g: recode year (1990 = -156) (1991= -144) and so on. However, recode does not allow a negative value it seems. Any input on this problem would be very appreciated. Regards, Erik. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/