partial implementation of event study framework