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

st: RE: creating lag variable


From   "Mutysheva, Dinara" <DMutysheva@ceri.ca>
To   statalist@hsphsun2.harvard.edu
Subject   st: RE: creating lag variable
Date   Wed, 9 Jun 2004 09:21:46 -0600

Title: RE: creating lag variable

Just put a letter "l" and period after it, like if you want to lag variable x, it's
l.x -- x is lagged once
l2.x -- x is lagged twice and so on







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