get_pG_by_k | R Documentation |
Calculates a vector probabilities that a jury with n_jurors will return a guilty verdict. The vector represents P(G|k) for 0, 1, 2, ... , n_jurors where k is the number of jurors initially in favor of guilty verdict.
get_pG_by_k(n_jurors = 6)
n_jurors |
Size of the jury (i.e. 6, 8, or 12); default value is 6. |
Returns a vector of probabilities for guilty verdict of size n_jurors + 1.
library(sate)
get_pG_by_k(10)
get_pG_by_k(n_jurors=12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.