Description Usage Arguments Value Functions
p_fake_any_fair()
's only purpose is to use it for creating the other
functions.
1 2 3 4 5 6 7 | p_fake_any_fair(comparator, N)
p_fake_gt_fair(...)
p_fake_eq_fair(...)
p_fake_lt_fair(...)
|
comparator |
A function that takes two arguments and returns a boolean value for each of them. |
N |
The number of tirals. |
A probability.
p_fake_gt_fair
: Returns the probability that we have a higher
head count for the fake than for the fair coun after N
trials.
p_fake_eq_fair
: Returns the probability that we have the same
head count for the fake and for the fair coun after N
trials.
p_fake_lt_fair
: Returns the probability that we have a lower
head count for the fake than for the fair coun after N
trials.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.