Description Usage Arguments Details Author(s)
This function will plot the beta distribution under two different
parameterizations. The first one, with alpha
and beta
,
is the usual parameterization of the beta. The second one parameterizes
the beta in terms of its mean and overdispersion. Thus,
either both alpha
and beta
must be specified,
or both mu
and rho
must be specified.
1 |
alpha |
The shape1 parameter. |
beta |
The shape2 parameter. |
mu |
The mean parameter. |
rho |
The overdispersion parameter. |
... |
Anything else you want to pass to |
We have the relationships
μ = α / (α + β)
and
ρ = 1 / (1 + α + β).
Thus, the inverse relationships are
α = μ(1 -ρ) / ρ
and
β = (1 - μ)(1 - ρ) / ρ.
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.