Scientific Analysis of Trial Errors (SATE)
Overview
Bundles functions used to analyze the harmfulness of trial errors in criminal trials. Functions in the Scientific Analysis of Trial Errors ('sate') package help users estimate the probability that a jury will find a defendant guilty given jurors' preferences for a guilty verdict and the uncertainty of that estimate. Users can also compare actual and hypothetical trial conditions to conduct harmful error analysis. The conceptual framework is discussed by Barry Edwards, A Scientific Framework for Analyzing the Harmfulness of Trial Errors, UCLA Criminal Justice Law Review (2024) doi:10.5070/CJ88164341 and Barry Edwards, If The Jury Only Knew: The Effect Of Omitted Mitigation Evidence On The Probability Of A Death Sentence, Virginia Journal of Social Policy & the Law (2025) https://vasocialpolicy.org/wp-content/uploads/2025/05/Edwards-If-The-Jury-Only-Knew.pdf. The relationship between individual jurors' verdict preferences and the probability that a jury returns a guilty verdict has been studied by Davis (1973) doi:10.1037/h0033951; MacCoun & Kerr (1988) doi:10.1037/0022-3514.54.1.21, and Devine et el. (2001) doi:10.1037/1076-8971.7.3.622, among others.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 23
- Examples that run
- 100%21 run in a plain check
- Exported functions with examples
- 95%
- Documented parameters
- 100%
- Return-value docs
- 95%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing sate adds 8 packages (4 with compiled code, 6.4 MB of source tarballs). Heaviest: survey 2.3 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.1.1Latest
- 3.1.02025-11-05 · diff ↗ ·
added 4 exports
prob.ordered.verdicts, prob_ord_from_pool, transition.matrix, transition.matrix.ordered - RR 4.5.0 released · 2025-04-11
- 2.4.02025-03-04 · diff ↗
- 2.3.02025-02-06 · diff ↗ ·
added 7 exports
basic.plot.grid, compact_harm_plot, compare.juror.stats, encode.cloud.respondent.variables, state.demographic.info, target.population.demographics, weights_for_population - 2.2.12024-12-05 · diff ↗
- 2.2.0
- RR 4.4.0 released · 2024-04-24
- 2.1.02023-12-21 · diff ↗ ·
removed 3 exports
CI90, as.jury.stat, se.propadded 8 exports
as.jury.stats, deliberate, deliberate.civil, graph.effect.defendant, graph.estimate, select.with.strikes, sim.as.jury.stats, sim.compare.jury.stats - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.1.02020-03-24
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-24
- Total releases
- 8 / 6 yrs
- License
- CC0
- Minimum R
- ≥ 3.5.0
- Bundled data
- 10 KB / 2 files
- Download size
- 48 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sate")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.