Learn R Programming

sate (version 2.4.0)

Scientific Analysis of Trial Errors (SATE)

Description

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 relationship between individual jurors' verdict preferences and the probability that a jury returns a guilty verdict has been studied by Davis (1973) ; MacCoun & Kerr (1988) , and Devine et el. (2001) , among others.

Copy Link

Version

Install

install.packages('sate')

Monthly Downloads

202

Version

2.4.0

License

CC0

Maintainer

Barry Edwards

Last Published

March 4th, 2025

Functions in sate (2.4.0)

compare.jury.stats

Estimates jury-level differences based on juror-level statistics with inferential statistics
weights_for_population

Calculates survey weights given respondent information and target population demographics
select.with.strikes

Generates the distribution of initial votes for guilty verdict on juries
graph.effect.defendant

Plots jury-level differences based on juror-level statistics with effect-on-defendant displayed
graph.estimate

Plots probability of a guilty verdict with confidence interval based on juror-level statistics
basic.plot.grid

Creates the shell of a plot showing relationship between jury pool preferences and jury verdict probabilities
observed.deliberations

Dataset of Observed Deliberations
compact_harm_plot

Creates the shell of a plot used to display estimate of harm relative to harm threshold
target.population.demographics

Looks up and returns key demographic statistics for target state to be used for calculating sample weights
state.demographic.info

State Demographic Information
as.jury.point

Calculates probability a jury will find defendant guilty based on juror preferences
as.jury.stats

Calculates probability a jury will find defendant guilty based on juror preferences, with standard error and confidence interval
sim.as.jury.stats

Estimates jury-level probability of guilty verdict based on juror-level statistics based on empirical data
sim.compare.jury.stats

Estimates jury-level differences based on juror-level statistics using simulations based on empirical data
deliberate.civil

Deliberation function for civil trials (proposed)
compare.juror.stats

Estimates juror-level differences based on sample statistics (from survey)
deliberate

Deliberation function
encode.cloud.respondent.variables

Encodes Cloud Research respondent information in form suitable for calculating sampling weights
get_pG_by_k

Calculates vector of probabilities that jury with n_jurors will return a guilty verdict