Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Generating lagged variables in an otherwise static panel data set


From   "Michael S. Hanson" <mshanson@mac.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Generating lagged variables in an otherwise static panel data set
Date   Tue, 12 Sep 2006 11:29:59 -0400

On Sep 12, 2006, at 7:31 AM, Bernd Hayo wrote:

I do not seem to be able to work out how to construct lagged variables in an otherwise static panel data set. The time series- based lag operators do not appear to work. I am sure that there is an easy solution but for some reason I do not seem to be able to find it. Any leads will be appreciated!
	Have you -tsset- or -xtset- your data?

                                        -- Mike


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index