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

st: Re: lag for panel data

From   "Gaetano Coletta" <>
To   <>
Subject   st: Re: lag for panel data
Date   Fri, 12 Aug 2005 14:42:49 +0200

If you mean that you want to create a lagged variable (for example: Y(t-1)), once you have "tsset" your panel data set, just type:
gen y_1=L.y

Gaetano Coletta

----- Original Message ----- From: "Manoranjan Pattanayak" <>
To: <>
Sent: Friday, August 12, 2005 7:00 AM
Subject: st: lag for panel data

Dear statauser,
I want to generate lag for my balanced and unbalanced data sets.
please let me know the commands.


Manoranjan Pattanayak,
Research Scholar,
Jawaharlal Nehru University

* For searches and help try:
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index