Hello,
I have a question regarding shifts in a panel data regression.
In my example, Corona occurred as an example. I would analyze the effect on company sales. However, I suspect that the effect of Corona did not "show up" until later and would also like to do a regression with a shift 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 shifts in a panel data regression.
In my example, Corona occurred as an example. I would analyze the effect on company sales. However, I suspect that the effect of Corona did not "show up" until later and would also like to do a regression with a shift 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