Learn R Programming

Distributacalcul (version 0.2.2)

E_beta: Expected value of the Beta distribution

Description

Expected value of the Beta distribution with shape parameters \(\alpha\) and \(\beta\).

Usage

E_beta(shape1, shape2)

Arguments

shape1

shape parameter \(\alpha\), must be positive.

shape2

shape parameter \(\beta\), must be positive.

Value

Function :

Invalid parameter values will return an error detailing which parameter is problematic.

Details

The Beta distribution with shape parameters \(\alpha\) and \(\beta\) has density: $$f\left(x\right) = \frac{\Gamma(\alpha + \beta)}{\Gamma(\alpha) % \Gamma(\beta)} x^{\alpha - 1} (1 - x)^(\beta - 1)$$ for \(x \in [0, 1]\), \(\alpha, \beta > 0\).

See Also

Other Beta Distribution: Elim_beta(), Etronq_beta(), MGF_beta(), Mexcess_beta(), SL_beta(), TVaR_beta(), V_beta(), VaR_beta(), kthmoment_beta()

Examples

Run this code
# NOT RUN {
E_beta(shape1 = 3, shape2 = 5)

# }

Run the code above in your browser using DataLab