Code and data for the paper "Amnesty Policy and Elite Persistence in the Postbellum South: Evidence from a Regression Discontinuity Design"
Please cite the paper if you use this code for academic research:
@article{poulos2021amnesty,
title={Amnesty Policy and Elite Persistence in the Postbellum South: Evidence from a Regression Discontinuity Design},
author={Poulos, Jason},
journal={Journal of Historical Political Economy},
volume={1},
number={3},
pages={353--375},
year={2021},
publisher={Now Publishers, Inc.}
}
-
R >= 3.5.0 (tested on 4.0.2)
-
package-list.R # required R packages
-
requires X11 and png graphics capabilities. Open R and type
capabilities()to check.
-
Make directory for plots:
mkdir data/plots -
chmod +x code/main.shand run from the command line.code/main.Rprepares data and outputs RD plots, RD estimates, and descriptive plots. By default, it uses trained models for record linkage. -
The file
code/power-indiv.Rperforms individual-level power analysis. Defaults to run.