Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Re: Lags and panel data


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: Re: Lags and panel data
Date   Mon, 15 Jun 2009 19:47:14 +0200

<>

Does -xtabond- not calculate the lags needed for its purposes on the fly?

***
webuse abdata, clear
keep n w k ys yr1980 yr1981 yr1982 yr1983 yr1984 year id
xtabond n l(0/1).w l(0/2).(k ys) yr1980-yr1984, lags(2)
***


HTH
Martin _______________________ ----- Original Message ----- From: "Solorzano Mosquera, Jenniffer" <[email protected]>
To: <[email protected]>
Sent: Monday, June 15, 2009 7:40 PM
Subject: st: Lags and panel data


Hi!

I've been trying to set my dataset as panel data with

tsset idstd_2003 year , yearly

And then try to calculate lags for different variables an use the
xtabond estimation method. But when I try to generate the lag for the
dummy variable "capacita"...

g lagcapacita = l.capacita

...I just get missing values.

I have a panel of 1173 firms for 2 years. Could anyone tell me what it could be possibly wronged? Thanks!

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

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