Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: How to generate lagged variables


From   "hotmail" <[email protected]>
To   <[email protected]>
Subject   st: How to generate lagged variables
Date   Mon, 30 Aug 2004 17:03:00 +0900

I have an unbalanced panel with 100 firms, 4 years, and about 300 obs.
Some firms provide information for all empirical years, while others provide
for less than 4 periods.
Using this panel, I need to create lagged variables such as SALES(-1).
Which command in Stata7-SE should I use to do this?
Thank you in advance.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index