Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Rituparna Basu <basur@pamfri.org> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | st: A coding question |
Date | Wed, 28 Mar 2012 16:32:19 +0000 |
Dear STATAlist, I have a variable which looks like: var 1 year 1 07 . 07 . 07 1 07 . 08 . 08 . 08 But I want to make it look like this: var 1 year 1 07 1 07 1 07 1 07 . 08 . 08 . 08 Could you suggest how to do it? I have tried different ways but does not seem to work. Thank you in advance! Regards, RB * * 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/