Belinda Torres, a fictional data analyst at the Broward County Office of the Public Defender, is asked by her chief to evaluate the COMPAS recidivism risk assessment algorithm following ProPublica’s “Machine Bias” investigation. Torres has two weeks to produce a memo with three deliverables: an independent statistical evaluation of COMPAS, an explanation suitable for judges, and a recommendation: challenge the algorithm in court, push for modification, or advocate for transparency and alternatives. Torres confirms the COMPAS company’s calibration defense, documents base rate differences and distributional asymmetries, and flags that the recidivism measure reflects charges rather than crimes. The case concludes before she examines the algorithm’s classification errors — the analysis students must perform.
Analyzing the case requires basic facility with descriptive statistics and the ability to compute and compare group-level rates from a dataset. The in-class exercise uses a prepared spreadsheet and short Python scripts (runnable in Jupyter, Colab, or within Stata), but assumes no prior background in classification metrics, confusion matrices, or ROC curves — these are introduced during the session.
