mbeta: Mean and Variance of the Beta Distribution

View source: R/moments.R

mbetaR 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

dbeta

Examples

mbeta(shape1 = 2, shape2 = 3)

DescTools documentation built on April 4, 2025, 1:55 a.m.