# EventStudy

Approaches to causal identification and inference in an event-study setting.

### Prerequisites

This repository is built on [this version of the gslab_template](https://github.com/gslab-econ/template/tree/4898e4b6f763bc25b527718b535d18a36f4e1b17) and by default shares all of its dependencies. In addition:

- Install Stata dependencies from [this do file](./analysis/source/lib/install_ado.do).
- Install R dependencies from [this R file](./analysis/source/lib/install_packages.r).

To allow your code to see the datastore, create a juncture link as follows:

   `mklink /J <location of this repo>\datastore\ <location of EventStudy dropbox folder>` for Windows

### Notes

* To keep plot aesthetics harmonized, it's best to recompile all plots when recompiling any one of them. Plotting code should be kept separate from slower steps such as simulation and estimation, so that recompiling all plots should be fairly quick.
