Description Usage Arguments Value Author(s) See Also Examples
Create an object representing a Beta-Binomial distribution. This can be used for a Binomial distribution where there is uncertainty about the probability of success, and this uncertainty is represented by a Beta distribution.
1 | betabinomial(n, alpha, beta)
|
n |
the number of trials in the binomial distribution (a positive integer). |
alpha |
the alpha parameter of the underlying Beta distribution. |
beta |
the beta parameter of the underlying Beta distribution. |
An object of class "betabinomial" and class "probabilitydistribution".
Petter Mostad <mostad@chalmers.se>
betadistribution
,
binomialdistribution
,
binomialbeta
1 2 | dist <- betabinomial(10, 5.5, 3.3)
cdf(dist, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.