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]

st: A coding question


From   Rituparna Basu <[email protected]>
To   "[email protected]" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index