Replication Page for "The Statistical Analysis of Judicial Decisions and Legal Rules with Classification Trees," forthcoming in the Journal of Empirical Legal Studies
With the data and code described below, researchers can replicate the results. Note that all the files referenced below, can be found in this zip file.
The data used in the search and seizure cases, which is based on a dataset created by Jeffrey Segal, is available here.
The data used in the confession cases, which is based on a dataset created by Sara Benesh, is available here.
Note that both datasets are condensed versions of the original datasets.
R Code for Analyses in Paper
There are three R scripts that were used in the paper:
Note that the trees that appear in the paper were constructed in Microsoft Word. Code to generate the trees in R is given in each script. Figures 4,6, and 8 were generated directly in R--the code for each can be found in the respective scripts.