Related Experiment Video
Updated: Jun 23, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Predicting State-Level Firearm Suicide Rates: A Machine Learning Approach Using Public Policy Data
Evan V Goldstein1, Fernando A Wilson2
1Department of Population Health Sciences, Spencer Fox Eccles School of Medicine, The University of Utah, Salt Lake City, Utah.
Introduction:
Over 40,000 people die by suicide annually in the U.S., and firearms are the most lethal suicide method. There is limited evidence on the effectiveness of many state-level policies on reducing firearm suicide. The objective of this study was to identify public policies that best predict state-level firearm suicide rates.
Methods:
Data from the Centers for Disease Control and Prevention's WONDER system and the State Firearm Law Database, a longitudinal catalog of 134 firearm safety laws, were analyzed. The analysis included 1,450 observations from 50 states spanning 1991-2019. An ElasticNet regression technique was used to analyze the relationship between the policy variables and firearm suicide rates. Nested cross-validation was performed to tune the model hyperparameters. The study data were collected and analyzed in 2023 and 2024.
Results:
The optimized ElasticNet approach had a mean squared error of 2.07, which was superior to nonregularized and dummy regressor models. The most influential policies for predicting the firearm suicide rate on average included laws requiring firearm dealers that sell handguns to have a state license and laws requiring individuals to obtain a permit to purchase a firearm through an approval process that includes law enforcement, among others.
Conclusions:
On average, firearm suicide rates were lower in state-years that had each influential policy active. Notably, these analyses were ecological and noncausal. However, this study was able to use a supervised machine learning approach with inherent feature selection and many policy types to make predictions using unseen data (i.e., balancing Lasso and Ridge regularization penalties).
More Related Videos
12:18A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
06:55Inverse Probability of Treatment Weighting Propensity Score using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Related Concept Videos
Steps in Outbreak Investigation
Statistical Methods for Analyzing Epidemiological Data
Actuarial Approach
Consider the example of a high-risk surgical procedure with significant early-stage mortality. A two-year clinical study is conducted,...
Applications of Life Tables
Regression Toward the Mean
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...