Description Usage Arguments Details Value See Also Examples
Represents a random variable with a Beta distribution.
1 | BetaRV(shape1, shape2)
|
shape1, shape2 |
positive shape parameters of the Beta distribution |
The density of the Beta distribution with parameters shape1 = a and shape2 = b is given by
p(X = x) = \frac{Γ(a+b)}{Γ(a) Γ(b)} x^{a-1} (1-x)^{b-1}.
for 0 < x < 1, a > 0 and b > 0.
The BetaRV
constructor returns a BetaRV
object,
which is a subclass of RV
.
Other random variables defined in this package
include GammaRV
, DirichletRV
and ShiftedNegBinomRV
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.