Package: sate 2.3.0

Barry Edwards

sate: Scientific Analysis of Trial Errors (SATE)

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) <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.

Authors:Barry Edwards [aut, cre]

sate_2.3.0.tar.gz
sate_2.3.0.tar.gz(r-4.5-noble)sate_2.3.0.tar.gz(r-4.4-noble)
sate_2.3.0.tgz(r-4.4-emscripten)sate_2.3.0.tgz(r-4.3-emscripten)
sate.pdf |sate.html
sate/json (API)
NEWS

# Install 'sate' in R:
install.packages('sate', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.48 score 207 downloads 1 mentions 18 exports 12 dependencies

Last updated 14 days agofrom:ea47be7174. Checks:2 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 06 2025
R-4.5-linuxOKFeb 06 2025

Exports:as.jury.pointas.jury.statsbasic.plot.gridcompact_harm_plotcompare.juror.statscompare.jury.statsdeliberatedeliberate.civilencode.cloud.respondent.variablesget_pG_by_kgraph.effect.defendantgraph.estimateselect.with.strikessim.as.jury.statssim.compare.jury.statsstate.demographic.infotarget.population.demographicsweights_for_population

Dependencies:DBIellipselatticeMASSMatrixminqamitoolsnumDerivRcppRcppArmadillosurveysurvival

Readme and manuals

Help Manual

Help pageTopics
Calculates probability a jury will find defendant guilty based on juror preferencesas.jury.point
Calculates probability a jury will find defendant guilty based on juror preferences, with standard error and confidence intervalas.jury.stats
Creates the shell of a plot showing relationship between jury pool preferences and jury verdict probabilitiesbasic.plot.grid
Creates the shell of a plot used to display estimate of harm relative to harm thresholdcompact_harm_plot
Estimates juror-level differences based on sample statistics (from survey)compare.juror.stats
Estimates jury-level differences based on juror-level statistics with inferential statisticscompare.jury.stats
Deliberation functiondeliberate
Deliberation function for civil trials (proposed)deliberate.civil
Encodes Cloud Research respondent information in form suitable for calculating sampling weightsencode.cloud.respondent.variables
Calculates vector of probabilities that jury with n_jurors will return a guilty verdictget_pG_by_k
Plots jury-level differences based on juror-level statistics with effect-on-defendant displayedgraph.effect.defendant
Plots probability of a guilty verdict with confidence interval based on juror-level statisticsgraph.estimate
Generates the distribution of initial votes for guilty verdict on juriesselect.with.strikes
Estimates jury-level probability of guilty verdict based on juror-level statistics based on empirical datasim.as.jury.stats
Estimates jury-level differences based on juror-level statistics using simulations based on empirical datasim.compare.jury.stats
State Demographic Informationstate.demographic.info
Looks up and returns key demographic statistics for target state to be used for calculating sample weightstarget.population.demographics
Calculates survey weights given respondent information and target population demographicsweights_for_population