Name File Type Size Last Modified
  Code 07/24/2022 10:01:PM
  Input 07/22/2022 08:49:PM
  Output 07/22/2022 08:35:PM

Project Citation: 

Kaplan, Jacob, Naddeo, J.J., and Scott, Tom. Replication Files for “De-prosecution and death: A comment on the fatal flaws in Hogan (2022).” Ann Arbor, MI: Inter-university Consortium for Political and Social Research [distributor], 2022-07-25. https://doi.org/10.3886/E176021V1

Project Description

Summary:  View help for Summary

Data Creation


Run "~\code\cpp_response.R" to create clean datasets:
  • "~\input\shr_top_cities.dta"
  • "~\input\srs_top_cities.dta"
  • Note this file will also produce some descriptive graphs that are featured throughout the article. This file is optional, in that the clean DTA datasets it produces are provided in the repo in the "input\" folder.

    Replication of main results

    1. After downloading the repo to your local machine insert path to repo and run "~\code\set_dirs.do". This will build a directory structure that allows you to run all do files without edits.
    2. Run "~\code\required_packages.do" to install all required Stata packages for analysis.
    3. If you want the graphs to look similar to the ones in the paper run "~\code\stata_style.do", else ignore and set your own style.
    4. To replicate results in Hogan 2022 and compare them to bias-corrected results, run "~\code\main_replication_code.do"
    5. To replicate the figure illustrating robustness to extending the pre-treatment start time, run "~\code\vary_preperiod_start_time.do".
    6. To replicate the figure illustrating robustness to restricting the donor pool, run "~\code\vary_topN_juris.do".
    7. To replicate findings using homicide rates (instead of totals), run "~\code\rep_homicide_rate.do"


    Funding Sources:  View help for Funding Sources None.

    Scope of Project

    Subject Terms:  View help for Subject Terms replication; CPP; criminology & public policy


    Related Publications

    Export Metadata

    Report a Problem

    Found a serious problem with the data, such as disclosure risk or copyrighted content? Let us know.

    This material is distributed exactly as it arrived from the data depositor. ICPSR has not checked or processed this material. Users should consult the investigator(s) if further information is desired.