Replication Files for "De-prosecution and death: A comment on the fatal flaws in Hogan (2022)"
Principal Investigator(s): View help for Principal Investigator(s) Jacob Kaplan, Princeton University; J.J. Naddeo, Justice Innovation Lab; Tom Scott, RTI International
Version: View help for Version V3
Name | File Type | Size | Last Modified |
---|---|---|---|
Code | 09/07/2023 12:04: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], 2023-09-07. https://doi.org/10.3886/E176021V3
Project Description
Summary:
View help for Summary
Run "~\code\cpp_response.R" to create clean datasets:
Version 3: Added code in Code/Aletheia-response. This subfolder contains code that was used to incorporate suggestions from Dr. Lauren Schechter (reviewer).
Version 2: Added two files in the Code/ folder that were used in our response to the response. These are in the Response-to-the-response-code folder.
Version 2: Added two files in the Code/ folder that were used in our response to the response. These are in the Response-to-the-response-code folder.
Data Creation
Run "~\code\cpp_response.R" to create clean datasets:
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."~\input\shr_top_cities.dta" "~\input\srs_top_cities.dta"
Replication of main results
- 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.
- Run "~\code\required_packages.do" to install all required Stata packages for analysis.
- 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.
- To replicate results in Hogan 2022 and compare them to bias-corrected results, run "~\code\main_replication_code.do"
- To replicate the figure illustrating robustness to extending the pre-treatment start time, run "~\code\vary_preperiod_start_time.do".
- To replicate the figure illustrating robustness to restricting the donor pool, run "~\code\vary_topN_juris.do".
- 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
Published Versions
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.