Hello everyone,
thank you again for helping on my other problem: https://www.statalist.org/forums/for...reting-results
Now I have to do additonally an Event-Study about the same issue. I used the princeton method, however I have a few questions if I have done it right and I hope you can help me.
So just a quick update: I have daily quotes of 12 countries and I want to test if the quotes differ after the event than before.
So my first question is how do I calculate the returns on Stata since I want to use this formula as the return:
return = spreadi,t - spreadi,t-1
my dataset looks like this:

Another question I have which is more important. How do I calculate the expected return?
I was thinking about to apply a constant mean model, which looks like this
So the expected return results from the average returns of 250 trading days before my event window of 30 days
However, I want this on a rolling window. (For the next day the, 250 days stay constant but then I estimate the mean between -30 and -279 and so on)
Do you know how I can program this on stata?
I already did it on Excel but I am confused how to do it on stata.
Thank you very much you guys helped me already alot!
thank you again for helping on my other problem: https://www.statalist.org/forums/for...reting-results
Now I have to do additonally an Event-Study about the same issue. I used the princeton method, however I have a few questions if I have done it right and I hope you can help me.
So just a quick update: I have daily quotes of 12 countries and I want to test if the quotes differ after the event than before.
So my first question is how do I calculate the returns on Stata since I want to use this formula as the return:
return = spreadi,t - spreadi,t-1
my dataset looks like this:
Another question I have which is more important. How do I calculate the expected return?
I was thinking about to apply a constant mean model, which looks like this
So the expected return results from the average returns of 250 trading days before my event window of 30 days
However, I want this on a rolling window. (For the next day the, 250 days stay constant but then I estimate the mean between -30 and -279 and so on)
Do you know how I can program this on stata?
I already did it on Excel but I am confused how to do it on stata.
Thank you very much you guys helped me already alot!
Comment