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: fill or expand data


From   [email protected]
To   [email protected]
Subject   st: fill or expand data
Date   Tue, 12 Oct 2010 19:16:06 +0200

Dear Statalist,
My question is about to display or fill my data set. I have tried the
command tsfill but I don't know how  continue to arrive at my final
data set.
I have  this data:
id  year enter   year exit    yearcont
1  10/80             2/81           81
1  3/81                4/81          81
1 11/85             2/87          87

And I want to have this one

id  year enter   year exit    yearcont
1  10/80               3/81           80
1   10/80              3/81            81
1   3/81               4/81             81
1   11/85             2/87             85
1    11/85            2/87            86
1  11/85             2/87              87

Thanks for your help.
Catia

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