mbeta {DescTools} | R Documentation |
Mean and Variance of the Beta Distribution
Description
Formula:
\mu = \frac{\alpha}{\alpha + \beta}
\mathrm{Var}(X) = \frac{\alpha \cdot \beta}{(\alpha + \beta)^2 (\alpha + \beta + 1)}
Usage
mbeta(shape1, shape2)
Arguments
shape1 |
Alpha parameter |
shape2 |
Beta parameter |
Value
List with mean and variance
See Also
Examples
mbeta(shape1 = 2, shape2 = 3)
[Package DescTools version 0.99.60 Index]