R: Scientific Analysis of Trial Errors (SATE)

# Scientific Analysis of Trial Errors (SATE)

## Documentation for package ‘sate’ version 3.1.1

- DESCRIPTION file
- Package NEWS

## Help Pages

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
basic.plot.grid | Creates the shell of a plot showing relationship between jury pool preferences and jury verdict probabilities
compact_harm_plot | Creates the shell of a plot used to display estimate of harm relative to harm threshold
compare.juror.stats | Estimates juror-level differences based on sample statistics (from survey)
compare.jury.stats | Estimates jury-level differences based on juror-level statistics with inferential statistics
deliberate | Deliberation function
deliberate.civil | Deliberation function for civil trials (proposed)
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 jury_n will return a guilty verdict
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
observed.deliberations | Dataset of Observed Deliberations
prob.ordered.verdicts | Absorption probabilities for ordered-category jury models
prob_ord_from_pool | verdict probabilities based on jury pool sentiment for ordered verdict options.
select.with.strikes | Generates the distribution of initial votes for guilty verdict on juries
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
state.demographic.info | State Demographic Information
target.population.demographics | Looks up and returns key demographic statistics for target state to be used for calculating sample weights
transition.matrix | Creates and Returns a Transition Probability Matrix for Deliberating Criminal Jury.
transition.matrix.ordered | Build column-stochastic transition matrix for ordered verdict options
weights_for_population | Calculates survey weights given respondent information and target population demographics