Forecasting with Loops
Posted: Tue Apr 03, 2012 6:49 am
Dear people on this Forum,
My issue is that of an event study, we need to estimate a simple model (Return = c + b*Marketreturn) for a period which is 170 days to 71 before a certain event. With the then estimated parameters we need to forecast the return from 10 days before the event to 10 days after the event. The big problem here is that the events are on different dates and that we are talking about 40 events (this would result in a lot of clicking).
My question is how can i create a program that would get me these returns for each individual event?
Thanks a lot,
E.
My issue is that of an event study, we need to estimate a simple model (Return = c + b*Marketreturn) for a period which is 170 days to 71 before a certain event. With the then estimated parameters we need to forecast the return from 10 days before the event to 10 days after the event. The big problem here is that the events are on different dates and that we are talking about 40 events (this would result in a lot of clicking).
My question is how can i create a program that would get me these returns for each individual event?
Thanks a lot,
E.