Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: Problem with paneldata

From   Thomas Gericks <>
Subject   st: Problem with paneldata
Date   Wed, 16 Jun 2010 21:09:35 +0200 (CEST)


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

WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und dazu
50,- Euro Geldprämie inklusive! <a href=""; target="_blank"></a>

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index