Gidday! Hope someone can help me.
I have created a lag in my panel data (strongly balanced) using the following command
How do I ensure that the last year of data is not lagged to the first year of the next panel?
I have created a lag in my panel data (strongly balanced) using the following command
However, when I browse the data using
gen BVpshare_L1= BVpshare[_n-1]
I get a lag of 1 year from the last panel (companyid ) in the first year of the next panel (companyid)
br companyid BVpshare BVpshare_L1
How do I ensure that the last year of data is not lagged to the first year of the next panel?

Comment