Hi there,
I am running a three-year window regression of operating profit on sales by using quarterly data for each firm over three year window. I will have to obtain the coefficient of sales as well.
The sample period is from 2007 to 2014. For each firm each year, it has 4 quarterly data. I'm using three year forward data to calculate, for example, using the quarterly data in 2007,2008,2009 to calculate the relationship between profit and sales for a firm in 2007.
Can anyone tell me how to use -rolling- in my case?
Regards,
Jennifer
I am running a three-year window regression of operating profit on sales by using quarterly data for each firm over three year window. I will have to obtain the coefficient of sales as well.
The sample period is from 2007 to 2014. For each firm each year, it has 4 quarterly data. I'm using three year forward data to calculate, for example, using the quarterly data in 2007,2008,2009 to calculate the relationship between profit and sales for a firm in 2007.
Can anyone tell me how to use -rolling- in my case?
Regards,
Jennifer
Comment