Moving Window Regression
Posted: Wed Feb 09, 2011 7:31 am
Hello. I am wondering if anyone can help me with a moving window regression.
I want to regress weekly changes in exchange rates to returns on sectors. I want the windows to have size of 52 weeks and I want them to move one week at a time.
Furthermore I want to store the coefficient of exchange rates as well as the t- or p-value.
The total time-horizon is 30 years, from 1980-2010.
I have tried to modify all information I have come across without success.
Thanks for helping
I want to regress weekly changes in exchange rates to returns on sectors. I want the windows to have size of 52 weeks and I want them to move one week at a time.
Furthermore I want to store the coefficient of exchange rates as well as the t- or p-value.
The total time-horizon is 30 years, from 1980-2010.
I have tried to modify all information I have come across without success.
Thanks for helping