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: FW: add 3 quarters


From   "Agnieszka Trzeciakiewicz" <[email protected]>
To   <[email protected]>
Subject   st: FW: add 3 quarters
Date   Wed, 2 May 2012 20:10:56 +0100

Hello,

I have a dataset which contains an information on individuals and traces the
period of a record in quarters.
There are two variables in the dataset: ?ID?, and ?time?

I would like to generate additional 4 rows for each observation, and the
only variable that I need to change with added rows  is time variable which
should equal  time ? 1quarter, time -2 quarters,, time-3 quarters and time
-4 quarters.

Do you have any idea how to do this?

Thanks,
Agnieszka



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