Data Analysis on The Outliers of Mass Shootings

Posted on Mar 16, 2020
The skills the author demoed here can be learned through taking Data Science with Machine Learning bootcamp with NYC Data Science Academy.

Interact with the data here:


The debate around gun control and gun violence is emotional and contentious. The goal of this project was to analyze data on mass shootings collected by the Gun Violence Archive to understand the frequency and victim impact of these events. An effort was made to frame this data with as little personal bias and judgement as possible. That being said, every shooting is a tragedy. There are some events that dominate the news cycle, national discussion, and our collective consciousness. My aim in analyzing gun violence data was to put these events into context.

There is no consistent definition of โ€˜mass shooting.โ€™ Borrowing from the FBIโ€™s definition of mass murder, the Gun Violence Archive defines a mass shooting as any event where four or more people are injured and/or killed.


I analyzed the GVAโ€™s mass shooting data collected from 2014 to 2019. It became immediately apparent that more often than not, these events tended to claim few lives, and events with large numbers of injuries and fatalities were infrequent. Most often, there were zero lives claimed and four injuries per incident, and this was consistent for every year analyzed. Further analysis is needed to understand to what extent the spike at four injuries is a function of the GVAโ€™s definition of mass shooting.

Data Analysis on The Outliers of Mass Shootings
Data Analysis on The Outliers of Mass Shootings


Data Analysisย 

It is clear from the data that most mass shootings do not claim a large number of lives. Perhaps because of this, they go unreported in the media. It is also clear that the most extreme data points - the deadliest and the rarest - are the ones that are most well known to us. The mass shooting data frames available in the GVA archive do not record the type of firearm or incident, so in order to understand these events, I searched for other collections of information. Joining different data sets was complicated by the fact that definitions are not standardized.

Nevertheless, I hypothesized that perhaps the most common number of injuries per event was four because of the nature of the weapons being used to perpetrate these crimes and the limit on ammunition. More research corroborated this hypothesis: handguns are the most commonly used weapon in mass shootings.


Data Analysis on The Outliers of Mass Shootings


This information is collected and visualized in Shiny. I was interested in studying this data in order to better understand the issue free from the emotional exploitations of all sides of the debate. What I found is that extreme outlier events guide the national conversation, and the data show the problem lies elsewhere. Perhaps a more productive discussion can be had if it were more focused on the most common types of events, and not those on the fringe.


Gun Violence Archive:







About Author

Leave a Comment

No comments found.

View Posts by Categories

Our Recent Popular Posts

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 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 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 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