This repository contains code and the report for the statistical study undertaken in an attempt to reproduce Tom Cardoso's "Bias behind Bars" - article published in The Globe and Mail, to discover racial discrimination against black and indigenous people in the Canadian judical system. It was created by Ankhee Paul. The purpose of this is to create a report that summarises the results of a statistial model that was built. Our results indicate that black inmates have a higher probability of receiving the worst offender security level scores compared to white prisoners whereas black and indigenous male prisoners have a higher probability of receiving the worst reintegration potential score compared to other male prisoners of other racial backgrounds. The data that was used for anaylsis cannot be shared publicly. Details on how to obtain this data is provided below. The sections of this repository are: inputs, outputs, scripts.
Inputs contain data that are unchanged from their original and was used by Tom Cardoso while coducting his analysis and article. We use one data set: The data set used in our report falls under copyright laws and therefore, direct data files cannot be included.
Globe and Mail data: To obtain the observational data for this study, please click on the following link.
The original article that has been reproduced can be found here: Bias behind Bars by Tom Cardoso.
Outputs contain data that has been modified from the input data, the report and supporting material.
-
Paper.rmd
-
Paper.pdf
Scripts contain R scripts that take inputs and outputs and produce outputs. These are:
-
data_cleaning.R code to clean the CSC data set used by The Globe and Mail
-
appendix.rmd code for the entire paper