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]
Re: st: Problem with paneldata
From
Scott Merryman <[email protected]>
To
[email protected]
Subject
Re: st: Problem with paneldata
Date
Wed, 16 Jun 2010 14:22:32 -0500
What does -xtset- report? Does the time variable have gaps? Is the
delta set appropriately?
Scott
On Wed, Jun 16, 2010 at 2:09 PM, Thomas Gericks <[email protected]> wrote:
> Hello,
>
> I am working with panel data.
>
> Therefore i declared it as paneldate, saying:
>
> xtset gvkey (company name) datadate(time)
>
> Now, when i try to work with lagged values, i.e.
>
> gen lag_saleq = L.saleq
>
> It doesnt show me any errors but the varlist lag_saleq is always empty, instead of having the value of the last time period.
>
> What do i do wrong? Can anyone help me?
>
> Thanks a lot,
>
> Thomas Gericks
*
* 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/