Description Usage Arguments Value Examples
Calculates jury-level statistics based on user-defined inputs.
1 | as.jury.stat(pg, n, seed = NULL, ndraw = 1e+05)
|
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). |
Returns a list of jury-level statistics
1 2 3 | as.jury.stat(pg=.50, n=500)
as.jury.stat(pg=10/12, n=1200, seed=123, ndraw=10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.