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

st: panel regression with lagged dependent variable


From   "A.S. Feng" <[email protected]>
To   [email protected]
Subject   st: panel regression with lagged dependent variable
Date   03 Jul 2004 13:16:52 +0100

Dear Listers,

I have panel data on 6 periods (1960, 1965...1985) and 138 countries.

I am trying to run a Fixed Effects regression with lagged dependent variable (despite knowing there will be correlated effects).

How do I construct the lagged dependent variable? I tried
gen lagy= l.y

but it gave me missing values for all observations.

What am i doing wrong?

Thanks a lot.

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