Codes to replicate analysis in Baker & Gelbach (2020)
-
Download Data.py - downloads all of the data for this study from the wrds server. You need to put in your account details.
-
Clean Data.R - is the primary data cleaning script for the crsp data
-
Main_No_FF.R - this file runs the simulations for the codes from 2009-2019, without Fama-French/Carhart factors.
-
Main_FF.R - this file runs the simulations for 2009-2019 with FFC factors.
-
No_FF_FC.R - this file runs the simulations for 1999-2019 without FFC factors.
-
FF_FC.R - this file runs the simulatiotns for 1999-2019 with FFC factors.
-
Cross-Sectional Sims.R - This file runs the cross-sectional event study simulations.
-
Make Figures and Tables.R - This file creates all of the figures and tables in the paper with the results of the prior code.