Hi,
I have a panel and want to run a rolling regression. Assume that I have dependent variable Y and independent variable X each of which has T time series observations. At each point of time (say t), I want to only consider the observations before t and run a regression. I want to repeat this for all the T observations. How is it possible?
Thanks for your help in advance.
Best,
Mohammad
I have a panel and want to run a rolling regression. Assume that I have dependent variable Y and independent variable X each of which has T time series observations. At each point of time (say t), I want to only consider the observations before t and run a regression. I want to repeat this for all the T observations. How is it possible?
Thanks for your help in advance.
Best,
Mohammad
Comment