Dear statalisters,
I have searched the internet and forums extensively, but can't find the answer I'm looking for. Hopefully you can help me out.
My objective:
Exclude firms that announce (share repurchases) more than once in a year, in order to avoid an overlapping problem.
Example of my dataset:
Date-------------CUSIP_8 --------- Company
02oct2009----- 02888410 ----- American Physicians Capital
23jun2009 ----- 02888410 ----- American Physicians Capital
11dec2008 -----02888410 ----- American Physicians Capital
04dec2008----- 02888410 ----- American Physicians Capital
16aug2007 ----- 02888410 ----- American Physicians Capital
22may2007 ----- 02888410 ----- American Physicians Capital
11sep2003 ----- 02888410 ----- American Physicians Capital
I would like to detect and remove announcements that occur within 250 days (252 trading days in a year). In this case: 11sep2003 would remain.
How would I do this with stata code?
Thank you in advance for your help!
Michiel
I have searched the internet and forums extensively, but can't find the answer I'm looking for. Hopefully you can help me out.
My objective:
Exclude firms that announce (share repurchases) more than once in a year, in order to avoid an overlapping problem.
Example of my dataset:
Date-------------CUSIP_8 --------- Company
02oct2009----- 02888410 ----- American Physicians Capital
23jun2009 ----- 02888410 ----- American Physicians Capital
11dec2008 -----02888410 ----- American Physicians Capital
04dec2008----- 02888410 ----- American Physicians Capital
16aug2007 ----- 02888410 ----- American Physicians Capital
22may2007 ----- 02888410 ----- American Physicians Capital
11sep2003 ----- 02888410 ----- American Physicians Capital
I would like to detect and remove announcements that occur within 250 days (252 trading days in a year). In this case: 11sep2003 would remain.
How would I do this with stata code?
Thank you in advance for your help!
Michiel
Comment