Written and maintained by CASRAI Editorial Board
Published
On this page
The Center for Statistics and Applications in Forensic Evidence (CSAFE) is a National Institute of Standards and Technology (NIST) Center of Excellence dedicated to establishing scientific foundations and statistical validity for pattern and digital forensic evidence. Headquartered at Iowa State University and operating across partner research institutions, CSAFE develops open-source statistical tools, curated research databases, and educational programs that help forensic laboratories, criminal justice professionals, and courts quantify uncertainty and reduce error in evidence interpretation.
What the Center for Statistics and Applications in Forensic Evidence is
The Center for Statistics and Applications in Forensic Evidence (CSAFE) is a national research consortium founded to bring quantitative rigor, probabilistic modeling, and modern data science to forensic practice. Comparative disciplines—such as firearms identification, toolmarks, latent prints, footwear, and handwriting—traditionally relied on subjective visual comparisons. While examiner expertise is vital, landmark scientific inquiries highlighted the necessity for empirical validation, known error rates, and objective statistical frameworks.
Operating as a collaborative research environment, CSAFE unites academic statisticians, computer scientists, legal scholars, and forensic practitioners to build mathematical models, algorithmic tools, and representative empirical datasets. Researchers exploring the broader principles of forensic science recognize that transitioning subjective pattern matching to quantifiable statistical evaluation is a central evolution in modern criminal justice.
CSAFE’s intellectual agenda focuses on shifting from categorical conclusions—such as declaring an absolute match or exclusion—to probabilistic statements supported by empirical data, equipping analysts to report evidence with transparent measures of uncertainty.
Who runs CSAFE and what it covers
CSAFE was established in 2015 through a cooperative agreement awarded by the National Institute of Standards and Technology (NIST). Headquartered at Iowa State University within the Department of Statistics under the direction of Distinguished Professor Alicia Carriquiry, CSAFE operates as an academic consortium partnering with Carnegie Mellon University, the University of Virginia, Duke University, West Virginia University, and the University of California, Irvine.
The scope of CSAFE’s investigative program covers key evidence categories and methodological domains:
- Pattern Evidence: Objective algorithmic metrics and statistical matching models for firearm barrel striations, cartridge case marks, footwear tread wear, and latent fingerprint friction ridges.
- Questioned Documents: Statistical feature-extraction methods evaluating handwriting characteristics against defined populations of candidate writers.
- Digital Evidence: Evaluating temporal event sequences, digital file integrity, and mobile device artifact storage through automated code analysis.
- Forensic Seized Drug Analysis: Statistically valid sampling strategies and hypergeometric inference models to determine substance composition in multi-unit exhibits.
- Education and Outreach: Translating advanced probabilistic concepts into practical curricula for examiners, trial judges, prosecutors, and defense attorneys.
In 2020, NIST renewed its partnership with CSAFE for a second five-year term (CSAFE 2.0) to accelerate the transfer of statistical research into operational crime laboratories, aligning with the Organization of Scientific Area Committees (OSAC) for Forensic Science.
Historical foundation: NRC 2009 and PCAST 2016 mandates
The creation of CSAFE directly answered systemic vulnerabilities identified in two landmark federal reports examining the scientific validity of forensic disciplines.
In 2009, the National Research Council (NRC) published Strengthening Forensic Science in the United States: A Path Forward. The NRC delivered a stark critique of comparative pattern disciplines, noting a pervasive lack of peer-reviewed validation studies, an absence of representative databases, and a failure to establish known error rates. The report urged federal agencies to establish dedicated research programs capable of infusing statistical methodology into forensic practice.
In 2016, the President’s Council of Advisors on Science and Technology (PCAST) issued Forensic Science in Criminal Courts: Ensuring Scientific Validity of Feature-Comparison Methods. PCAST evaluated whether common feature-comparison disciplines met legal standards of foundational validity and validity as applied. PCAST concluded that several prominent disciplines—including firearm examination, footwear analysis, and bite mark comparison—lacked foundational validity or required substantial additional empirical support.
CSAFE’s research agenda directly addresses these mandates by conducting empirical validation trials, publishing open-access research, and building open-source computational tools that provide the empirical backing demanded by the NRC and PCAST recommendations.
How statistics are used in forensics
Statistics provide the mathematical framework necessary to evaluate forensic evidence objectively, measure analytical uncertainty, and prevent overstated testimony. In forensic practice, statistics are applied across four operational areas: population frequency modeling, score-based likelihood ratio (SLR) estimation, measurement error quantification, and quality assurance testing.
First, statistics establish population databases documenting feature rarity. In footwear analysis, understanding the distribution of tread designs or wear characteristics in the consumer market enables examiners to evaluate whether a visual similarity carries significant probative weight or represents a common commercial feature.
Second, forensic statisticians utilize likelihood ratios to evaluate competing propositions: the prosecution hypothesis (that the mark originated from the suspect item) and the defense hypothesis (that the mark originated from an unrelated item in the relevant population). The likelihood ratio assesses evidence probability under each scenario:
- Numerator: The probability of observing the degree of similarity if the questioned evidence and exemplar share a common source.
- Denominator: The probability of observing that similarity if the evidence originated from an unrelated source.
Third, statistics quantify measurement uncertainty in laboratory instruments. Establishing confidence intervals ensures findings are not presented as absolute certainties. Furthermore, statistical methodologies support statistical integrity verification techniques, providing forensic science with data validation safeguards comparable to other scientific disciplines.
What tools are used in forensics
Modern forensic investigation relies on an integrated suite of optical hardware, chemical instrumentation, computational algorithms, and statistical software packages. Depending on the physical nature of the evidence, examiners use specialized platforms to extract, scan, and evaluate evidentiary items.
The table below summarizes major forensic evidence categories, their primary analytical instruments, evaluation challenges, and the statistical tools developed to support objective analysis:
| Evidence Category | Primary Analytical Instrument | Evaluation Challenge | Statistical Tool or Package |
|---|---|---|---|
| Firearm Toolmarks | 3D Confocal Optical Profilometer | Microscopic striation variability across successive shots | bulletAnalyzr / cmcR / cmpsR |
| Questioned Documents | High-Resolution Flatbed Document Scanner | Complex intra-writer variation and natural handwriting decay | Handwriter |
| Footwear Impressions | 2D Digital Photography and 3D Laser Scanner | Distortion from uneven substrates and progressive sole wear | ShoeprintAnalyzr / shoecomp++ |
| Seized Drug Bulks | Gas Chromatography-Mass Spectrometry (GC-MS) | Sampling heterogeneous multi-unit exhibits with confidence | HyperSample |
| Digital Artifacts | Static Source Code and Storage Analyzers | Navigating vast application file trees for evidentiary traces | EviHunter |
| Temporal Event Logs | Event Logging and Network Packet Analyzers | Associating disparate digital activity streams with a single user | Assocr |
In addition to analytical software, forensic laboratories adhere to rigorous operational controls, such as chain of custody documentation. Analysts managing evidence transfers integrate these analytical tools with validated forensic chain of custody protocols to ensure evidentiary integrity and legal admissibility.
CSAFE open-source software packages
A central output of CSAFE’s mission is the development of open-source software tools that translate statistical theory into laboratory practice. CSAFE publishes these utilities as accessible R packages or standalone applications.
bulletAnalyzr
The bulletAnalyzr tool is an R-based framework developed for objective firearm evidence examination. Using 3D surface topography scans of fired bullets formatted as standardized X3P files, bulletAnalyzr extracts cross-sectional signatures along land engraved areas, filters surface curvature, detects groove locations, and computes cross-correlation functions between striation profiles to assess common barrel origin.
Handwriter
Developed for forensic document examination, Handwriter is an open-source R package that evaluates handwriting samples. The package decomposes scanned handwriting into glyphs and graph structures, measuring stroke loops, intersections, curvature, and slant. By evaluating these features against a corpus of known writers, Handwriter estimates posterior probabilities regarding candidate authorship, providing an objective complement to traditional forensic document examination methods.
HyperSample
Forensic chemistry laboratories regularly process large drug seizures consisting of hundreds or thousands of packages. HyperSample is a local application applying hypergeometric distribution modeling and Bayesian sampling theory, allowing analysts to determine the exact number of units to test to conclude with specified statistical confidence (such as 95% or 99%) that a defined proportion contains the target substance.
cmcR and cmpsR
The cmcR and cmpsR packages implement correlation algorithms for cartridge cases and toolmarks. The Congruent Matching Cells (CMC) method divides breech face impressions into small cells, comparing spatial correlation and angular congruence against a reference scan. Similarly, the Congruent Matching Profile Segments (CMPS) package divides linear striation profiles into segments, scoring profile similarity to differentiate matching toolmarks from close non-matches.
ShoeprintAnalyzr and shoecomp++
Footwear impressions recovered from crime scenes are frequently partial or deposited on irregular substrates. ShoeprintAnalyzr and shoecomp++ provide image registration, alignment, and coordinate-matching utilities, enabling examiners to overlay exemplars onto questioned impressions, document wear features, and generate reproducible comparison reports.
What is forensic data and how repositories are structured
In forensic science, forensic data encompasses curated physical measurements, digital images, 3D topographical scans, chemical spectra, and ground-truth metadata collected to establish baseline scientific distributions. Without accessible, representative databases, researchers cannot determine feature rarity or calculate false-positive error rates.
CSAFE addresses the scarcity of forensic datasets by hosting open-access repositories through its Forensic Science Data Portal. Key characteristics of these repositories include:
- Ground-Truth Known Origins: Specimens are generated under controlled experimental protocols where the true source is known with certainty (such as bullets fired from consecutively manufactured barrels or handwriting from authenticated volunteers).
- Longitudinal Wear Tracking: Collections record temporal wear progression, such as tracking outsole wear on footwear worn over hundreds of miles, enabling researchers to study how acquired characteristics emerge and degrade.
- Open Standard Formats: Data are stored in non-proprietary formats, such as ISO 5436-2 (X3P) container files for 3D surface profiles, facilitating cross-laboratory compatibility.
- High-Resolution Metadata: Datasets record comprehensive parameters, including scanner calibration settings, lighting conditions, substrate composition, and ammunition specifications.
These reference databases provide the empirical foundation required for modern biometric human identification standards, ensuring that statistical algorithms are tested across realistic population variations.
How to search, access, and use CSAFE resources
Forensic practitioners, academic researchers, and legal professionals can access CSAFE’s tools, data, and training through its web portal. The following numbered steps describe how to navigate the platform’s interface:
- Access the Resource Catalog: Open the official CSAFE portal at forensicstats.org and select the Resources tab from the top navigation menu.
- Filter by Resource Category: Choose from the dedicated resource categories: Published Work for journal articles, Insights for practitioner briefs, Forensic Science Data Portal for research datasets, or Open-Source Software Tools for computational packages.
- Download Open-Source Tools: Navigate to the Open-Source Software Tools page, locate the required package (such as
bulletAnalyzrorHandwriter), and follow repository links to download source code or R CRAN/GitHub packages. - Retrieve Reference Datasets: Select the Forensic Science Data Portal to locate study corpora. Review dataset documentation and download image files, 3D surface scans, and metadata files.
- Review CSAFE Insights Briefs: Visit the Insights section to download two-page summaries of key research projects, which distill complex statistical findings into plain language suitable for case preparation.
- Enroll in CSAFE Learning Pathways: Select the CSAFE Learning tab to explore educational resources, ranging from self-paced Stats Starters videos to structured multi-week courses covering probabilistic evidence evaluation.
- Request Customized Institutional Training: Crime laboratory directors or legal organizations seeking specialized workshops can navigate to the Schedule A Workshop section to request tailored on-site or virtual training led by CSAFE faculty.
What are some websites about forensic science?
Navigating the forensic science landscape requires consulting authoritative government, standards, and academic platforms. Sourced from official federal and organizational directories, the following platforms represent primary online authorities for forensic standards, research, and data:
- CSAFE (forensicstats.org): The official web platform for the Center for Statistics and Applications in Forensic Evidence, hosting open-source statistical software, research data repositories, educational webinars, and research briefs.
- NIST Forensic Science Program (nist.gov/forensic-science): The National Institute of Standards and Technology portal documenting federal forensic measurement research, scientific foundation reviews, and cooperative agreements.
- OSAC for Forensic Science (nist.gov/osac): The Organization of Scientific Area Committees, administered by NIST, which facilitates the development and registry of technically sound documentary standards across 22 forensic disciplines.
- National Institute of Justice Forensic Sciences (nij.ojp.gov): The research and development agency of the U.S. Department of Justice, providing research grant funding announcements, forensic technology transfer reports, and operational laboratory surveys.
- American Academy of Forensic Sciences (aafs.org): The primary professional multidisciplinary organization representing forensic practitioners, publishing the Journal of Forensic Sciences and hosting annual scientific proceedings.
- Forensic Technology Center of Excellence (forensiccoe.org): A program supported by NIJ that transitions forensic research into operational crime laboratory practice through technical evaluations and workshops.
Strengths and limits of CSAFE statistical tools
Understanding both the capabilities and operational boundaries of CSAFE tools is essential for examiners considering their adoption in casework or research.
Strengths
- Open-Source Transparency: Unlike proprietary commercial black-box systems, CSAFE software code is publicly accessible, allowing defense experts, prosecutors, and independent researchers to inspect algorithm mechanics and mathematical models.
- Peer-Reviewed Empirical Foundation: CSAFE tools are built upon studies published in respected peer-reviewed journals, satisfying key evidentiary admissibility criteria under Federal Rule of Evidence 702 and the Daubert standard.
- Quantified Uncertainty: Tools provide continuous score distributions, error rate boundaries, or likelihood ratios, moving the discipline away from unjustified claims of zero error or absolute certainty.
- Non-Commercial Accessibility: Software packages and reference databases are distributed freely, lowering cost barriers for publicly funded, resource-constrained crime laboratories.
Limits
- Hardware Prerequisites: Advanced tools such as
bulletAnalyzrandcmcRrequire 3D optical profilometers capable of producing standardized X3P scans, which may exceed local agency budgets. - Practitioner Statistical Fluency: Interpreting score-based likelihood ratios requires foundational training in probability theory; misinterpreting statistical outputs can lead to confusion in trial testimony.
- Closed-Set Assumptions: Certain tools, such as early implementations of handwriting analysis, operate under closed-set assumptions where candidate writers must be pre-specified, requiring careful framing in open investigations.
- Integration with Legacy LIMS: Operational crime laboratories rely on commercial Laboratory Information Management Systems (LIMS) that do not natively interface with standalone R scripts, necessitating custom data pipeline workflows.
Alternatives and complementary forensic research platforms
While CSAFE is the premier center focused specifically on statistics in forensic science, several governmental and international organizations support forensic research, standards formulation, and technology validation.
The table below compares CSAFE with major alternative and complementary forensic research initiatives:
| Organization or Platform | Primary Focus | Governance and Funding | Primary Output | Access Model |
|---|---|---|---|---|
| CSAFE | Statistical foundations and probabilistic modeling for pattern/digital evidence | NIST Cooperative Agreement and Multi-University Consortium | Open-source R packages, ground-truth databases, educational courses | Open-access public domain |
| NIST Forensic Science Program | Measurement science, scientific foundation reviews, calibration standards | U.S. Department of Commerce (Federal Agency) | Technical reports, standard reference materials (SRMs), validation guidelines | Public government reports |
| OSAC for Forensic Science | Documentary standard development and registry harmonization | Administered by NIST with multi-stakeholder consensus committees | OSAC Registry of approved documentary standards | Open-access standard registry |
| NIJ FTCOE | Forensic technology demonstration, commercial tool evaluation, lab transition | U.S. Department of Justice (NIJ Cooperative Agreement) | Technical evaluation reports, policy webinars, technology transition guides | Open-access public reports |
| ENFSI | European forensic laboratory harmonization, proficiency testing, best practice | European Network of Forensic Science Institutes (Member Labs) | Best Practice Manuals (BPMs), quality assurance guidelines | Open-access practice manuals |
These initiatives operate synergistically: OSAC develops consensus documentary standards, while CSAFE provides the underlying statistical tools and validation data.
Frequently asked questions
What does CSAFE stand for?
CSAFE stands for the Center for Statistics and Applications in Forensic Evidence. It is a national research Center of Excellence supported by NIST and headquartered at Iowa State University.
How are statistics used in forensics?
Statistics quantify feature rarity, calculate likelihood ratios between competing legal propositions, establish measurement uncertainty, and estimate empirical error rates for forensic evidence.
What tools are used in forensics?
Forensics uses optical profilometers, mass spectrometers, and specialized software like bulletAnalyzr for firearms, Handwriter for document examination, HyperSample for drug sampling, and cmcR for cartridge cases.
What is forensic data?
Forensic data consists of curated physical measurements, 3D topography scans, high-resolution imagery, and ground-truth metadata collected under controlled experimental conditions to establish scientific baselines, test algorithms, and evaluate error rates.
What are some websites about forensic science?
Authoritative websites include the CSAFE portal (forensicstats.org), the NIST Forensic Science Program (nist.gov/forensic-science), the OSAC Registry (nist.gov/osac), and the National Institute of Justice (nij.ojp.gov).
Who funds the Center for Statistics and Applications in Forensic Evidence?
CSAFE is funded through cooperative agreements with NIST, alongside institutional support from Iowa State University and partner academic institutions.
Are CSAFE software tools free to use?
Yes. CSAFE distributes its software tools and databases as open-source resources to facilitate transparency, reproducibility, and adoption across crime laboratories.
Sources
- Center for Statistics and Applications in Forensic Evidence: About – CSAFE, checked 2026-11-21
- Center for Statistics and Applications in Forensic Evidence: Open-Source Software Tools – CSAFE, checked 2026-11-21
- Center for Statistics and Applications in Forensic Evidence: Resources – CSAFE, checked 2026-11-21
- Center for Statistics and Applications in Forensic Evidence: CSAFE Learning – CSAFE, checked 2026-11-21
- National Institute of Standards and Technology: Forensic science | NIST, checked 2026-11-21
- Iowa State University Department of Statistics: Centers | Department of Statistics, checked 2026-11-21
Data: Open-Source Forensic Evidence Evaluation Tools and Statistical Methodologies
Original structured compilation comparing open-source forensic evaluation tools, evidence disciplines, statistical algorithms, and software deployment environments, compiled from CSAFE and NIST technical documentation.
Period covered: 2015-2026. Coverage: United States.
| Tool | Discipline | Methodology | Environment | Developer |
|---|---|---|---|---|
| bulletAnalyzr | Firearms and Toolmarks | 3D surface topography and striation cross-correlation | R package / Web application | CSAFE (Iowa State University) |
| Handwriter | Questioned Documents | Bayesian closed-set writer probability estimation | R package | CSAFE (Iowa State University) |
| HyperSample | Seized Drugs | Hypergeometric sampling and composition estimation | Standalone local application | CSAFE |
| shoecomp / shoecomp++ | Footwear Impressions | Point-of-interest alignment and image registration | Application / viewing plugin | CSAFE |
| cmcR | Firearms and Toolmarks | Congruent Matching Cells (CMC) cell-based image correlation | R package | CSAFE / NIST |
| cmpsR | Firearms and Toolmarks | Congruent Matching Profile Segments (CMPS) algorithm | R package | CSAFE / NIST |
| Assocr | Digital and Temporal Evidence | Score-based likelihood ratios and coincidental match probability | R package | CSAFE |
| EviHunter | Digital Forensics | Static analysis of Android application code | Standalone software | CSAFE |
Sources
- CSAFE Open-Source Software Tools (accessed 2026-11-21)
- NIST Forensic Science Research (accessed 2026-11-21)
Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.







