Taking a lead in panel data
On Tue, May 8, 2012 at 12:14 PM, Apoorva Gupta <apoorva.nipfp at gmail.com> wrote:
I have checked that. It allows me to get the t-1, t-2 value but not the t+1 value. Is there any other way of achieving this other than using the plm package?
It would be easier to help if you provided a minimal reproducible example, as requested in the posting guide. Have you tried diff(x, lag = -1, ...) or lag(x, k = -1, ...) Perhaps this does what you want. Regards Liviu