Description Usage Arguments Details Source Examples
Find the probability that Beta(a, b) > Beta(c, d)
, using either
an exact solution or a normal approximation. Vectorized across
a, b, c and d.
1 |
a |
alpha parameter for first Beta |
b |
beta parameter for second Beta |
c |
alpha parameter for first Beta |
d |
beta parameter for second Beta |
approx |
whether to use a normal approximation to the beta |
log_h |
whether to return |
The "exact" solution is exact only for integer values of c.
The exact version comes from Evan Miller and Chris Stucchio: https://www.chrisstucchio.com/blog/2014/bayesian_ab_decision_rule.html
John D. Cook lays out the normal approximation here: http://www.johndcook.com/fast_beta_inequality.pdf.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.