as.jury.stat: Calculates jury-level statistics

Description Usage Arguments Value Examples

View source: R/as.jury.stat.r

Description

Calculates jury-level statistics based on user-defined inputs.

Usage

1
as.jury.stat(pg, n, seed = NULL, ndraw = 1e+05)

Arguments

pg

The proportion of jurors who favor a guilty verdict.

n

The size of the sample used to estimate pg.

seed

Set seed for random number generation for replication, default is NULL (optional).

ndraw

The number of simulations used to generate results. Should be very large number (default = 100000).

Value

Returns a list of jury-level statistics

Examples

1
2
3
   as.jury.stat(pg=.50, n=500)

   as.jury.stat(pg=10/12, n=1200, seed=123, ndraw=10000)

sate documentation built on March 24, 2020, 5:08 p.m.

Related to as.jury.stat in sate...