p2beta_diff | R Documentation |
Probability for difference of x or more between two beta distributions
p2beta_diff(x, a1, b1, a2, b2)
x |
value |
a1 |
alpha for first |
b1 |
beta for first |
a2 |
alpha for second |
b2 |
beta for second |
returns the probability of a difference of x or more between two beta distributions. This is a simplification of the original P2beta function simplified for vectorization. Therre is a lot of space here for improved run times.
Randall Henner
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.