Skip to content

Scientific Analysis of Trial Errors (SATE)

0packages depend
4.2Kdownloads / year
37.7%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 2.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.1.1
READMENoVignettesNoNEWSYes · 33% structured · does not mention 3.1.1Citation fileNoWebsitenot declared in DESCRIPTION
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

4.2K
CRAN downloads in the past year
Rank #10,639 · ~12/day · ~350/mo
Daily download trend is not available in this view yet.
35430 days
98290 days
4.2K1 year
Compare downloads with other packages →
Also on96 r2u5 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
Imports (5)
statsellipsegraphicsMASSsurvey
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.1.0 (2020)
Listed in earlier versions (2)
J.D.
no longer listed · 1.1.0 to 2.1.0
Ph.D.
no longer listed · 1.1.0 to 2.1.0
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.1.1Latest
    record
    2026-03-05 · current release · diff ↗
  • 3.1.0
    record
    2025-11-05 · diff ↗ ·
    added 4 exports
    prob.ordered.verdicts, prob_ord_from_pool, transition.matrix, transition.matrix.ordered
  • R
    R 4.5.0 released · 2025-04-11
  • 2.4.0
    record
    2025-03-04 · diff ↗
  • 2.3.0
    record
    2025-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.1
    record
    2024-12-05 · diff ↗
  • 2.2.0
    record
    2024-09-11 · diff ↗ ·
    added 1 export
    get_pG_by_k
  • R
    R 4.4.0 released · 2024-04-24
  • 2.1.0
    record
    2023-12-21 · diff ↗ ·
    removed 3 exports
    CI90, as.jury.stat, se.prop
    added 8 exports
    as.jury.stats, deliberate, deliberate.civil, graph.effect.defendant, graph.estimate, select.with.strikes, sim.as.jury.stats, sim.compare.jury.stats
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.1.0
    record
    2020-03-24
  • R
    R 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")
Edwards, B. (2026). sate: Scientific Analysis of Trial Errors (SATE) (Version 3.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sate version 3.1.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy