Hello everyone!
I am dealing with an event study for financial application and I am facing the following issue:
For each of my events I would like to pull data for the 5 trading days prior and 5 trading days after the event date (i,e, 11 observations including the event date).
I am doing my stock data requests through Stata, but i cannot simply deduct 5 off the event date, because then in most cases I will receive less than 11 observations, given that this timeframe will include non-business days.
What I therefore would need is a function to deduct/add 5 business days from the original event date. Is there a function built in Stata's added Business Calendar? I am still struggling to work myself through some of the Stata documentations.
Many thanks!
Hans
I am dealing with an event study for financial application and I am facing the following issue:
For each of my events I would like to pull data for the 5 trading days prior and 5 trading days after the event date (i,e, 11 observations including the event date).
I am doing my stock data requests through Stata, but i cannot simply deduct 5 off the event date, because then in most cases I will receive less than 11 observations, given that this timeframe will include non-business days.
What I therefore would need is a function to deduct/add 5 business days from the original event date. Is there a function built in Stata's added Business Calendar? I am still struggling to work myself through some of the Stata documentations.
Many thanks!
Hans
Comment