Skip to content
Prev 304523 / 398503 Next

creating lagged variable in panel data

Thanks for the input.   I wanted to avoid counting the column number.  
In any case,  in the script -- wage.lag1 = lag(wage, -1) seems to do the 
trick.

Alok

On 8/29/2012 12:29 PM, R. Michael Weylandt <michael.weylandt at gmail.com> 
wrote: