Python scripts to implement Granular Instrumental Variables as in Gabaix and Koijen (2020)
Supports both the approach with fixed and time effects, as well as the version with exogeneous control variables.
Author: Romain Lafarguette, July 2020, https://romainlafarguette.github.io/