NYC Data Science Academy| Blog
Bootcamps
Lifetime Job Support Available Financing Available
Bootcamps
Data Science with Machine Learning Flagship ๐Ÿ† Data Analytics Bootcamp Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lesson
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories Testimonials Alumni Directory Alumni Exclusive Study Program
Courses
View Bundled Courses
Financing Available
Bootcamp Prep Popular ๐Ÿ”ฅ Data Science Mastery Data Science Launchpad with Python View AI Courses Generative AI for Everyone New ๐ŸŽ‰ Generative AI for Finance New ๐ŸŽ‰ Generative AI for Marketing New ๐ŸŽ‰
Bundle Up
Learn More and Save More
Combination of data science courses.
View Data Science Courses
Beginner
Introductory Python
Intermediate
Data Science Python: Data Analysis and Visualization Popular ๐Ÿ”ฅ Data Science R: Data Analysis and Visualization
Advanced
Data Science Python: Machine Learning Popular ๐Ÿ”ฅ Data Science R: Machine Learning Designing and Implementing Production MLOps New ๐ŸŽ‰ Natural Language Processing for Production (NLP) New ๐ŸŽ‰
Find Inspiration
Get Course Recommendation Must Try ๐Ÿ’Ž An Ultimate Guide to Become a Data Scientist
For Companies
For Companies
Corporate Offerings Hiring Partners Candidate Portfolio Hire Our Graduates
Students Work
Students Work
All Posts Capstone Data Visualization Machine Learning Python Projects R Projects
Tutorials
About
About
About Us Accreditation Contact Us Join Us FAQ Webinars Subscription An Ultimate Guide to
Become a Data Scientist
    Login
NYC Data Science Acedemy
Bootcamps
Courses
Students Work
About
Bootcamps
Bootcamps
Data Science with Machine Learning Flagship
Data Analytics Bootcamp
Artificial Intelligence Bootcamp New Release ๐ŸŽ‰
Free Lessons
Intro to Data Science New Release ๐ŸŽ‰
Find Inspiration
Find Alumni with Similar Background
Job Outlook
Occupational Outlook
Graduate Outcomes Must See ๐Ÿ”ฅ
Alumni
Success Stories
Testimonials
Alumni Directory
Alumni Exclusive Study Program
Courses
Bundles
financing available
View All Bundles
Bootcamp Prep
Data Science Mastery
Data Science Launchpad with Python NEW!
View AI Courses
Generative AI for Everyone
Generative AI for Finance
Generative AI for Marketing
View Data Science Courses
View All Professional Development Courses
Beginner
Introductory Python
Intermediate
Python: Data Analysis and Visualization
R: Data Analysis and Visualization
Advanced
Python: Machine Learning
R: Machine Learning
Designing and Implementing Production MLOps
Natural Language Processing for Production (NLP)
For Companies
Corporate Offerings
Hiring Partners
Candidate Portfolio
Hire Our Graduates
Students Work
All Posts
Capstone
Data Visualization
Machine Learning
Python Projects
R Projects
About
Accreditation
About Us
Contact Us
Join Us
FAQ
Webinars
Subscription
An Ultimate Guide to Become a Data Scientist
Tutorials
Data Analytics
  • Learn Pandas
  • Learn NumPy
  • Learn SciPy
  • Learn Matplotlib
Machine Learning
  • Boosting
  • Random Forest
  • Linear Regression
  • Decision Tree
  • PCA
Interview by Companies
  • JPMC
  • Google
  • Facebook
Artificial Intelligence
  • Learn Generative AI
  • Learn ChatGPT-3.5
  • Learn ChatGPT-4
  • Learn Google Bard
Coding
  • Learn Python
  • Learn SQL
  • Learn MySQL
  • Learn NoSQL
  • Learn PySpark
  • Learn PyTorch
Interview Questions
  • Python Hard
  • R Easy
  • R Hard
  • SQL Easy
  • SQL Hard
  • Python Easy
Data Science Blog > Big Data > Wisconsin State Police Stops: How Choices in Madison have led to Missing Racial Data and Other Outcomes

Wisconsin State Police Stops: How Choices in Madison have led to Missing Racial Data and Other Outcomes

Patrick Masi-Phelps
Posted on Jul 24, 2017

According to the Bureau of Justice Statistics, 42% of all face-to-face interactions between U.S. residents and police officers were through traffic stops. Getting pulled over is a nearly ubiquitous American experience, and each stop can lead to a number of possible outcomes - a warning, ticket, license suspension, search, arrest, or -- in rare cases -- death.

While certain arrest, sentencing, and imprisonment information has been collected and made publicly available for centuries, traffic stop data en masse is a fairly recent development. Civil rights advocacy groups are to thank for this step toward transparency. Their efforts, and others', to uncover and counter racial bias in the U.S. law enforcement and criminal justice system have been and continue to be important.

The scope of this study is limited. We looks at two trends observed in data collected by Wisconsin State Patrol troopers during traffic stops from 2011 - 2015, in particular missing racial data in 2014 and 2015 and monthly seasonal trends. If the races of drivers stopped by police are not recorded, everyone loses. The public continues to lose trust in opaque enforcement practices. Police officers lose the standing on which decision makers could make positive, institutional changes and weed out bad apples. We also look at monthly stop trends and potential drivers.

This exercise does not attempt to identify the existence of or quantify racial bias among police officers in Wisconsin.

If you would like to learn more about racism and discrimination in the U.S. criminal justice system, here are two places to start:

The New Jim Crow: Mass Incarceration in the Age of Colorblindness by Michelle Alexander

The Stanford Open Policing Project

Data

This project uses the dataset of all traffic stops made by the Wisconsin State Patrol from January 1, 2011 - December 31, 2015. The data was made publicly available by the State of Wisconsin's Department of Transportation and collated by The Stanford Open Policing Project here.

The State Patrol conducts only a portion of traffic stops made by police in Wisconsin. Counties, cities, towns, and sovereign Native American nations have their own officers who also make traffic stops. This project is limited to stops made by the State Patrol.

The dataset contains variables including:

  • Date/Time of the stop
  • County in which the stop occurred
  • Coordinates (for limited observations in 2014/2015) of the stop location
  • Reason driver was pulled over
  • Violation(s) found
  • Driver's gender, race, and age
  • Unique ID of the officer
  • Car model and color
  • Whether a search was conducted
  • Results of the search
  • Whether any drug-related violations were found

Background

Timeline of Wisconsin state-level public policies related to the collection of data on the race of drivers stopped by state law enforcement.

In November 1999, Governor Tommy Thompson (R) created a Task Force on Racial Profiling - charging the Task Force with the responsibility of studying and making recommendations on the use of profiling when conducting traffic stops in Wisconsin.

In December 2000, the Governor's Task Force on Racial Profiling issues its final report, concluding:

The extent of racial profiling cannot be determined without empirical study and comprehensive analysis. The Task Force and experts agree that data collection is an appropriate component for addressing racial profiling and is a component in effective management which can help build accountability and protect the integrity of law enforcement agencies and personnel...

Based on information from national and local experts, it is strongly recommended that law enforcement agencies collect the necessary data to address racial profiling in an organized manner that permits the development of meaningful and useful information.

In March 2007, Governor Jim Doyle (D) created a Commission on Reducing Racial Disparities in the Wisconsin Justice System.

In February 2008, the Commission on Reducing Racial Disparities in the Wisconsin Justice System issues its final report, recommending that โ€œappropriate state agencies should be directed to conduct a county-by county baseline study of racial disparity using existing traffic citation and arrest data to determine disparity levels in the state.โ€

In June 2009, the Wisconsin legislature (controlled by Democrats) adopted these recommendations (requiring all Wisconsin law enforcement officers to record and report racial and ethnic information about people they detain in traffic stops.

In January 2011, data collection began.

In February 2011, the Wisconsin legislature (controlled by Republicans) passed a bill repealing the racial/ethnic data collection requirement.

In May 2011, Wisconsin law enforcement was no longer required to collect the race or ethnicity of people stopped.

Analysis

1) Missingness of Racial Variables

Legislation requiring law enforcement officials to record the race of the driver in each traffic stop led to the creation of this dataset. Wisconsin State Patrol troopers were first required to collect this information in January 2011. The requirement was lifted in May 2011, but troopers continued to report the race of drivers stopped, as well as the other variables listed above.

Line graphs allow us to analyze the collection of race data over time. This graph shows the number of drivers stopped by race from 2011 - 2015, including the number of observations missing a driver race variable. State Patrol troopers continued to record the race of drivers stopped beyond May 2011. We only see a noticeable uptick in missing race observations (pink line) around September/October 2014, which then exceeds White drivers (yellow line) as the most common response in December 2014. Missingness continues throughout 2015.

Months from January 2011 to December 2015 are shown from 0 to 60

The May 2011 repeal of Wisconsin's data collection requirement did not lead to an immediate decrease in recorded race data. Rather, it happened three years later, and not so gradually.

How should we interpret this delayed response to policy changes? Older troopers could have been used to collecting racial data and just continued to do so past the required date. As newer troopers replace the old dogs, institutional habits are lost, and the amount of racial data collected may slowly decline. This explanation is inconsistent with the steady collection of race data from 2011 through mid-2014 and sudden increase in missingness in late-2014.

Since drivers' racial information is collected by individual troopers, not by the State Patrol department itself, per se, we take a further look at how each officer records the race of drivers he pulls over. This dataset includes the unique ID of the trooper involved with each traffic stop. We use this to look at each individual trooper, each month, and calculate the percentage of his stops for which he recorded the race of the driver.

The density plot below shows the number of troopers who had 0% - 5% missing driver race observations each month, 6-10% missing, 11-15% missing, and so on up to 96-100% missing. Lighter areas mean more troopers had that percentage of missing race data in that given month. We see that a vast majority of troopers had 0-5% missing race observations from 2011 through late 2014, as expected. Beginning in late 2014, we see a divergence; troopers either record the driver's race for nearly all stops or hardly any stops. That accounts for the light blue high-density areas at the top and bottom of the graph and a low density of points in the middle.

Light blue areas indicate more officers who did not record the race of the driver for a certain percentage range (y-axis)

What is causing certain State Patrol troopers to not report the race of the drivers they pull over? And what is causing others to record the race of all drivers stopped, despite the 2011 legislative repeal?

I am not in the business of speculation, but these observations suggest a systemic institutional change in late 2014 independent of the May 2011 removal of the legal requirement of troopers to record the race of drivers stopped. Further investigation could explore potential drivers.

2) Seasonality

At what times of the year are drivers more likely to be pulled over in Wisconsin?

By aggregating the total number of drivers stopped each month from January 2011 through December 2015, we can search for seasonal trends. A quick look at the bar graph below shows that May is a particularly busy month for the State Patrol. May saw the most traffic stops for 4 out of 5 years. Each year saw a slight dip in June, followed by a spike in late summer and a larger end-of-year drop in December. December had the fewest traffic stops for 3 out of 5 years.

We can narrow our seasonality analysis to the county level, showing how the number of stops in a given month compared to an average month from 2011 - 2015. The below heat map shows the percent difference in total police stops in each county in a given month compared to an average month for each county. May saw a 23.6% state-wide increase in traffic stops compared to an average month. Green Lake County had the largest percent increase in stops in May among all counties, with 90.3% more than an average month. On the flip side, Green Lake also had the largest percent decrease in stops in December among all counties - 85.7% less than average.

Seasonality in traffic stops could be explained by a number of factors. Weather could play a role; more people are on the roads when it's nice out. Milwaukee Decembers typically see an average temperature between 19 and 33 degrees. The last snowfall of the year can land as late as late May, meaning May and June are the first couple months when folks can roam (and drive) outdoors without snow boots.

Another theory for traffic stop seasonality in Wisconsin rests on the State Patrol's financial incentives - meeting fee/fine targets each year. Wisconsin's fiscal year end is June 30th. May could be the unofficial "catch-up" month for the State Patrol to meet its yearly fee income targets. Individual officers may also be incentivized to make more traffic stops near the state's fiscal year end. In October 2015, the Wisconsin Law Enforcement Association, the union for State Patrol troopers, sued the State Patrol for evaluating trooper performance in certain areas of the state based on quotas. The union alleged that the State Patrol instituted quotas of one traffic stop per hour of patrol, one citation per 1.8 hours of patrol, and one warning per 0.8 hours of patrol in the state's southern region. A state law passed in 1999 bars Wisconsin state agencies from requiring quotas for enforcement of traffic laws. As most employees are evaluated near their organization's fiscal year end - troopers may be under more pressure to make up for negative quota differentials late in the year, in May and June.

Please feel free to poke around with this RShiny app I made to explore these two issues found using the Wisconsin police stop dataset.

Conclusions

Law enforcement datasets can be used in certain cases to analyze the outcomes of one-off public policy initiatives and other institutional characteristics of police departments. A decline in racial data collection from traffic stops following the 2011 Republican-backed appeal of the collection mandate was predictable. The speed and timing of this decline was less predictable, likely due to an internal directive only affecting a portion of State Patrol troopers. I hope further analysis can lead to a policy reversal - increased transparency and accountability prevents powerful institutions from repeating past mistakes. Likewise, a brief look at seasonal trends can lead to discussions on the financial incentives placed on troopers to meet quotas.

Most importantly, we should recognize that trends in law enforcement behavior are not always externally driven. Some are attributable to internal characteristics, including public policy changes, budgetary issues, and systemic racism. Analyzing these enforcement outcomes can further the government's understanding of how its internal workings may be positively or negatively affecting the people it serves.

I put together an RShiny app that helps visualize these findings - you can find it here.

About Author

Patrick Masi-Phelps

Patrick graduated from Wesleyan University with a bachelor's degree in Mathematics and Economics. After graduation, he worked in regulatory consulting for two years, primarily with traditional buyout private equity and quantitative trading firms. Patrick enrolled in NYCDSA to...
View all posts by Patrick Masi-Phelps >

Related Articles

Machine Learning
Accurately Predicting House Prices and Improving Client Experience with Machine Learning
Big Data
Data Driven Rebalancing of Citi Bike Operations
Python
Data Analysis on The Effect of Inflation on Primary Assets
Big Data
House Price Prediction with Creative Feature Engineering and Advanced Regression Techniques
Big Data
Data Visualization on under-rated hiking destinations

Leave a Comment

Cancel reply

You must be logged in to post a comment.

No comments found.

View Posts by Categories

All Posts 2399 posts
AI 7 posts
AI Agent 2 posts
AI-based hotel recommendation 1 posts
AIForGood 1 posts
Alumni 60 posts
Animated Maps 1 posts
APIs 41 posts
Artificial Intelligence 2 posts
Artificial Intelligence 2 posts
AWS 13 posts
Banking 1 posts
Big Data 50 posts
Branch Analysis 1 posts
Capstone 206 posts
Career Education 7 posts
CLIP 1 posts
Community 72 posts
Congestion Zone 1 posts
Content Recommendation 1 posts
Cosine SImilarity 1 posts
Data Analysis 5 posts
Data Engineering 1 posts
Data Engineering 3 posts
Data Science 7 posts
Data Science News and Sharing 73 posts
Data Visualization 324 posts
Events 5 posts
Featured 37 posts
Function calling 1 posts
FutureTech 1 posts
Generative AI 5 posts
Hadoop 13 posts
Image Classification 1 posts
Innovation 2 posts
Kmeans Cluster 1 posts
LLM 6 posts
Machine Learning 364 posts
Marketing 1 posts
Meetup 144 posts
MLOPs 1 posts
Model Deployment 1 posts
Nagamas69 1 posts
NLP 1 posts
OpenAI 5 posts
OpenNYC Data 1 posts
pySpark 1 posts
Python 16 posts
Python 458 posts
Python data analysis 4 posts
Python Shiny 2 posts
R 404 posts
R Data Analysis 1 posts
R Shiny 560 posts
R Visualization 445 posts
RAG 1 posts
RoBERTa 1 posts
semantic rearch 2 posts
Spark 17 posts
SQL 1 posts
Streamlit 2 posts
Student Works 1687 posts
Tableau 12 posts
TensorFlow 3 posts
Traffic 1 posts
User Preference Modeling 1 posts
Vector database 2 posts
Web Scraping 483 posts
wukong138 1 posts

Our Recent Popular Posts

AI 4 AI: ChatGPT Unifies My Blog Posts
by Vinod Chugani
Dec 18, 2022
Meet Your Machine Learning Mentors: Kyle Gallatin
by Vivian Zhang
Nov 4, 2020
NICU Admissions and CCHD: Predicting Based on Data Analysis
by Paul Lee, Aron Berke, Bee Kim, Bettina Meier and Ira Villar
Jan 7, 2020

View Posts by Tags

#python #trainwithnycdsa 2019 2020 Revenue 3-points agriculture air quality airbnb airline alcohol Alex Baransky algorithm alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus ames dataset ames housing dataset apartment rent API Application artist aws bank loans beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep boston safety Bundles cake recipe California Cancer Research capstone car price Career Career Day ChatGPT citibike classic cars classpass clustering Coding Course Demo Course Report covid 19 credit credit card crime frequency crops D3.js data data analysis Data Analyst data analytics data for tripadvisor reviews data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization database Deep Learning Demo Day Discount disney dplyr drug data e-commerce economy employee employee burnout employer networking environment feature engineering Finance Financial Data Science fitness studio Flask flight delay football gbm Get Hired ggplot2 googleVis H20 Hadoop hallmark holiday movie happiness healthcare frauds higgs boson Hiring hiring partner events Hiring Partners hotels housing housing data housing predictions housing price hy-vee Income industry Industry Experts Injuries Instructor Blog Instructor Interview insurance italki Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter las vegas airport lasso regression Lead Data Scienctist Lead Data Scientist leaflet league linear regression Logistic Regression machine learning Maps market matplotlib Medical Research Meet the team meetup methal health miami beach movie music Napoli NBA netflix Networking neural network Neural networks New Courses NHL nlp NYC NYC Data Science nyc data science academy NYC Open Data nyc property NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time performance phoenix pollutants Portfolio Development precision measurement prediction Prework Programming public safety PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn seafood type Selenium sentiment analysis sentiment classification Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau teachers team team performance TensorFlow Testimonial tf-idf Top Data Science Bootcamp Top manufacturing companies Transfers tweets twitter videos visualization wallstreet wallstreetbets web scraping Weekend Course What to expect whiskey whiskeyadvocate wildfire word cloud word2vec XGBoost yelp youtube trending ZORI

NYC Data Science Academy

NYC Data Science Academy teaches data science, trains companies and their employees to better profit from data, excels at big data project consulting, and connects trained Data Scientists to our industry.

NYC Data Science Academy is licensed by New York State Education Department.

Get detailed curriculum information about our
amazing bootcamp!

Please enter a valid email address
Sign up completed. Thank you!

Offerings

  • HOME
  • DATA SCIENCE BOOTCAMP
  • ONLINE DATA SCIENCE BOOTCAMP
  • Professional Development Courses
  • CORPORATE OFFERINGS
  • HIRING PARTNERS
  • About

  • About Us
  • Alumni
  • Blog
  • FAQ
  • Contact Us
  • Refund Policy
  • Join Us
  • SOCIAL MEDIA

    ยฉ 2025 NYC Data Science Academy
    All rights reserved. | Site Map
    Privacy Policy | Terms of Service
    Bootcamp Application