Package to calculate bounds on a slope from size restrictions on economic shocks, following Petterson, Seim, and Shapiro (2022).
Using pip
pip3 install PyBounds
or from github
pip3 install -e git://github.com/JMSLab/PyBounds@latest
python PyBounds/examples/examples.py
Generates plots similar to those in Figure 4 of Petterson et al. (2022a).
Petterson, Marco Stenborg, David Seim, and Jesse M. Shapiro. 2022a. Bounds on a Slope from Size Restrictions on Economic Shocks. NBER Working Paper Number 27556.
Petterson, Marco Stenborg, David Seim, Jesse M. Shapiro, and Nathan Sun. 2022b. PyBounds package. Code and data repository at https://github.com/JMSLab/PyBounds.
We benefited from Mattherix/template-python-package