Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: A coding question


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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index