How to Develop and Use SPFs

SPF-R Web Tool
The Highway Safety Manual (HSM) was first published by AASHTO in 2010 and provides guidance for safety analysis in highway transportation project planning and development. The HSM contains predictive methods for infrastructure improvement project alternative analysis and development/design including the use of national safety performance functions developed to predict crashes by severity specific facility types and base conditions; and associated crash modification factors (CMFs) to estimate the potential effects of design alternatives or changes from base conditions.

In 2017 the Kentucky Transportation Center developed a tool using the free and open-source statistical computing and graphics environment “R”. Utilizing methods outlined by the HSM, code was created in R to automate SPF development to improve regression models. The tool became known as SPF-R and allowed states that have not adopted newer methodologies due to the difficulties related to SPF development the ability to create Safety Performance Functions. SPF-R provides immediate feedback in SPF development, including goodness-of-fit measures and depictions of the model. SPF-R is now in the FHWA Safety Toolbox, but it does require someone with a working knowledge of how to run R code, as well as an application downloaded to a computer in order to run.

Recognizing that running code may be a barrier for some, this new version of the code takes the SPF-R and runs it on a server. A new web interface has been developed so SPFs may be developed through a user’s web browser simply by uploading a CSV file with certain predefined parameters. Users of this new tool will have fewer technical challenges getting SPF-R working as the mechanics are all handled online. SPF-R online is still free and open-source, but in this current form it is more accessible than ever before.


Summary of State SPF Calibration and Development Efforts
Safety performance functions (SPFs) are one of the fundamental building blocks of the predictive methods in the HSM. One step in implementing the HSM is calibration of the HSM-provided SPFs or development of jurisdiction-specific SPFs. Many States have already completed this step. This spreadsheet (updated in November 2020) summarizes the results from States that have published and posted their SPF calibration factors and/or State-developed SPFs.


Summary of State-Adapted HSM Part C Spreadsheet Tools
Part C of the HSM provides predictive methods for estimating predicted and expected crash frequency and severity for several roadway types. Among the HSM training tools developed under NCHRP Project 17-38 was a set of Microsoft Excel spreadsheets for performing the HSM Part C calculations for two-lane two-way rural roads, multilane rural roads, urban and suburban arterials. NCHRP Project 17-45 developed ISATe, an Excel-based spreadsheet tool for freeways and ramps. Several States have adapted these spreadsheets for production purposes and to reflect their regional crash data. This table provides a summary of State-adapted HSM Part C spreadsheet tools.


Safety Performance Function Decision Guide: SPF Calibration vs SPF Development
This guidebook is intended to provide guidance on whether an agency should calibrate the safety performance functions from the Highway Safety Manual or develop jurisdiction-specific SPFs. The guidebook discusses the factors that need to be considered while making the decision. It is intended to be of use to practitioners at state and local agencies and to researchers.


Safety Performance Function Development Guide: Developing Jurisidiction-Specific SPFs
This guidebook is intended to provide guidance on developing safety performance functions from the Highway Safety Manual. The guidebook discusses the process to develop jurisdiction specific SPFs. It is intended to be of use to practitioners at state and local agencies and to researchers.


User's Guide to Develop Highway Safety Manual Safety Performance Function Calibration Factors
The use of Highway Safety Manual crash predictive models in any jurisdiction calls for calibration of safety performance functions and replacement of crash severity and collision type distribution tables and adjustment factors to local and current conditions. This Guide's aim is to support the development of calibration factors and the adaptation of crash distribution tables and adjustment factors to local and current conditions.

*Additional Resource: Appendix B Excel Tables for use with HR 20-7(332) Guide for SPF Calibration Factors