GitHub Repository

See the link below for the code used to generate the population DataFrame. https://github.com/singparvi/Analysis-Firearms-Sales-US/tree/main/US_Population

The code for the graphics shown below could be found in the link:- https://github.com/singparvi/Analysis-Firearms-Sales-US/blob/main/US_Firearm_Sales/US_firearms_sales_analysis.ipynb

Topic Selection and the Research Questions

Before the 2020 US election, a Washington Post News Article 1 caught my eye. I started to investigate whether the 2020 election has anything to do with firearms sales in the US. Was this year unique in any way due to COVID, or perhaps the sitting president? This got me started in collecting data on US firearms sales and analyzing it.

Source Dataset

The data for this research was obtained from the National Instant Criminal Background Check System (NICS)2 database maintained by the FBI. The NICS system was launched in 1998 and allowed a Federal Firearms Licensee (FFL), an authorized seller in the US, to run a background check on the buyer. Since its inception, NICS has provided approximately 300 million checks and led to 1.5 million denials. The denials may represent only 0.5%, but the data reveals which states are buying most firearms in the US. NICS reports the data for each state monthly in a pdf format. Buzzfeednews.com maintains a CSV format of the data from the FBI, which was of great help in the data analysis.3

In addition to the NICS database, the US population data of each state was also used. Information from census.gov 4 and jakevdp from GitHub data 5 was used to determine state populations from 2001-2019. The state populations for 2020 was extrapolated from 2018 and 2019 numbers.


Visualization and Data Interpretation

For data analysis, only the data from 2001-2020 was considered. The line plot shown below displays the firearms sales month by month across the US from 2001-2020. Key events explain major spikes in firearms sales. There is an increase in firearms sales around each election, be it 2008, 2012, 2016 or 2020. The US buys firearms mainly in December, consistently year after year.

Annual firearms Sales Events


Non-Normalized Data

The following section’s data is not normalized, and the intention is to show that some states might appear to be buying a lot of firearms, but the states of interest change when accounting for the population.

Total Annual Firearms Sales in US States by Year

The map below shows how total firearms sales have changed in the US by state each year. The color intensity shows the state that has the maximum firearms sales in any time frame.

US Firearms Sales from 2001 to 2020

2016 and 2020, both election years, had record sales and there is a significant spike in firearms sales in both years. 2020 is on track to be a record year in firearms sales with more than 30 million firearms sold as of November 2020.

Total Firearms Sales per US state from 2001 to 2020

To more concisely see the scale of change the bar plot below shows how firearms sale patterns shift over time. In 2001, California accounted for the most firearms sales while for 2020, Illinois has taken the spot.

Firearms Sales from 2001 to 2020 of top 10 US States

The bar chart below shows how firearms sales intensity shifted from California to Illinois in the past two decades. Press the play button to see how states change rank over time. Surprisingly California has seen a steady decline in firearms sales between 2017-2019 with a little increase in 2020.


Normalized data

As can be seen above, in 2020 Illinois had the largest total firearms sales. However, the statistics change when the population is considered.

Total Annual Firearms Sales per 100k Population of US States by Year

The map below shows the number of firearms sold per 100k population of any state in any given year. In 2001, Colorado, Montana and West Virginia accounted for most firearms sold in the US with 82, 78 and 76 firearms per 100k individuals respectively. Fast forward twenty years, Kentucky, Illinois and Utah have taken these spots. Kentucky has approximately 651 firearms for every 100,000 individuals while Illinois at 520 firearms for every 100,000 individuals. Overall there has been a dramatic shift in firearms sales over the years.

US Firearms Sales with Population Consideration

To more concisely see the scale of change, the bar plot shows the information in a bar plot below shows the change in scale in the past twenty years.

Bar chart race for Annual Firearms Sales per 100k population from 2001 to 2020 of top 10 US States

Kentucky has held the first spot since 2006 for the highest number of firearms sold per 100k individuals. That year the number of firearms purchased per 100k individuals was almost four times greater than 2005. The number of firearms purchased in Kentucky in 2007 was almost double the number of firearms bought in 2006!.


Correlation and Linear Regression Fitting

The states which bought the most firearms per 100k individuals in 2020 were Kentucky, Illinois and Utah.

Kentucky State Correlation and Linear Regression Fitting

The correlation between Kentucky state’s firearms sold per 100k and its population is approximately 91%. With linear regression, it can be interpreted that the firearms sales per 100k in Kentucky can be explained approximately 83% by time only.

Kentucky OLS Results

Illinois State Correlation and Linear Regression Fitting

The correlation between Illinois state’s firearms sold per 100k and its population is approximately 75%. With linear regression, it can be interpreted that the firearms sales per 100k in Illinois can be explained approximately 54% by time only.

Illinois OLS Results

Utah State Correlation and Linear Regression Fitting

The correlation between Utah state’s firearms sold per 100k and its population is approximately 59%. With linear regression, it can be interpreted that the firearms sales per 100k in Utah can be explained approximately 31% by time only.

Utah OLS Results

Conclusion

The NICS data provide an excellent insight into the firearms sales trend in the US. Election years are related to an increase in US firearms sales. The sitting president might be why this factor was amplified for 2020. For future election years, it is a higher probability that US firearms sales will see a distinct increase in sales compared to the preceding year. At the beginning of the data analysis, I hypothesized that the coronavirus situation impacted firearms sales with unemployment. The data helped me reject the hypothesis.

Sources

1Washington Post News Article

2FBI NICS

3BuzzFeedNews

4Census U.S.

5GitHub Link