compare.juror.stats: Estimates juror-level differences based on sample statistics...

View source: R/compare.juror.stats.R

compare.juror.statsR Documentation

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

Description

Calculates juror-level statistics and differences based on sample statistics (from a survey) supplied by user.

Usage

compare.juror.stats(pg_actual, n_actual, pg_hypo, n_hypo, digits = 3)

Arguments

pg_actual

The proportion of jurors who favor a guilty verdict in the actual trial condition (the trial with error).

n_actual

The size of the sample used to estimate pg_actual.

pg_hypo

The proportion of jurors who favor a guilty verdict in the hypothetical trial condition (the fair trial without error).

n_hypo

The size of the sample used to estimate pg_hypo.

digits

Number of digits to report after decimal places; default value is 3.

Value

Returns a list of juror-level statistics to assess the effect of a trial error or omission on juror preferences. Returned list includes statistics for the actual trial, the hypothetical trial, and the difference between them.

Examples

   library(sate)
   compare.juror.stats(pg_actual=.70, n_actual=400, pg_hypo=.60, n_hypo=450)

   compare.juror.stats(pg_actual=.75, n_actual=450, pg_hypo=.65, n_hypo=350)

sate documentation built on April 3, 2025, 11:14 p.m.