Investigating who gets a ticket and who gets a warning

A classic piece of data journalism analyzing ticketing by Massachusetts police, and whether the race or gender of the driver might change the outcome.

logistic regression race police and law

Readings and links

Summary

Analyzing an older dataset of tickets, are certain factors - speed, race, gender - liable to land you a ticket instead of a warning?

Notebooks, Assignments, and Walkthroughs

Logistic regression for speeding tickets

After being pulled over for speeding, you can either get a ticket or just a warning. Let's reproduce a piece from The Boston Globe where they analyze how different factors are related to what the outcome will be.