Hello,
I have a question regarding lags in a panel data regression
I want to examine the effect of an event happened. I suspect that the effect of the event is realized later and so would I like to do a regression with a lag of one period.
So if I think the effect of my independent variable occurs later, do I shift the dependent variable back or forward ?
Below I wrote down both examples, which one would be correct ?
I have a question regarding lags in a panel data regression
I want to examine the effect of an event happened. I suspect that the effect of the event is realized later and so would I like to do a regression with a lag of one period.
So if I think the effect of my independent variable occurs later, do I shift the dependent variable back or forward ?
Below I wrote down both examples, which one would be correct ?
Code:
gen Revenues_lag1 = Revenues[_n-1] gen Revenues_lag1 = Revenues[_n+1]
Comment